Resource

Information about a resource such as a task, Cloud Storage bucket, database, disk, logical policy, or something similar.

JSON representation
 { 
 "type" 
 : 
 string 
 , 
 "resource_type" 
 : 
 enum (  ResourceType 
 
) 
 , 
 "resource_subtype" 
 : 
 string 
 , 
 "id" 
 : 
 string 
 , 
 "name" 
 : 
 string 
 , 
 "parent" 
 : 
 string 
 , 
 "product_object_id" 
 : 
 string 
 , 
 "attribute" 
 : 
 { 
 object (  Attribute 
 
) 
 } 
 } 
Fields
type
(deprecated)

string

Deprecated: use resource_type instead.

resource_type

enum ( ResourceType )

Resource type.

resource_subtype

string

Resource sub-type (e.g. "BigQuery", "Bigtable").

id
(deprecated)

string

Deprecated: Use resource.name or resource.product_object_id.

name

string

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
(deprecated)

string

The parent of the resource. For a database table, the parent is the database. For a storage object, the bucket name. Deprecated: use resource_ancestors.name.

product_object_id

string

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

object ( Attribute )

Generic entity metadata attributes of the resource.

Create a Mobile Website
View Site in Mobile | Classic
Share by: