ResourceInfo
import type { ResourceInfo } from "https://googleapis.deno.dev/v1/servicecontrol:v2.ts";
Describes a resource referenced in the request.
interface ResourceInfo {
container?: string;
location?: string;
name?: string;
permission?: string;
type?: string;
}§Properties
§
container?: string
[src]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?: string
[src]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.