Class: Google::Apis::ComputeBeta::HostStatus
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::HostStatus
- 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
-
#physical_topology ⇒ Google::Apis::ComputeBeta::HostPhysicalTopology
Output only.
-
#running_instances ⇒ Array<String>
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ HostStatus
constructor
A new instance of HostStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ HostStatus
Returns a new instance of HostStatus.
20918 20919 20920 |
# File 'lib/google/apis/compute_beta/classes.rb', line 20918 def initialize(**args) update!(**args) end |
Instance Attribute Details
#physical_topology ⇒ Google::Apis::ComputeBeta::HostPhysicalTopology
Output only. The physical topology of the reservation sub-block, if
present
Corresponds to the JSON property physicalTopology
20911 20912 20913 |
# File 'lib/google/apis/compute_beta/classes.rb', line 20911 def physical_topology @physical_topology end |
#running_instances ⇒ Array<String>
Output only. The URIs of the instances currently running on this host.
Corresponds to the JSON property runningInstances
20916 20917 20918 |
# File 'lib/google/apis/compute_beta/classes.rb', line 20916 def running_instances @running_instances end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
20923 20924 20925 20926 |
# File 'lib/google/apis/compute_beta/classes.rb', line 20923 def update!(**args) @physical_topology = args[:physical_topology] if args.key?(:physical_topology) @running_instances = args[:running_instances] if args.key?(:running_instances) end |