[[["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 Resource (1.4.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.4.1 (latest)](/php/docs/reference/cloud-config/latest/V1.Resource)\n- [1.4.0](/php/docs/reference/cloud-config/1.4.0/V1.Resource)\n- [1.3.0](/php/docs/reference/cloud-config/1.3.0/V1.Resource)\n- [1.2.1](/php/docs/reference/cloud-config/1.2.1/V1.Resource)\n- [1.1.0](/php/docs/reference/cloud-config/1.1.0/V1.Resource)\n- [1.0.1](/php/docs/reference/cloud-config/1.0.1/V1.Resource)\n- [0.5.2](/php/docs/reference/cloud-config/0.5.2/V1.Resource)\n- [0.2.0](/php/docs/reference/cloud-config/0.2.0/V1.Resource)\n- [0.1.3](/php/docs/reference/cloud-config/0.1.3/V1.Resource) \nReference documentation and code samples for the Google Cloud Config V1 Client class Resource.\n\nResource represents a Google Cloud Platform resource actuated by IM.\n\nResources are child resources of Revisions.\n\nGenerated from protobuf message `google.cloud.config.v1.Resource`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Config \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nOutput only. Resource name.\n\nFormat:\n`projects/{project}/locations/{location}/deployments/{deployment}/revisions/{revision}/resources/{resource}`\n\n### setName\n\nOutput only. Resource name.\n\nFormat:\n`projects/{project}/locations/{location}/deployments/{deployment}/revisions/{revision}/resources/{resource}`\n\n### getTerraformInfo\n\nOutput only. Terraform-specific info if this resource was created using\nTerraform.\n\n### hasTerraformInfo\n\n### clearTerraformInfo\n\n### setTerraformInfo\n\nOutput only. Terraform-specific info if this resource was created using\nTerraform.\n\n### getCaiAssets\n\nOutput only. Map of Cloud Asset Inventory (CAI) type to CAI info (e.g. CAI\nID). CAI type format follows\n\u003chttps://cloud.google.com/asset-inventory/docs/supported-asset-types\u003e\n\n### setCaiAssets\n\nOutput only. Map of Cloud Asset Inventory (CAI) type to CAI info (e.g. CAI\nID). CAI type format follows\n\u003chttps://cloud.google.com/asset-inventory/docs/supported-asset-types\u003e\n\n### getIntent\n\nOutput only. Intent of the resource.\n\n### setIntent\n\nOutput only. Intent of the resource.\n\n### getState\n\nOutput only. Current state of the resource.\n\n### setState\n\nOutput only. Current state of the resource."]]