Class: Google::Apis::ContainerV1::NodeConfigDefaults
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1::NodeConfigDefaults
- 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
-
#containerd_config ⇒ Google::Apis::ContainerV1::ContainerdConfig
ContainerdConfig contains configuration to customize containerd.
-
#gcfs_config ⇒ Google::Apis::ContainerV1::GcfsConfig
GcfsConfig contains configurations of Google Container File System (image streaming).
-
#logging_config ⇒ Google::Apis::ContainerV1::NodePoolLoggingConfig
NodePoolLoggingConfig specifies logging configuration for nodepools.
-
#node_kubelet_config ⇒ Google::Apis::ContainerV1::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.
4657 4658 4659 |
# File 'lib/google/apis/container_v1/classes.rb', line 4657 def initialize(**args) update!(**args) end |
Instance Attribute Details
#containerd_config ⇒ Google::Apis::ContainerV1::ContainerdConfig
ContainerdConfig contains configuration to customize containerd.
Corresponds to the JSON property containerdConfig
4639 4640 4641 |
# File 'lib/google/apis/container_v1/classes.rb', line 4639 def containerd_config @containerd_config end |
#gcfs_config ⇒ Google::Apis::ContainerV1::GcfsConfig
GcfsConfig contains configurations of Google Container File System (image
streaming).
Corresponds to the JSON property gcfsConfig
4645 4646 4647 |
# File 'lib/google/apis/container_v1/classes.rb', line 4645 def gcfs_config @gcfs_config end |
#logging_config ⇒ Google::Apis::ContainerV1::NodePoolLoggingConfig
NodePoolLoggingConfig specifies logging configuration for nodepools.
Corresponds to the JSON property loggingConfig
4650 4651 4652 |
# File 'lib/google/apis/container_v1/classes.rb', line 4650 def logging_config @logging_config end |
#node_kubelet_config ⇒ Google::Apis::ContainerV1::NodeKubeletConfig
Node kubelet configs.
Corresponds to the JSON property nodeKubeletConfig
4655 4656 4657 |
# File 'lib/google/apis/container_v1/classes.rb', line 4655 def node_kubelet_config @node_kubelet_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4662 4663 4664 4665 4666 4667 |
# File 'lib/google/apis/container_v1/classes.rb', line 4662 def update!(**args) @containerd_config = args[:containerd_config] if args.key?(:containerd_config) @gcfs_config = args[:gcfs_config] if args.key?(:gcfs_config) @logging_config = args[:logging_config] if args.key?(:logging_config) @node_kubelet_config = args[:node_kubelet_config] if args.key?(:node_kubelet_config) end |