Information about a resource such as a task, Cloud Storage bucket, database, disk, logical policy, or something similar.
| JSON representation | 
|---|
{ "type": string, "resourceType": enum (  | 
            
| Fields | |
|---|---|
type | 
              
                 
 Deprecated: use resourceType instead.  | 
            
resourceType | 
              
                 
 Resource type.  | 
            
resourceSubtype | 
              
                 
 Resource sub-type (e.g. "BigQuery", "Bigtable").  | 
            
id | 
              
                 
 Deprecated: Use resource.name or resource.product_object_id.  | 
            
name | 
              
                 
 The full name of the resource. For example, Google Cloud: //cloudresourcemanager.googleapis.com/projects/wombat-123, and AWS: arn:aws:iam::123456789012:user/johndoe.  | 
            
parent | 
              
                 
 The parent of the resource. For a database table, the parent is the database. For a storage object, the bucket name. Deprecated: use resourceAncestors.name.  | 
            
productObjectId | 
              
                 
 A vendor-specific identifier to uniquely identify the entity (a GUID, OID, or similar) This field can be used as an entity indicator for a Resource entity.  | 
            
attribute | 
              
                 
 Generic entity metadata attributes of the resource.  |