Class: Google::Apis::ContainerV1::NodeConfigDefaults

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

Subset of NodeConfig message that has defaults.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ NodeConfigDefaults

Returns a new instance of NodeConfigDefaults.



3320
3321
3322
# File 'lib/google/apis/container_v1/classes.rb', line 3320

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

Instance Attribute Details

#gcfs_configGoogle::Apis::ContainerV1::GcfsConfig

GcfsConfig contains configurations of Google Container File System (image streaming). Corresponds to the JSON property gcfsConfig



3313
3314
3315
# File 'lib/google/apis/container_v1/classes.rb', line 3313

def gcfs_config
  @gcfs_config
end

#logging_configGoogle::Apis::ContainerV1::NodePoolLoggingConfig

NodePoolLoggingConfig specifies logging configuration for nodepools. Corresponds to the JSON property loggingConfig



3318
3319
3320
# File 'lib/google/apis/container_v1/classes.rb', line 3318

def logging_config
  @logging_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3325
3326
3327
3328
# File 'lib/google/apis/container_v1/classes.rb', line 3325

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