Recommender V1 Client - Class OperationGroup (2.0.1)

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
Name Description
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
Type Description
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
Name Description
var array<Google\Cloud\Recommender\V1\Operation>
Returns
Type Description
$this