Class DeployPolicyResourceSelector (2.5.0)

DeployPolicyResourceSelector(
    mapping=None, *, ignore_unknown_fields=False, **kwargs
)

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.

Attributes

Name Description
delivery_pipeline google.cloud.deploy_v1.types.DeliveryPipelineAttribute
Optional. Contains attributes about a delivery pipeline.
target google.cloud.deploy_v1.types.TargetAttribute
Optional. Contains attributes about a target.