Class: Google::Apis::ContainerV1::LoggingComponentConfig
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1::LoggingComponentConfig
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/container_v1/classes.rb,
lib/google/apis/container_v1/representations.rb,
lib/google/apis/container_v1/representations.rb
Overview
LoggingComponentConfig is cluster logging component configuration.
Instance Attribute Summary collapse
-
#enable_components ⇒ Array<String>
Select components to collect logs.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LoggingComponentConfig
constructor
A new instance of LoggingComponentConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LoggingComponentConfig
Returns a new instance of LoggingComponentConfig.
3483 3484 3485 |
# File 'lib/google/apis/container_v1/classes.rb', line 3483 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enable_components ⇒ Array<String>
Select components to collect logs. An empty set would disable all logging.
Corresponds to the JSON property enableComponents
3481 3482 3483 |
# File 'lib/google/apis/container_v1/classes.rb', line 3481 def enable_components @enable_components end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3488 3489 3490 |
# File 'lib/google/apis/container_v1/classes.rb', line 3488 def update!(**args) @enable_components = args[:enable_components] if args.key?(:enable_components) end |