Class: Google::Apis::GkeonpremV1::BareMetalAdminStorageConfig
- Inherits:
-
Object
- Object
- Google::Apis::GkeonpremV1::BareMetalAdminStorageConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkeonprem_v1/classes.rb,
lib/google/apis/gkeonprem_v1/representations.rb,
lib/google/apis/gkeonprem_v1/representations.rb more...
Overview
BareMetalAdminStorageConfig specifies the cluster storage configuration.
Instance Attribute Summary collapse
-
#lvp_node_mounts_config ⇒ Google::Apis::GkeonpremV1::BareMetalLvpConfig
Specifies the configs for local persistent volumes (PVs).
-
#lvp_share_config ⇒ Google::Apis::GkeonpremV1::BareMetalLvpShareConfig
Specifies the configs for local persistent volumes under a shared file system.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BareMetalAdminStorageConfig
constructor
A new instance of BareMetalAdminStorageConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BareMetalAdminStorageConfig
Returns a new instance of BareMetalAdminStorageConfig.
702 703 704 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 702 def initialize(**args) update!(**args) end |
Instance Attribute Details
#lvp_node_mounts_config ⇒ Google::Apis::GkeonpremV1::BareMetalLvpConfig
Specifies the configs for local persistent volumes (PVs).
Corresponds to the JSON property lvpNodeMountsConfig
695 696 697 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 695 def lvp_node_mounts_config @lvp_node_mounts_config end |
#lvp_share_config ⇒ Google::Apis::GkeonpremV1::BareMetalLvpShareConfig
Specifies the configs for local persistent volumes under a shared file system.
Corresponds to the JSON property lvpShareConfig
700 701 702 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 700 def lvp_share_config @lvp_share_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
707 708 709 710 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 707 def update!(**args) @lvp_node_mounts_config = args[:lvp_node_mounts_config] if args.key?(:lvp_node_mounts_config) @lvp_share_config = args[:lvp_share_config] if args.key?(:lvp_share_config) end |