Class: Google::Apis::GkeonpremV1::VmwareVsphereConfig

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

VmwareVsphereConfig represents configuration for the VMware VCenter for node pool.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VmwareVsphereConfig

Returns a new instance of VmwareVsphereConfig.



5034
5035
5036
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5034

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

Instance Attribute Details

#datastoreString

The name of the vCenter datastore. Inherited from the user cluster. Corresponds to the JSON property datastore

Returns:

  • (String)


5027
5028
5029
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5027

def datastore
  @datastore
end

#tagsArray<Google::Apis::GkeonpremV1::VmwareVsphereTag>

Tags to apply to VMs. Corresponds to the JSON property tags



5032
5033
5034
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5032

def tags
  @tags
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5039
5040
5041
5042
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5039

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