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

ResourceFilter

import type { ResourceFilter } from "https://googleapis.deno.dev/v1/workloadmanager:v1.ts";

Resource filter for an evaluation defining the scope of resources to be evaluated.

interface ResourceFilter {
gceInstanceFilter?: GceInstanceFilter;
inclusionLabels?: {
[key: string]: string;
}
;
resourceIdPatterns?: string[];
scopes?: string[];
}

§Properties

§
gceInstanceFilter?: GceInstanceFilter
[src]

Filter compute engine resources.

§
inclusionLabels?: {
[key: string]: string;
}
[src]

Labels to filter resources by. Each key-value pair in the map must exist on the resource for it to be included (e.g. VM instance labels). For example, specifying { "env": "prod", "database": "nosql" } will only include resources that have labels env=prod and database=nosql.

§
resourceIdPatterns?: string[]
[src]

The pattern to filter resources by their id For example, a pattern of ".prod-cluster." will match all resources that contain "prod-cluster" in their ID.

§
scopes?: string[]
[src]

The scopes of evaluation resource. Format: * projects/{project_id} * folders/{folder_id} * organizations/{organization_id}