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.



2827
2828
2829
# File 'lib/google/apis/config_v1/classes.rb', line 2827

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)


2819
2820
2821
# File 'lib/google/apis/config_v1/classes.rb', line 2819

def sensitive
  @sensitive
end

#valueObject

Value of output. Corresponds to the JSON property value

Returns:

  • (Object)


2825
2826
2827
# File 'lib/google/apis/config_v1/classes.rb', line 2825

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2832
2833
2834
2835
# File 'lib/google/apis/config_v1/classes.rb', line 2832

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