Class: Google::Apis::ComputeV1::AutoscalerStatusDetails
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::AutoscalerStatusDetails
- Defined in:
- generated/google/apis/compute_v1/classes.rb,
generated/google/apis/compute_v1/representations.rb,
generated/google/apis/compute_v1/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
1682 1683 1684 |
# File 'generated/google/apis/compute_v1/classes.rb', line 1682 def initialize(**args) update!(**args) end |
Instance Attribute Details
#message ⇒ String
The status message.
Corresponds to the JSON property message
1675 1676 1677 |
# File 'generated/google/apis/compute_v1/classes.rb', line 1675 def @message end |
#type ⇒ String
The type of error returned.
Corresponds to the JSON property type
1680 1681 1682 |
# File 'generated/google/apis/compute_v1/classes.rb', line 1680 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1687 1688 1689 1690 |
# File 'generated/google/apis/compute_v1/classes.rb', line 1687 def update!(**args) @message = args[:message] if args.key?(:message) @type = args[:type] if args.key?(:type) end |