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
§
deliveryPipeline?: DeliveryPipelineAttribute
[src]Optional. Contains attributes about a delivery pipeline.
§
target?: TargetAttribute
[src]Optional. Contains attributes about a target.