Class: Google::Apis::ComputeBeta::ReservationBlockPhysicalTopologyInstance

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_beta/classes.rb,
lib/google/apis/compute_beta/representations.rb,
lib/google/apis/compute_beta/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.



49620
49621
49622
# File 'lib/google/apis/compute_beta/classes.rb', line 49620

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

Instance Attribute Details

#instance_idFixnum

The InstanceId of the instance Corresponds to the JSON property instanceId

Returns:

  • (Fixnum)


49608
49609
49610
# File 'lib/google/apis/compute_beta/classes.rb', line 49608

def instance_id
  @instance_id
end

#physical_host_topologyGoogle::Apis::ComputeBeta::ReservationBlockPhysicalTopologyInstancePhysicalHostTopology

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



49613
49614
49615
# File 'lib/google/apis/compute_beta/classes.rb', line 49613

def physical_host_topology
  @physical_host_topology
end

#project_idFixnum

Project where the instance lives Corresponds to the JSON property projectId

Returns:

  • (Fixnum)


49618
49619
49620
# File 'lib/google/apis/compute_beta/classes.rb', line 49618

def project_id
  @project_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



49625
49626
49627
49628
49629
# File 'lib/google/apis/compute_beta/classes.rb', line 49625

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