Class: Google::Apis::ConfigV1::ResourceChangeTerraformInfo
- Inherits:
-
Object
- Object
- Google::Apis::ConfigV1::ResourceChangeTerraformInfo
- 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
Terraform info of a ResourceChange.
Instance Attribute Summary collapse
-
#actions ⇒ Array<String>
Output only.
-
#address ⇒ String
Output only.
-
#provider ⇒ String
Output only.
-
#resource_name ⇒ String
Output only.
-
#type ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ResourceChangeTerraformInfo
constructor
A new instance of ResourceChangeTerraformInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ResourceChangeTerraformInfo
Returns a new instance of ResourceChangeTerraformInfo.
2335 2336 2337 |
# File 'lib/google/apis/config_v1/classes.rb', line 2335 def initialize(**args) update!(**args) end |
Instance Attribute Details
#actions ⇒ Array<String>
Output only. TF resource actions.
Corresponds to the JSON property actions
2313 2314 2315 |
# File 'lib/google/apis/config_v1/classes.rb', line 2313 def actions @actions end |
#address ⇒ String
Output only. TF resource address that uniquely identifies the resource.
Corresponds to the JSON property address
2318 2319 2320 |
# File 'lib/google/apis/config_v1/classes.rb', line 2318 def address @address end |
#provider ⇒ String
Output only. TF resource provider.
Corresponds to the JSON property provider
2323 2324 2325 |
# File 'lib/google/apis/config_v1/classes.rb', line 2323 def provider @provider end |
#resource_name ⇒ String
Output only. TF resource name.
Corresponds to the JSON property resourceName
2328 2329 2330 |
# File 'lib/google/apis/config_v1/classes.rb', line 2328 def resource_name @resource_name end |
#type ⇒ String
Output only. TF resource type.
Corresponds to the JSON property type
2333 2334 2335 |
# File 'lib/google/apis/config_v1/classes.rb', line 2333 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2340 2341 2342 2343 2344 2345 2346 |
# File 'lib/google/apis/config_v1/classes.rb', line 2340 def update!(**args) @actions = args[:actions] if args.key?(:actions) @address = args[:address] if args.key?(:address) @provider = args[:provider] if args.key?(:provider) @resource_name = args[:resource_name] if args.key?(:resource_name) @type = args[:type] if args.key?(:type) end |