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
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.
1640 1641 1642 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1640 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
1633 1634 1635 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1633 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
1638 1639 1640 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1638 def shared_path_pv_count @shared_path_pv_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1645 1646 1647 1648 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1645 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 |