Google Cloud Deploy V1 Client - Class AutomationResourceSelector (0.15.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
NameDescription
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
TypeDescription
Google\Protobuf\Internal\RepeatedField

setTargets

Contains attributes about a target.

Parameter
NameDescription
var array<Google\Cloud\Deploy\V1\TargetAttribute>
Returns
TypeDescription
$this