Google Cloud Deploy V1 Client - Class DeployPolicyResourceSelector (1.5.7)

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 \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ delivery_pipeline
DeliveryPipelineAttribute

Optional. Contains attributes about a delivery pipeline.

↳ target
TargetAttribute

Optional. Contains attributes about a target.

getDeliveryPipeline

Optional. Contains attributes about a delivery pipeline.

Returns
Type
Description

hasDeliveryPipeline

clearDeliveryPipeline

setDeliveryPipeline

Optional. Contains attributes about a delivery pipeline.

Parameter
Name
Description
Returns
Type
Description
$this

getTarget

Optional. Contains attributes about a target.

Returns
Type
Description

hasTarget

clearTarget

setTarget

Optional. Contains attributes about a target.

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: