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.



58822
58823
58824
# File 'lib/google/apis/compute_alpha/classes.rb', line 58822

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



58810
58811
58812
# File 'lib/google/apis/compute_alpha/classes.rb', line 58810

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


58815
58816
58817
# File 'lib/google/apis/compute_alpha/classes.rb', line 58815

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


58820
58821
58822
# File 'lib/google/apis/compute_alpha/classes.rb', line 58820

def running_instances
  @running_instances
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



58827
58828
58829
58830
58831
# File 'lib/google/apis/compute_alpha/classes.rb', line 58827

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