Class: Google::Apis::ContainerV1beta1::NodeConfigDefaults
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1beta1::NodeConfigDefaults
- 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
-
#containerd_config ⇒ Google::Apis::ContainerV1beta1::ContainerdConfig
ContainerdConfig contains configuration to customize containerd.
-
#gcfs_config ⇒ Google::Apis::ContainerV1beta1::GcfsConfig
GcfsConfig contains configurations of Google Container File System.
-
#host_maintenance_policy ⇒ Google::Apis::ContainerV1beta1::HostMaintenancePolicy
HostMaintenancePolicy contains the maintenance policy for the hosts on which the GKE VMs run on.
-
#logging_config ⇒ Google::Apis::ContainerV1beta1::NodePoolLoggingConfig
NodePoolLoggingConfig specifies logging configuration for nodepools.
-
#node_kubelet_config ⇒ Google::Apis::ContainerV1beta1::NodeKubeletConfig
Node kubelet configs.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NodeConfigDefaults
constructor
A new instance of NodeConfigDefaults.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ NodeConfigDefaults
Returns a new instance of NodeConfigDefaults.
6411 6412 6413 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 6411 def initialize(**args) update!(**args) end |
Instance Attribute Details
#containerd_config ⇒ Google::Apis::ContainerV1beta1::ContainerdConfig
ContainerdConfig contains configuration to customize containerd.
Corresponds to the JSON property containerdConfig
6388 6389 6390 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 6388 def containerd_config @containerd_config end |
#gcfs_config ⇒ Google::Apis::ContainerV1beta1::GcfsConfig
GcfsConfig contains configurations of Google Container File System.
Corresponds to the JSON property gcfsConfig
6393 6394 6395 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 6393 def gcfs_config @gcfs_config end |
#host_maintenance_policy ⇒ Google::Apis::ContainerV1beta1::HostMaintenancePolicy
HostMaintenancePolicy contains the maintenance policy for the hosts on which
the GKE VMs run on.
Corresponds to the JSON property hostMaintenancePolicy
6399 6400 6401 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 6399 def host_maintenance_policy @host_maintenance_policy end |
#logging_config ⇒ Google::Apis::ContainerV1beta1::NodePoolLoggingConfig
NodePoolLoggingConfig specifies logging configuration for nodepools.
Corresponds to the JSON property loggingConfig
6404 6405 6406 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 6404 def logging_config @logging_config end |
#node_kubelet_config ⇒ Google::Apis::ContainerV1beta1::NodeKubeletConfig
Node kubelet configs.
Corresponds to the JSON property nodeKubeletConfig
6409 6410 6411 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 6409 def node_kubelet_config @node_kubelet_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6416 6417 6418 6419 6420 6421 6422 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 6416 def update!(**args) @containerd_config = args[:containerd_config] if args.key?(:containerd_config) @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) @node_kubelet_config = args[:node_kubelet_config] if args.key?(:node_kubelet_config) end |