Google Cloud Workflows V1 Client - Class UpdateWorkflowRequest (0.4.2)

Reference documentation and code samples for the Google Cloud Workflows V1 Client class UpdateWorkflowRequest.

Request for the UpdateWorkflow method.

Generated from protobuf message google.cloud.workflows.v1.UpdateWorkflowRequest

Namespace

Google \ Cloud \ Workflows \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ workflow Google\Cloud\Workflows\V1\Workflow

Required. Workflow to be updated.

↳ update_mask Google\Protobuf\FieldMask

List of fields to be updated. If not present, the entire workflow will be updated.

getWorkflow

Required. Workflow to be updated.

Returns
TypeDescription
Google\Cloud\Workflows\V1\Workflow|null

hasWorkflow

clearWorkflow

setWorkflow

Required. Workflow to be updated.

Parameter
NameDescription
var Google\Cloud\Workflows\V1\Workflow
Returns
TypeDescription
$this

getUpdateMask

List of fields to be updated. If not present, the entire workflow will be updated.

Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

List of fields to be updated. If not present, the entire workflow will be updated.

Parameter
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
workflow Google\Cloud\Workflows\V1\Workflow

Required. Workflow to be updated.

updateMask Google\Protobuf\FieldMask

List of fields to be updated. If not present, the entire workflow will be updated.

Returns
TypeDescription
Google\Cloud\Workflows\V1\UpdateWorkflowRequest