Google Cloud Workflows V1 Client - Class UpdateWorkflowRequest (0.5.5)

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
Name Description
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
Type Description
Google\Cloud\Workflows\V1\Workflow|null

hasWorkflow

clearWorkflow

setWorkflow

Required. Workflow to be updated.

Parameter
Name Description
var Google\Cloud\Workflows\V1\Workflow
Returns
Type Description
$this

getUpdateMask

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

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

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

Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

static::build

Parameters
Name Description
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
Type Description
Google\Cloud\Workflows\V1\UpdateWorkflowRequest