Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

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.

§
name?: string
[src]

The name of the resource referenced in the request.

§
permission?: string
[src]

The resource permission needed for this request. The format must be "{service}/{plural}.{verb}".

§
type?: string
[src]

The resource type in the format of "{service}/{kind}".