Google Cloud Deploy V1 Client - Class AutomationResourceSelector (2.0.0)

Reference documentation and code samples for the Google Cloud Deploy V1 Client class AutomationResourceSelector.

AutomationResourceSelector contains the information to select the resources to which an Automation is going to be applied.

Generated from protobuf message google.cloud.deploy.v1.AutomationResourceSelector

Namespace

Google \ Cloud \ Deploy \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ targets array<Google\Cloud\Deploy\V1\TargetAttribute>

Contains attributes about a target.

getTargets

Contains attributes about a target.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setTargets

Contains attributes about a target.

Parameter
Name Description
var array<Google\Cloud\Deploy\V1\TargetAttribute>
Returns
Type Description
$this