Class: Google::Apis::GkeonpremV1::VmwareControlPlaneVsphereConfig
- Inherits:
-
Object
- Object
- Google::Apis::GkeonpremV1::VmwareControlPlaneVsphereConfig
- 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 control plane node config.
Instance Attribute Summary collapse
-
#datastore ⇒ String
The Vsphere datastore used by the control plane Node.
-
#storage_policy_name ⇒ String
The Vsphere storage policy used by the control plane Node.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VmwareControlPlaneVsphereConfig
constructor
A new instance of VmwareControlPlaneVsphereConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VmwareControlPlaneVsphereConfig
Returns a new instance of VmwareControlPlaneVsphereConfig.
4440 4441 4442 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4440 def initialize(**args) update!(**args) end |
Instance Attribute Details
#datastore ⇒ String
The Vsphere datastore used by the control plane Node.
Corresponds to the JSON property datastore
4433 4434 4435 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4433 def datastore @datastore end |
#storage_policy_name ⇒ String
The Vsphere storage policy used by the control plane Node.
Corresponds to the JSON property storagePolicyName
4438 4439 4440 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4438 def storage_policy_name @storage_policy_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4445 4446 4447 4448 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4445 def update!(**args) @datastore = args[:datastore] if args.key?(:datastore) @storage_policy_name = args[:storage_policy_name] if args.key?(:storage_policy_name) end |