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
-
#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.
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.
3858 3859 3860 |
# File 'lib/google/apis/container_v1/classes.rb', line 3858 def initialize(**args) update!(**args) end |
Instance Attribute Details
#gcfs_config ⇒ Google::Apis::ContainerV1::GcfsConfig
GcfsConfig contains configurations of Google Container File System (image
streaming).
Corresponds to the JSON property gcfsConfig
3851 3852 3853 |
# File 'lib/google/apis/container_v1/classes.rb', line 3851 def gcfs_config @gcfs_config end |
#logging_config ⇒ Google::Apis::ContainerV1::NodePoolLoggingConfig
NodePoolLoggingConfig specifies logging configuration for nodepools.
Corresponds to the JSON property loggingConfig
3856 3857 3858 |
# File 'lib/google/apis/container_v1/classes.rb', line 3856 def logging_config @logging_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3863 3864 3865 3866 |
# File 'lib/google/apis/container_v1/classes.rb', line 3863 def update!(**args) @gcfs_config = args[:gcfs_config] if args.key?(:gcfs_config) @logging_config = args[:logging_config] if args.key?(:logging_config) end |