Reference documentation and code samples for the Google Cloud Deploy V1 Client class DeployPolicyResourceSelector.
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.
Generated from protobuf message google.cloud.deploy.v1.DeployPolicyResourceSelector
Namespace
Google \ Cloud \ Deploy \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ delivery_pipeline
Google\Cloud\Deploy\V1\DeliveryPipelineAttribute
Optional. Contains attributes about a delivery pipeline.
↳ target
getDeliveryPipeline
Optional. Contains attributes about a delivery pipeline.
hasDeliveryPipeline
clearDeliveryPipeline
setDeliveryPipeline
Optional. Contains attributes about a delivery pipeline.
$this
getTarget
Optional. Contains attributes about a target.
hasTarget
clearTarget
setTarget
Optional. Contains attributes about a target.
$this