Class: Google::Apis::ComputeAlpha::AutoscalerStatusDetails
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::AutoscalerStatusDetails
- Defined in:
- generated/google/apis/compute_alpha/classes.rb,
generated/google/apis/compute_alpha/representations.rb,
generated/google/apis/compute_alpha/representations.rb
Instance Attribute Summary collapse
-
#message ⇒ String
The status message.
-
#type ⇒ String
The type of error returned.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AutoscalerStatusDetails
constructor
A new instance of AutoscalerStatusDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ AutoscalerStatusDetails
Returns a new instance of AutoscalerStatusDetails
2337 2338 2339 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 2337 def initialize(**args) update!(**args) end |
Instance Attribute Details
#message ⇒ String
The status message.
Corresponds to the JSON property message
2330 2331 2332 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 2330 def @message end |
#type ⇒ String
The type of error returned.
Corresponds to the JSON property type
2335 2336 2337 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 2335 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2342 2343 2344 2345 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 2342 def update!(**args) @message = args[:message] if args.key?(:message) @type = args[:type] if args.key?(:type) end |