[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Config V1 Client - Class ResourceDrift (1.4.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.4.1 (latest)](/php/docs/reference/cloud-config/latest/V1.ResourceDrift)\n- [1.4.0](/php/docs/reference/cloud-config/1.4.0/V1.ResourceDrift)\n- [1.3.0](/php/docs/reference/cloud-config/1.3.0/V1.ResourceDrift)\n- [1.2.1](/php/docs/reference/cloud-config/1.2.1/V1.ResourceDrift)\n- [1.1.0](/php/docs/reference/cloud-config/1.1.0/V1.ResourceDrift)\n- [1.0.1](/php/docs/reference/cloud-config/1.0.1/V1.ResourceDrift)\n- [0.5.2](/php/docs/reference/cloud-config/0.5.2/V1.ResourceDrift)\n- [0.2.0](/php/docs/reference/cloud-config/0.2.0/V1.ResourceDrift)\n- [0.1.3](/php/docs/reference/cloud-config/0.1.3/V1.ResourceDrift) \nReference documentation and code samples for the Google Cloud Config V1 Client class ResourceDrift.\n\nA resource drift represents a drift to a resource in the state file.\n\nGenerated from protobuf message `google.cloud.config.v1.ResourceDrift`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Config \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nIdentifier. The name of the resource drift.\n\nFormat:\n'projects/{project_id}/locations/{location}/previews/{preview}/resourceDrifts/{resource_drift}'.\n\n### setName\n\nIdentifier. The name of the resource drift.\n\nFormat:\n'projects/{project_id}/locations/{location}/previews/{preview}/resourceDrifts/{resource_drift}'.\n\n### getTerraformInfo\n\nOutput only. Terraform info of the resource drift.\n\n### hasTerraformInfo\n\n### clearTerraformInfo\n\n### setTerraformInfo\n\nOutput only. Terraform info of the resource drift.\n\n### getPropertyDrifts\n\nOutput only. The property drifts of the resource drift.\n\n### setPropertyDrifts\n\nOutput only. The property drifts of the resource drift."]]