Class: Google::Apis::MigrationcenterV1::SoleTenantNodeType
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1::SoleTenantNodeType
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/migrationcenter_v1/classes.rb,
lib/google/apis/migrationcenter_v1/representations.rb,
lib/google/apis/migrationcenter_v1/representations.rb
Overview
A Sole Tenant node type.
Instance Attribute Summary collapse
-
#node_name ⇒ String
Name of the Sole Tenant node.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SoleTenantNodeType
constructor
A new instance of SoleTenantNodeType.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SoleTenantNodeType
Returns a new instance of SoleTenantNodeType.
4662 4663 4664 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4662 def initialize(**args) update!(**args) end |
Instance Attribute Details
#node_name ⇒ String
Name of the Sole Tenant node. Consult https://cloud.google.com/compute/docs/
nodes/sole-tenant-nodes
Corresponds to the JSON property nodeName
4660 4661 4662 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4660 def node_name @node_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4667 4668 4669 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4667 def update!(**args) @node_name = args[:node_name] if args.key?(:node_name) end |