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.



19799
19800
19801
# File 'lib/google/apis/compute_v1/classes.rb', line 19799

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



19792
19793
19794
# File 'lib/google/apis/compute_v1/classes.rb', line 19792

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


19797
19798
19799
# File 'lib/google/apis/compute_v1/classes.rb', line 19797

def running_instances
  @running_instances
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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