Class: Google::Apis::ComputeV1::ReservationSlotStatus

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ReservationSlotStatus

Returns a new instance of ReservationSlotStatus.



44007
44008
44009
# File 'lib/google/apis/compute_v1/classes.rb', line 44007

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

Instance Attribute Details

#physical_topologyGoogle::Apis::ComputeV1::ReservationSlotPhysicalTopology

Output only. [Output Only] The physical topology of the reservation sub-block. Corresponds to the JSON property physicalTopology



43995
43996
43997
# File 'lib/google/apis/compute_v1/classes.rb', line 43995

def physical_topology
  @physical_topology
end

#rdma_ip_addressesArray<String>

Output only. The RDMA IP address of the physical host. Corresponds to the JSON property rdmaIpAddresses

Returns:

  • (Array<String>)


44000
44001
44002
# File 'lib/google/apis/compute_v1/classes.rb', line 44000

def rdma_ip_addresses
  @rdma_ip_addresses
end

#running_instancesArray<String>

Output only. The URIs of the instances currently running on this slot. Corresponds to the JSON property runningInstances

Returns:

  • (Array<String>)


44005
44006
44007
# File 'lib/google/apis/compute_v1/classes.rb', line 44005

def running_instances
  @running_instances
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



44012
44013
44014
44015
44016
# File 'lib/google/apis/compute_v1/classes.rb', line 44012

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