Class: Google::Apis::ContainerV1::LoggingConfig

Inherits:
Object
  • Object
show all
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

LoggingConfig is cluster logging configuration.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LoggingConfig

Returns a new instance of LoggingConfig.



2241
2242
2243
# File 'lib/google/apis/container_v1/classes.rb', line 2241

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#component_configGoogle::Apis::ContainerV1::LoggingComponentConfig

LoggingComponentConfig is cluster logging component configuration. Corresponds to the JSON property componentConfig



2239
2240
2241
# File 'lib/google/apis/container_v1/classes.rb', line 2239

def component_config
  @component_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2246
2247
2248
# File 'lib/google/apis/container_v1/classes.rb', line 2246

def update!(**args)
  @component_config = args[:component_config] if args.key?(:component_config)
end