Recommender V1 Client - Class OperationGroup (1.10.0)

Reference documentation and code samples for the Recommender V1 Client class OperationGroup.

Group of operations that need to be performed atomically.

Generated from protobuf message google.cloud.recommender.v1.OperationGroup

Namespace

Google \ Cloud \ Recommender \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ operations array<Google\Cloud\Recommender\V1\Operation>

List of operations across one or more resources that belong to this group. Loosely based on RFC6902 and should be performed in the order they appear.

getOperations

List of operations across one or more resources that belong to this group.

Loosely based on RFC6902 and should be performed in the order they appear.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setOperations

List of operations across one or more resources that belong to this group.

Loosely based on RFC6902 and should be performed in the order they appear.

Parameter
NameDescription
var array<Google\Cloud\Recommender\V1\Operation>
Returns
TypeDescription
$this