Class: Google::Apis::ConfigV1::TerraformOutput

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

Describes a Terraform output.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TerraformOutput

Returns a new instance of TerraformOutput.



1931
1932
1933
# File 'lib/google/apis/config_v1/classes.rb', line 1931

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

Instance Attribute Details

#sensitiveBoolean Also known as: sensitive?

Identifies whether Terraform has set this output as a potential sensitive value. Corresponds to the JSON property sensitive

Returns:

  • (Boolean)


1923
1924
1925
# File 'lib/google/apis/config_v1/classes.rb', line 1923

def sensitive
  @sensitive
end

#valueObject

Value of output. Corresponds to the JSON property value

Returns:

  • (Object)


1929
1930
1931
# File 'lib/google/apis/config_v1/classes.rb', line 1929

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1936
1937
1938
1939
# File 'lib/google/apis/config_v1/classes.rb', line 1936

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