Google Cloud Workflows V1beta Client - Class CreateWorkflowRequest (0.4.2)

Reference documentation and code samples for the Google Cloud Workflows V1beta Client class CreateWorkflowRequest.

Request for the CreateWorkflow method.

Generated from protobuf message google.cloud.workflows.v1beta.CreateWorkflowRequest

Namespace

Google \ Cloud \ Workflows \ V1beta

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Project and location in which the workflow should be created. Format: projects/{project}/locations/{location}

↳ workflow Google\Cloud\Workflows\V1beta\Workflow

Required. Workflow to be created.

↳ workflow_id string

Required. The ID of the workflow to be created. It has to fulfill the following requirements: * Must contain only letters, numbers, underscores and hyphens. * Must start with a letter. * Must be between 1-64 characters. * Must end with a number or a letter. * Must be unique within the customer project and location.

getParent

Required. Project and location in which the workflow should be created.

Format: projects/{project}/locations/{location}

Returns
TypeDescription
string

setParent

Required. Project and location in which the workflow should be created.

Format: projects/{project}/locations/{location}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getWorkflow

Required. Workflow to be created.

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

hasWorkflow

clearWorkflow

setWorkflow

Required. Workflow to be created.

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

getWorkflowId

Required. The ID of the workflow to be created. It has to fulfill the following requirements:

  • Must contain only letters, numbers, underscores and hyphens.

  • Must start with a letter.

  • Must be between 1-64 characters.
  • Must end with a number or a letter.
  • Must be unique within the customer project and location.
Returns
TypeDescription
string

setWorkflowId

Required. The ID of the workflow to be created. It has to fulfill the following requirements:

  • Must contain only letters, numbers, underscores and hyphens.

  • Must start with a letter.

  • Must be between 1-64 characters.
  • Must end with a number or a letter.
  • Must be unique within the customer project and location.
Parameter
NameDescription
var string
Returns
TypeDescription
$this