Class: Google::Apis::ConfigV1::TerraformVariable

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/config_v1/classes.rb,
lib/google/apis/config_v1/representations.rb,
lib/google/apis/config_v1/representations.rb

Overview

A Terraform input variable.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TerraformVariable

Returns a new instance of TerraformVariable.



1951
1952
1953
# File 'lib/google/apis/config_v1/classes.rb', line 1951

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#input_valueObject

Input variable value. Corresponds to the JSON property inputValue

Returns:

  • (Object)


1949
1950
1951
# File 'lib/google/apis/config_v1/classes.rb', line 1949

def input_value
  @input_value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1956
1957
1958
# File 'lib/google/apis/config_v1/classes.rb', line 1956

def update!(**args)
  @input_value = args[:input_value] if args.key?(:input_value)
end