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

DeployPolicyResourceSelector

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

Contains information on the resources to select for a deploy policy. Attributes provided must all match the resource in order for policy restrictions to apply. For example, if delivery pipelines attributes given are an id "prod" and labels "foo: bar", a delivery pipeline resource must match both that id and have that label in order to be subject to the policy.

interface DeployPolicyResourceSelector {
deliveryPipeline?: DeliveryPipelineAttribute;
target?: TargetAttribute;
}

§Properties

§

Optional. Contains attributes about a delivery pipeline.

§

Optional. Contains attributes about a target.