Class: Google::Apis::ComputeBeta::ReservationSlotStatus

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ReservationSlotStatus

Returns a new instance of ReservationSlotStatus.



53185
53186
53187
# File 'lib/google/apis/compute_beta/classes.rb', line 53185

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

Instance Attribute Details

#physical_topologyGoogle::Apis::ComputeBeta::ReservationSlotPhysicalTopology

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



53173
53174
53175
# File 'lib/google/apis/compute_beta/classes.rb', line 53173

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>)


53178
53179
53180
# File 'lib/google/apis/compute_beta/classes.rb', line 53178

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>)


53183
53184
53185
# File 'lib/google/apis/compute_beta/classes.rb', line 53183

def running_instances
  @running_instances
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



53190
53191
53192
53193
53194
# File 'lib/google/apis/compute_beta/classes.rb', line 53190

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