Class: Google::Apis::ComputeBeta::AutoscalerStatusDetails
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::AutoscalerStatusDetails
- Defined in:
- generated/google/apis/compute_beta/classes.rb,
generated/google/apis/compute_beta/representations.rb,
generated/google/apis/compute_beta/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
2239 2240 2241 |
# File 'generated/google/apis/compute_beta/classes.rb', line 2239 def initialize(**args) update!(**args) end |
Instance Attribute Details
#message ⇒ String
The status message.
Corresponds to the JSON property message
2232 2233 2234 |
# File 'generated/google/apis/compute_beta/classes.rb', line 2232 def @message end |
#type ⇒ String
The type of error returned.
Corresponds to the JSON property type
2237 2238 2239 |
# File 'generated/google/apis/compute_beta/classes.rb', line 2237 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2244 2245 2246 2247 |
# File 'generated/google/apis/compute_beta/classes.rb', line 2244 def update!(**args) @message = args[:message] if args.key?(:message) @type = args[:type] if args.key?(:type) end |