Class: Google::Apis::DeploymentmanagerV2beta2::Operation::Warning::Datum
- Inherits:
-
Object
- Object
- Google::Apis::DeploymentmanagerV2beta2::Operation::Warning::Datum
- 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
Instance Attribute Summary collapse
-
#key ⇒ String
[Output Only] A key for the warning data.
-
#value ⇒ String
[Output Only] A warning data value corresponding to the key.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Datum
constructor
A new instance of Datum.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Datum
Returns a new instance of Datum
557 558 559 |
# File 'generated/google/apis/deploymentmanager_v2beta2/classes.rb', line 557 def initialize(**args) update!(**args) end |
Instance Attribute Details
#key ⇒ String
[Output Only] A key for the warning data.
Corresponds to the JSON property key
550 551 552 |
# File 'generated/google/apis/deploymentmanager_v2beta2/classes.rb', line 550 def key @key end |
#value ⇒ String
[Output Only] A warning data value corresponding to the key.
Corresponds to the JSON property value
555 556 557 |
# File 'generated/google/apis/deploymentmanager_v2beta2/classes.rb', line 555 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
562 563 564 565 |
# File 'generated/google/apis/deploymentmanager_v2beta2/classes.rb', line 562 def update!(**args) @key = args[:key] unless args[:key].nil? @value = args[:value] unless args[:value].nil? end |