Class: Google::Apis::ComputeBeta::ResourceStatus
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::ResourceStatus
- 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
Overview
Contains output only fields. Use this sub-message for actual values set on Instance attributes as compared to the value requested by the user (intent) in their instance CRUD calls.
Instance Attribute Summary collapse
-
#physical_host ⇒ String
[Output Only] The precise location of your instance within the zone's data center, including the block, sub-block, and host.
-
#physical_host_topology ⇒ Google::Apis::ComputeBeta::ResourceStatusPhysicalHostTopology
Represents the physical host topology of the host on which the VM is running.
-
#scheduling ⇒ Google::Apis::ComputeBeta::ResourceStatusScheduling
Corresponds to the JSON property
scheduling
. -
#shutdown_details ⇒ Google::Apis::ComputeBeta::ResourceStatusShutdownDetails
[Output Only] Details about the instance stopping state.
-
#upcoming_maintenance ⇒ Google::Apis::ComputeBeta::UpcomingMaintenance
Upcoming Maintenance notification information.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ResourceStatus
constructor
A new instance of ResourceStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ResourceStatus
Returns a new instance of ResourceStatus.
38148 38149 38150 |
# File 'lib/google/apis/compute_beta/classes.rb', line 38148 def initialize(**args) update!(**args) end |
Instance Attribute Details
#physical_host ⇒ String
[Output Only] The precise location of your instance within the zone's data
center, including the block, sub-block, and host. The field is formatted as
follows: blockId/subBlockId/hostId.
Corresponds to the JSON property physicalHost
38126 38127 38128 |
# File 'lib/google/apis/compute_beta/classes.rb', line 38126 def physical_host @physical_host end |
#physical_host_topology ⇒ Google::Apis::ComputeBeta::ResourceStatusPhysicalHostTopology
Represents the physical host topology of the host on which the VM is running.
Corresponds to the JSON property physicalHostTopology
38131 38132 38133 |
# File 'lib/google/apis/compute_beta/classes.rb', line 38131 def physical_host_topology @physical_host_topology end |
#scheduling ⇒ Google::Apis::ComputeBeta::ResourceStatusScheduling
Corresponds to the JSON property scheduling
38136 38137 38138 |
# File 'lib/google/apis/compute_beta/classes.rb', line 38136 def scheduling @scheduling end |
#shutdown_details ⇒ Google::Apis::ComputeBeta::ResourceStatusShutdownDetails
[Output Only] Details about the instance stopping state.
Corresponds to the JSON property shutdownDetails
38141 38142 38143 |
# File 'lib/google/apis/compute_beta/classes.rb', line 38141 def shutdown_details @shutdown_details end |
#upcoming_maintenance ⇒ Google::Apis::ComputeBeta::UpcomingMaintenance
Upcoming Maintenance notification information.
Corresponds to the JSON property upcomingMaintenance
38146 38147 38148 |
# File 'lib/google/apis/compute_beta/classes.rb', line 38146 def upcoming_maintenance @upcoming_maintenance end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
38153 38154 38155 38156 38157 38158 38159 |
# File 'lib/google/apis/compute_beta/classes.rb', line 38153 def update!(**args) @physical_host = args[:physical_host] if args.key?(:physical_host) @physical_host_topology = args[:physical_host_topology] if args.key?(:physical_host_topology) @scheduling = args[:scheduling] if args.key?(:scheduling) @shutdown_details = args[:shutdown_details] if args.key?(:shutdown_details) @upcoming_maintenance = args[:upcoming_maintenance] if args.key?(:upcoming_maintenance) end |