Class: Google::Apis::AutoscalerV1beta2::Operation::Warning
- Inherits:
-
Object
- Object
- Google::Apis::AutoscalerV1beta2::Operation::Warning
- 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: Datum
Instance Attribute Summary collapse
-
#code ⇒ String
Corresponds to the JSON property
code
. -
#data ⇒ Array<Google::Apis::AutoscalerV1beta2::Operation::Warning::Datum>
Corresponds to the JSON property
data
. -
#message ⇒ String
Corresponds to the JSON property
message
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Warning
constructor
A new instance of Warning.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Warning
Returns a new instance of Warning.
517 518 519 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 517 def initialize(**args) update!(**args) end |
Instance Attribute Details
#code ⇒ String
Corresponds to the JSON property code
505 506 507 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 505 def code @code end |
#data ⇒ Array<Google::Apis::AutoscalerV1beta2::Operation::Warning::Datum>
Corresponds to the JSON property data
510 511 512 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 510 def data @data end |
#message ⇒ String
Corresponds to the JSON property message
515 516 517 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 515 def @message end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
522 523 524 525 526 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 522 def update!(**args) @code = args[:code] if args.key?(:code) @data = args[:data] if args.key?(:data) @message = args[:message] if args.key?(:message) end |