Reference documentation and code samples for the Infrastructure Manager V1 API class Google::Cloud::ConfigService::V1::ResourceDrift.
A resource drift represents a drift to a resource in the state file.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#name
def name() -> ::String
Returns
- (::String) — Identifier. The name of the resource drift. Format: 'projects/{project_id}/locations/{location}/previews/{preview}/resourceDrifts/{resource_drift}'.
#name=
def name=(value) -> ::String
Parameter
- value (::String) — Identifier. The name of the resource drift. Format: 'projects/{project_id}/locations/{location}/previews/{preview}/resourceDrifts/{resource_drift}'.
Returns
- (::String) — Identifier. The name of the resource drift. Format: 'projects/{project_id}/locations/{location}/previews/{preview}/resourceDrifts/{resource_drift}'.
#property_drifts
def property_drifts() -> ::Array<::Google::Cloud::ConfigService::V1::PropertyDrift>
Returns
- (::Array<::Google::Cloud::ConfigService::V1::PropertyDrift>) — Output only. The property drifts of the resource drift.
#terraform_info
def terraform_info() -> ::Google::Cloud::ConfigService::V1::ResourceDriftTerraformInfo
Returns
- (::Google::Cloud::ConfigService::V1::ResourceDriftTerraformInfo) — Output only. Terraform info of the resource drift.