Class: Google::Apis::ComputeV1::ReservationBlockPhysicalTopologyInstance

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

Overview

The instances information for a given Block

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ReservationBlockPhysicalTopologyInstance

Returns a new instance of ReservationBlockPhysicalTopologyInstance.



46946
46947
46948
# File 'lib/google/apis/compute_v1/classes.rb', line 46946

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

Instance Attribute Details

#instance_idFixnum

The InstanceId of the instance Corresponds to the JSON property instanceId

Returns:

  • (Fixnum)


46934
46935
46936
# File 'lib/google/apis/compute_v1/classes.rb', line 46934

def instance_id
  @instance_id
end

#physical_host_topologyGoogle::Apis::ComputeV1::ReservationBlockPhysicalTopologyInstancePhysicalHostTopology

The PhysicalHostTopology of the instance within a Block resource. Corresponds to the JSON property physicalHostTopology



46939
46940
46941
# File 'lib/google/apis/compute_v1/classes.rb', line 46939

def physical_host_topology
  @physical_host_topology
end

#project_idFixnum

Project where the instance lives Corresponds to the JSON property projectId

Returns:

  • (Fixnum)


46944
46945
46946
# File 'lib/google/apis/compute_v1/classes.rb', line 46944

def project_id
  @project_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



46951
46952
46953
46954
46955
# File 'lib/google/apis/compute_v1/classes.rb', line 46951

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