Class: Google::Apis::DeploymentmanagerV2beta2::Operation::Warning::Datum

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

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

#keyString

[Output Only] A key for the warning data. Corresponds to the JSON property key

Returns:

  • (String)


550
551
552
# File 'generated/google/apis/deploymentmanager_v2beta2/classes.rb', line 550

def key
  @key
end

#valueString

[Output Only] A warning data value corresponding to the key. Corresponds to the JSON property value

Returns:

  • (String)


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