Class: Google::Apis::AutoscalerV1beta2::Operation::Error
- Inherits:
-
Object
- Object
- Google::Apis::AutoscalerV1beta2::Operation::Error
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/autoscaler_v1beta2/classes.rb,
generated/google/apis/autoscaler_v1beta2/representations.rb,
generated/google/apis/autoscaler_v1beta2/representations.rb
Defined Under Namespace
Classes: Error
Instance Attribute Summary collapse
-
#errors ⇒ Array<Google::Apis::AutoscalerV1beta2::Operation::Error::Error>
Corresponds to the JSON property
errors
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Error
constructor
A new instance of Error.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Error
Returns a new instance of Error.
457 458 459 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 457 def initialize(**args) update!(**args) end |
Instance Attribute Details
#errors ⇒ Array<Google::Apis::AutoscalerV1beta2::Operation::Error::Error>
Corresponds to the JSON property errors
455 456 457 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 455 def errors @errors end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
462 463 464 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 462 def update!(**args) @errors = args[:errors] if args.key?(:errors) end |