Class: Google::Apis::GkeonpremV1::BareMetalStorageConfig
- Inherits:
-
Object
- Object
- Google::Apis::GkeonpremV1::BareMetalStorageConfig
- 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
Overview
BareMetalStorageConfig 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) ⇒ BareMetalStorageConfig
constructor
A new instance of BareMetalStorageConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BareMetalStorageConfig
Returns a new instance of BareMetalStorageConfig.
1997 1998 1999 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1997 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
1990 1991 1992 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1990 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
1995 1996 1997 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1995 def lvp_share_config @lvp_share_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2002 2003 2004 2005 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 2002 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 |