Class: Google::Apis::ReplicapoolupdaterV1beta1::Operation::Warning
- Inherits:
-
Object
- Object
- Google::Apis::ReplicapoolupdaterV1beta1::Operation::Warning
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/replicapoolupdater_v1beta1/classes.rb,
generated/google/apis/replicapoolupdater_v1beta1/representations.rb,
generated/google/apis/replicapoolupdater_v1beta1/representations.rb
Defined Under Namespace
Classes: Datum
Instance Attribute Summary collapse
-
#code ⇒ String
[Output only] The warning type identifier for this warning.
-
#data ⇒ Array<Google::Apis::ReplicapoolupdaterV1beta1::Operation::Warning::Datum>
[Output only] Metadata for this warning in key:value format.
-
#message ⇒ String
[Output only] Optional human-readable details for this warning.
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
376 377 378 |
# File 'generated/google/apis/replicapoolupdater_v1beta1/classes.rb', line 376 def initialize(**args) update!(**args) end |
Instance Attribute Details
#code ⇒ String
[Output only] The warning type identifier for this warning.
Corresponds to the JSON property code
364 365 366 |
# File 'generated/google/apis/replicapoolupdater_v1beta1/classes.rb', line 364 def code @code end |
#data ⇒ Array<Google::Apis::ReplicapoolupdaterV1beta1::Operation::Warning::Datum>
[Output only] Metadata for this warning in key:value format.
Corresponds to the JSON property data
369 370 371 |
# File 'generated/google/apis/replicapoolupdater_v1beta1/classes.rb', line 369 def data @data end |
#message ⇒ String
[Output only] Optional human-readable details for this warning.
Corresponds to the JSON property message
374 375 376 |
# File 'generated/google/apis/replicapoolupdater_v1beta1/classes.rb', line 374 def @message end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
381 382 383 384 385 |
# File 'generated/google/apis/replicapoolupdater_v1beta1/classes.rb', line 381 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 |