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.



47419
47420
47421
# File 'lib/google/apis/compute_v1/classes.rb', line 47419

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



47407
47408
47409
# File 'lib/google/apis/compute_v1/classes.rb', line 47407

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


47412
47413
47414
# File 'lib/google/apis/compute_v1/classes.rb', line 47412

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


47417
47418
47419
# File 'lib/google/apis/compute_v1/classes.rb', line 47417

def running_instances
  @running_instances
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



47424
47425
47426
47427
47428
# File 'lib/google/apis/compute_v1/classes.rb', line 47424

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