# Class ResourceInfo (1.20.0)

1.20.0 (latest) 1.19.0 1.18.0 1.17.0 1.16.0 1.15.0 1.14.0 1.13.1 1.12.3 1.11.1 1.10.0 1.9.1 1.8.1 1.7.1 1.6.0 1.5.3 1.4.2 1.3.1 1.2.1 1.1.0 1.0.3 0.3.0 0.2.0 0.1.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. |