Class: Google::Apis::GkeonpremV1::VmwareControlPlaneVsphereConfig

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VmwareControlPlaneVsphereConfig

Returns a new instance of VmwareControlPlaneVsphereConfig.



5111
5112
5113
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5111

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#datastoreString

The Vsphere datastore used by the control plane Node. Corresponds to the JSON property datastore

Returns:

  • (String)


5104
5105
5106
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5104

def datastore
  @datastore
end

#storage_policy_nameString

The Vsphere storage policy used by the control plane Node. Corresponds to the JSON property storagePolicyName

Returns:

  • (String)


5109
5110
5111
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5109

def storage_policy_name
  @storage_policy_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5116
5117
5118
5119
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5116

def update!(**args)
  @datastore = args[:datastore] if args.key?(:datastore)
  @storage_policy_name = args[:storage_policy_name] if args.key?(:storage_policy_name)
end