Class: Google::Apis::ConfigV1::ResourceDriftTerraformInfo
- Inherits:
-
Object
- Object
- Google::Apis::ConfigV1::ResourceDriftTerraformInfo
- 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
-
#address ⇒ String
Output only.
-
#provider ⇒ String
Output only.
-
#resource_name ⇒ String
Output only.
-
#type ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ResourceDriftTerraformInfo
constructor
A new instance of ResourceDriftTerraformInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ResourceDriftTerraformInfo
Returns a new instance of ResourceDriftTerraformInfo.
2405 2406 2407 |
# File 'lib/google/apis/config_v1/classes.rb', line 2405 def initialize(**args) update!(**args) end |
Instance Attribute Details
#address ⇒ String
Output only. The address of the drifted resource.
Corresponds to the JSON property address
2388 2389 2390 |
# File 'lib/google/apis/config_v1/classes.rb', line 2388 def address @address end |
#provider ⇒ String
Output only. The provider of the drifted resource.
Corresponds to the JSON property provider
2393 2394 2395 |
# File 'lib/google/apis/config_v1/classes.rb', line 2393 def provider @provider end |
#resource_name ⇒ String
Output only. TF resource name.
Corresponds to the JSON property resourceName
2398 2399 2400 |
# File 'lib/google/apis/config_v1/classes.rb', line 2398 def resource_name @resource_name end |
#type ⇒ String
Output only. The type of the drifted resource.
Corresponds to the JSON property type
2403 2404 2405 |
# File 'lib/google/apis/config_v1/classes.rb', line 2403 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2410 2411 2412 2413 2414 2415 |
# File 'lib/google/apis/config_v1/classes.rb', line 2410 def update!(**args) @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 |