Class: Google::Apis::DeploymentmanagerV2beta2::Operation::Warning
- Inherits:
-
Object
- Object
- Google::Apis::DeploymentmanagerV2beta2::Operation::Warning
- Includes:
- Core::Hashable
- Defined in:
- generated/google/apis/deploymentmanager_v2beta2/classes.rb,
generated/google/apis/deploymentmanager_v2beta2/representations.rb,
generated/google/apis/deploymentmanager_v2beta2/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::DeploymentmanagerV2beta2::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::Hashable
Constructor Details
#initialize(**args) ⇒ Warning
Returns a new instance of Warning
532 533 534 |
# File 'generated/google/apis/deploymentmanager_v2beta2/classes.rb', line 532 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
520 521 522 |
# File 'generated/google/apis/deploymentmanager_v2beta2/classes.rb', line 520 def code @code end |
#data ⇒ Array<Google::Apis::DeploymentmanagerV2beta2::Operation::Warning::Datum>
[Output Only] Metadata for this warning in key: value format.
Corresponds to the JSON property data
525 526 527 |
# File 'generated/google/apis/deploymentmanager_v2beta2/classes.rb', line 525 def data @data end |
#message ⇒ String
[Output Only] Optional human-readable details for this warning.
Corresponds to the JSON property message
530 531 532 |
# File 'generated/google/apis/deploymentmanager_v2beta2/classes.rb', line 530 def @message end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
537 538 539 540 541 |
# File 'generated/google/apis/deploymentmanager_v2beta2/classes.rb', line 537 def update!(**args) @code = args[:code] unless args[:code].nil? @data = args[:data] unless args[:data].nil? @message = args[:message] unless args[:message].nil? end |