Class: Google::Apis::MigrationcenterV1alpha1::SoleTenantNodeType

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/migrationcenter_v1alpha1/classes.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb

Overview

A Sole Tenant node type.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SoleTenantNodeType

Returns a new instance of SoleTenantNodeType.



4497
4498
4499
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4497

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

Instance Attribute Details

#node_nameString

Name of the Sole Tenant node. Consult https://cloud.google.com/compute/docs/ nodes/sole-tenant-nodes Corresponds to the JSON property nodeName

Returns:

  • (String)


4495
4496
4497
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4495

def node_name
  @node_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4502
4503
4504
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4502

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