Class: Google::Apis::NetworkservicesV1::MulticastLogConfig
- Inherits:
-
Object
- Object
- Google::Apis::NetworkservicesV1::MulticastLogConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/networkservices_v1/classes.rb,
lib/google/apis/networkservices_v1/representations.rb,
lib/google/apis/networkservices_v1/representations.rb
Overview
The logging configuration.
Instance Attribute Summary collapse
-
#enabled ⇒ Boolean
(also: #enabled?)
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MulticastLogConfig
constructor
A new instance of MulticastLogConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MulticastLogConfig
Returns a new instance of MulticastLogConfig.
4053 4054 4055 |
# File 'lib/google/apis/networkservices_v1/classes.rb', line 4053 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enabled ⇒ Boolean Also known as: enabled?
Optional. Whether to enable logging or not.
Corresponds to the JSON property enabled
4050 4051 4052 |
# File 'lib/google/apis/networkservices_v1/classes.rb', line 4050 def enabled @enabled end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4058 4059 4060 |
# File 'lib/google/apis/networkservices_v1/classes.rb', line 4058 def update!(**args) @enabled = args[:enabled] if args.key?(:enabled) end |