Class ResourceInfo (1.5.3)

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

Describes a resource referenced in the request.

Attributes

NameDescription
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/ For the policy enforcement on the container level (VPCSC and Location Policy check), this field takes precedence on the container extracted from name when presents.
location str
Optional. The location of the resource. The value must be a valid zone, region or multiregion. For example: "europe-west4" or "northamerica-northeast1-a".