Class ResourceInfo (1.16.0)

ResourceInfo(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Describes a resource referenced in the request.

Attributes

Name Description
name str
The name of the resource referenced in the request.
type_ str
The resource type in the format of "{service}/{kind}".
permission str
The resource permission needed for this request. The format must be "{service}/{plural}.{verb}".
container str
Optional. The identifier of the container of this resource. For Google Cloud APIs, the resource container must be one of the following formats: - projects/ - folders/ - organizations/ Required for the policy enforcement on the container level (e.g. VPCSC, Location Policy check, Org Policy check).
location str
Optional. The location of the resource, it must be a valid zone, region or multiregion, for example: "europe-west4", "northamerica-northeast1-a". Required for location policy check.