(::Google::Protobuf::Map{::String => ::Google::Cloud::ConfigService::V1::ResourceCAIInfo}) — Output only. Map of Cloud Asset Inventory (CAI) type to CAI info (e.g. CAI
ID). CAI type format follows
https://cloud.google.com/asset-inventory/docs/supported-asset-types
[[["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-09 UTC."],[],[],null,["# Infrastructure Manager V1 API - Class Google::Cloud::ConfigService::V1::Resource (v2.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.0 (latest)](/ruby/docs/reference/google-cloud-config_service-v1/latest/Google-Cloud-ConfigService-V1-Resource)\n- [2.1.0](/ruby/docs/reference/google-cloud-config_service-v1/2.1.0/Google-Cloud-ConfigService-V1-Resource)\n- [2.0.1](/ruby/docs/reference/google-cloud-config_service-v1/2.0.1/Google-Cloud-ConfigService-V1-Resource)\n- [1.3.0](/ruby/docs/reference/google-cloud-config_service-v1/1.3.0/Google-Cloud-ConfigService-V1-Resource)\n- [1.2.1](/ruby/docs/reference/google-cloud-config_service-v1/1.2.1/Google-Cloud-ConfigService-V1-Resource)\n- [1.1.0](/ruby/docs/reference/google-cloud-config_service-v1/1.1.0/Google-Cloud-ConfigService-V1-Resource)\n- [1.0.2](/ruby/docs/reference/google-cloud-config_service-v1/1.0.2/Google-Cloud-ConfigService-V1-Resource)\n- [0.6.0](/ruby/docs/reference/google-cloud-config_service-v1/0.6.0/Google-Cloud-ConfigService-V1-Resource)\n- [0.5.0](/ruby/docs/reference/google-cloud-config_service-v1/0.5.0/Google-Cloud-ConfigService-V1-Resource)\n- [0.4.0](/ruby/docs/reference/google-cloud-config_service-v1/0.4.0/Google-Cloud-ConfigService-V1-Resource)\n- [0.3.1](/ruby/docs/reference/google-cloud-config_service-v1/0.3.1/Google-Cloud-ConfigService-V1-Resource)\n- [0.2.1](/ruby/docs/reference/google-cloud-config_service-v1/0.2.1/Google-Cloud-ConfigService-V1-Resource)\n- [0.1.0](/ruby/docs/reference/google-cloud-config_service-v1/0.1.0/Google-Cloud-ConfigService-V1-Resource) \nReference documentation and code samples for the Infrastructure Manager V1 API class Google::Cloud::ConfigService::V1::Resource.\n\nResource represents a Google Cloud Platform resource actuated by IM.\nResources are child resources of Revisions. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #cai_assets\n\n def cai_assets() -\u003e ::Google::Protobuf::Map{::String =\u003e ::Google::Cloud::ConfigService::V1::ResourceCAIInfo}\n\n**Returns**\n\n- (::Google::Protobuf::Map{::String =\\\u003e ::Google::Cloud::ConfigService::V1::ResourceCAIInfo}) --- Output only. Map of Cloud Asset Inventory (CAI) type to CAI info (e.g. CAI ID). CAI type format follows https://cloud.google.com/asset-inventory/docs/supported-asset-types\n\n### #intent\n\n def intent() -\u003e ::Google::Cloud::ConfigService::V1::Resource::Intent\n\n**Returns**\n\n- ([::Google::Cloud::ConfigService::V1::Resource::Intent](./Google-Cloud-ConfigService-V1-Resource-Intent)) --- Output only. Intent of the resource.\n\n### #name\n\n def name() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Output only. Resource name. Format: `projects/{project}/locations/{location}/deployments/{deployment}/revisions/{revision}/resources/{resource}`\n\n### #state\n\n def state() -\u003e ::Google::Cloud::ConfigService::V1::Resource::State\n\n**Returns**\n\n- ([::Google::Cloud::ConfigService::V1::Resource::State](./Google-Cloud-ConfigService-V1-Resource-State)) --- Output only. Current state of the resource.\n\n### #terraform_info\n\n def terraform_info() -\u003e ::Google::Cloud::ConfigService::V1::ResourceTerraformInfo\n\n**Returns**\n\n- ([::Google::Cloud::ConfigService::V1::ResourceTerraformInfo](./Google-Cloud-ConfigService-V1-ResourceTerraformInfo)) --- Output only. Terraform-specific info if this resource was created using Terraform."]]