Class: Google::Apis::ContainerV1beta1::NodeConfigDefaults

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/container_v1beta1/classes.rb,
lib/google/apis/container_v1beta1/representations.rb,
lib/google/apis/container_v1beta1/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.



4610
4611
4612
# File 'lib/google/apis/container_v1beta1/classes.rb', line 4610

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

Instance Attribute Details

#gcfs_configGoogle::Apis::ContainerV1beta1::GcfsConfig

GcfsConfig contains configurations of Google Container File System. Corresponds to the JSON property gcfsConfig



4597
4598
4599
# File 'lib/google/apis/container_v1beta1/classes.rb', line 4597

def gcfs_config
  @gcfs_config
end

#host_maintenance_policyGoogle::Apis::ContainerV1beta1::HostMaintenancePolicy

HostMaintenancePolicy contains the maintenance policy for the hosts on which the GKE VMs run on. Corresponds to the JSON property hostMaintenancePolicy



4603
4604
4605
# File 'lib/google/apis/container_v1beta1/classes.rb', line 4603

def host_maintenance_policy
  @host_maintenance_policy
end

#logging_configGoogle::Apis::ContainerV1beta1::NodePoolLoggingConfig

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



4608
4609
4610
# File 'lib/google/apis/container_v1beta1/classes.rb', line 4608

def logging_config
  @logging_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4615
4616
4617
4618
4619
# File 'lib/google/apis/container_v1beta1/classes.rb', line 4615

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