GetResourceInfoRequest

Represents request of PolicyCallback.GetResourceInfo method.

JSON representation
 { 
 "resourceService" 
 : 
 string 
 , 
 "resourceName" 
 : 
 string 
 , 
 "fields" 
 : 
 string 
 , 
 "rpcRequestMessage" 
 : 
 { 
 "@type" 
 : 
 string 
 , 
 field1 
 : 
 ... 
 , 
 ... 
 } 
 } 
Fields
resourceService

string

REQUIRED: The name of the service that this resource belongs to, such as pubsub.googleapis.com . The service may be different from the DNS hostname that actually serves the request.

resourceName

string

REQUIRED: The stable identifier (name) of a resource on the resourceService . A resource can be logically identified as "//{resourceService}/{resourceName}". The differences between a resource name and a URI are:

  • Resource name is a logical identifier, independent of network protocol and API version. For example, //pubsub.googleapis.com/projects/123/topics/news-feed .
  • URI often includes protocol and version information, so it can be used directly by applications. For example, https://pubsub.googleapis.com/v1/projects/123/topics/news-feed .

See https://cloud.google.com/apis/design/resource_names for details.

fields

string ( FieldMask format)

OPTIONAL: field mask indicating which response parameters to return.

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo" .

rpcRequestMessage

object

OPTIONAL: The rpc request message in generic format. It contains additional information to be used to create the resource needed by IAM/CAL. Please contact cloud-policy-enforcement@ before use.

An object containing fields of an arbitrary type. An additional field "@type" contains a URI identifying the type. Example: { "id": 1234, "@type": "types.example.com/standard/id" } .

Design a Mobile Site
View Site in Mobile | Classic
Share by: