Class: Google::Apis::ContainerV1::NodePoolLoggingConfig

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

NodePoolLoggingConfig specifies logging configuration for nodepools.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ NodePoolLoggingConfig

Returns a new instance of NodePoolLoggingConfig.



4914
4915
4916
# File 'lib/google/apis/container_v1/classes.rb', line 4914

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

Instance Attribute Details

#variant_configGoogle::Apis::ContainerV1::LoggingVariantConfig

LoggingVariantConfig specifies the behaviour of the logging component. Corresponds to the JSON property variantConfig



4912
4913
4914
# File 'lib/google/apis/container_v1/classes.rb', line 4912

def variant_config
  @variant_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4919
4920
4921
# File 'lib/google/apis/container_v1/classes.rb', line 4919

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