Class: Google::Apis::GkeonpremV1::VmwareVsphereTag
- Inherits:
-
Object
- Object
- Google::Apis::GkeonpremV1::VmwareVsphereTag
- 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
VmwareVsphereTag describes a vSphere tag to be placed on VMs in the node pool. For more information, see https://docs.vmware.com/en/VMware-vSphere/7.0/com. vmware.vsphere.vcenterhost.doc/GUID-E8E854DD-AA97-4E0C-8419-CE84F93C4058.html
Instance Attribute Summary collapse
-
#category ⇒ String
The Vsphere tag category.
-
#tag ⇒ String
The Vsphere tag name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VmwareVsphereTag
constructor
A new instance of VmwareVsphereTag.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VmwareVsphereTag
Returns a new instance of VmwareVsphereTag.
5748 5749 5750 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5748 def initialize(**args) update!(**args) end |
Instance Attribute Details
#category ⇒ String
The Vsphere tag category.
Corresponds to the JSON property category
5741 5742 5743 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5741 def category @category end |
#tag ⇒ String
The Vsphere tag name.
Corresponds to the JSON property tag
5746 5747 5748 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5746 def tag @tag end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5753 5754 5755 5756 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5753 def update!(**args) @category = args[:category] if args.key?(:category) @tag = args[:tag] if args.key?(:tag) end |