Class: Google::Apis::ComputeBeta::HostStatus

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

Returns a new instance of HostStatus.



20842
20843
20844
# File 'lib/google/apis/compute_beta/classes.rb', line 20842

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

Instance Attribute Details

#physical_topologyGoogle::Apis::ComputeBeta::HostPhysicalTopology

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



20835
20836
20837
# File 'lib/google/apis/compute_beta/classes.rb', line 20835

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


20840
20841
20842
# File 'lib/google/apis/compute_beta/classes.rb', line 20840

def running_instances
  @running_instances
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



20847
20848
20849
20850
# File 'lib/google/apis/compute_beta/classes.rb', line 20847

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