Class: Google::Apis::GkeonpremV1::BareMetalLvpShareConfig
- Inherits:
-
Object
- Object
- Google::Apis::GkeonpremV1::BareMetalLvpShareConfig
- 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
Specifies the configs for local persistent volumes under a shared file system.
Instance Attribute Summary collapse
-
#lvp_config ⇒ Google::Apis::GkeonpremV1::BareMetalLvpConfig
Specifies the configs for local persistent volumes (PVs).
-
#shared_path_pv_count ⇒ Fixnum
The number of subdirectories to create under path.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BareMetalLvpShareConfig
constructor
A new instance of BareMetalLvpShareConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BareMetalLvpShareConfig
Returns a new instance of BareMetalLvpShareConfig.
1449 1450 1451 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1449 def initialize(**args) update!(**args) end |
Instance Attribute Details
#lvp_config ⇒ Google::Apis::GkeonpremV1::BareMetalLvpConfig
Specifies the configs for local persistent volumes (PVs).
Corresponds to the JSON property lvpConfig
1442 1443 1444 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1442 def lvp_config @lvp_config end |
#shared_path_pv_count ⇒ Fixnum
The number of subdirectories to create under path.
Corresponds to the JSON property sharedPathPvCount
1447 1448 1449 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1447 def shared_path_pv_count @shared_path_pv_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1454 1455 1456 1457 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1454 def update!(**args) @lvp_config = args[:lvp_config] if args.key?(:lvp_config) @shared_path_pv_count = args[:shared_path_pv_count] if args.key?(:shared_path_pv_count) end |