Class: Google::Apis::ComputeV1::ReservationBlockPhysicalTopologyInstance
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::ReservationBlockPhysicalTopologyInstance
- 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_id ⇒ Fixnum
The InstanceId of the instance Corresponds to the JSON property
instanceId. -
#physical_host_topology ⇒ Google::Apis::ComputeV1::ReservationBlockPhysicalTopologyInstancePhysicalHostTopology
The PhysicalHostTopology of the instance within a Block resource.
-
#project_id ⇒ Fixnum
Project where the instance lives Corresponds to the JSON property
projectId.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReservationBlockPhysicalTopologyInstance
constructor
A new instance of ReservationBlockPhysicalTopologyInstance.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ReservationBlockPhysicalTopologyInstance
Returns a new instance of ReservationBlockPhysicalTopologyInstance.
42683 42684 42685 |
# File 'lib/google/apis/compute_v1/classes.rb', line 42683 def initialize(**args) update!(**args) end |
Instance Attribute Details
#instance_id ⇒ Fixnum
The InstanceId of the instance
Corresponds to the JSON property instanceId
42671 42672 42673 |
# File 'lib/google/apis/compute_v1/classes.rb', line 42671 def instance_id @instance_id end |
#physical_host_topology ⇒ Google::Apis::ComputeV1::ReservationBlockPhysicalTopologyInstancePhysicalHostTopology
The PhysicalHostTopology of the instance within a Block resource.
Corresponds to the JSON property physicalHostTopology
42676 42677 42678 |
# File 'lib/google/apis/compute_v1/classes.rb', line 42676 def physical_host_topology @physical_host_topology end |
#project_id ⇒ Fixnum
Project where the instance lives
Corresponds to the JSON property projectId
42681 42682 42683 |
# File 'lib/google/apis/compute_v1/classes.rb', line 42681 def project_id @project_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
42688 42689 42690 42691 42692 |
# File 'lib/google/apis/compute_v1/classes.rb', line 42688 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 |