Class: Google::Apis::ComputeAlpha::ReservationSlotStatus

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ReservationSlotStatus

Returns a new instance of ReservationSlotStatus.



57985
57986
57987
# File 'lib/google/apis/compute_alpha/classes.rb', line 57985

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

Instance Attribute Details

#physical_topologyGoogle::Apis::ComputeAlpha::ReservationSlotPhysicalTopology

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



57973
57974
57975
# File 'lib/google/apis/compute_alpha/classes.rb', line 57973

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


57978
57979
57980
# File 'lib/google/apis/compute_alpha/classes.rb', line 57978

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


57983
57984
57985
# File 'lib/google/apis/compute_alpha/classes.rb', line 57983

def running_instances
  @running_instances
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



57990
57991
57992
57993
57994
# File 'lib/google/apis/compute_alpha/classes.rb', line 57990

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