Class: Google::Apis::ComputeV1::HostStatus

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

Returns a new instance of HostStatus.



19811
19812
19813
# File 'lib/google/apis/compute_v1/classes.rb', line 19811

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

Instance Attribute Details

#physical_topologyGoogle::Apis::ComputeV1::HostPhysicalTopology

Output only. The physical topology of the reservation sub-block, if present Corresponds to the JSON property physicalTopology



19804
19805
19806
# File 'lib/google/apis/compute_v1/classes.rb', line 19804

def physical_topology
  @physical_topology
end

#running_instancesArray<String>

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

Returns:

  • (Array<String>)


19809
19810
19811
# File 'lib/google/apis/compute_v1/classes.rb', line 19809

def running_instances
  @running_instances
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



19816
19817
19818
19819
# File 'lib/google/apis/compute_v1/classes.rb', line 19816

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