Resource: Resource
Resource represents a Google Cloud Platform resource actuated by IM. Resources are child resources of Revisions.
| JSON representation | 
|---|
| { "name": string, "terraformInfo": { object ( | 
| Fields | |
|---|---|
| name | 
 Output only. Resource name. Format:  | 
| terraformInfo | 
 Output only. Terraform-specific info if this resource was created using Terraform. | 
| caiAssets | 
 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 An object containing a list of  | 
| intent | 
 Output only. Intent of the resource. | 
| state | 
 Output only. Current state of the resource. | 
ResourceTerraformInfo
Terraform info of a Resource.
| JSON representation | 
|---|
| { "address": string, "type": string, "id": string } | 
| Fields | |
|---|---|
| address | 
 TF resource address that uniquely identifies this resource within this deployment. | 
| type | 
 TF resource type | 
| id | 
 ID attribute of the TF resource | 
ResourceCAIInfo
CAI info of a Resource.
| JSON representation | 
|---|
| { "fullResourceName": string } | 
| Fields | |
|---|---|
| fullResourceName | 
 CAI resource name in the format following https://cloud.google.com/apis/design/resource_names#fullResourceName | 
Intent
Possible intent of the resource.
| Enums | |
|---|---|
| INTENT_UNSPECIFIED | The default value. This value is used if the intent is omitted. | 
| CREATE | Infra Manager will create this Resource. | 
| UPDATE | Infra Manager will update this Resource. | 
| DELETE | Infra Manager will delete this Resource. | 
| RECREATE | Infra Manager will destroy and recreate this Resource. | 
| UNCHANGED | Infra Manager will leave this Resource untouched. | 
State
Possible states of a resource.
| Enums | |
|---|---|
| STATE_UNSPECIFIED | The default value. This value is used if the state is omitted. | 
| PLANNED | Resource has been planned for reconcile. | 
| IN_PROGRESS | Resource is actively reconciling into the intended state. | 
| RECONCILED | Resource has reconciled to intended state. | 
| FAILED | Resource failed to reconcile. | 
| Methods | |
|---|---|
| 
 | Gets details about a Resourcedeployed by Infra Manager. | 
| 
 | Lists Resourcesin a given revision. |