Reference documentation and code samples for the Google Cloud Workflows V1 Client class CreateWorkflowRequest.
Request for the CreateWorkflow method.
Generated from protobuf message google.cloud.workflows.v1.CreateWorkflowRequest
Namespace
Google \ Cloud \ Workflows \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
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 |
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 | |
|---|---|
| Type | Description |
string |
|
setParent
Required. Project and location in which the workflow should be created.
Format: projects/{project}/locations/{location}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getWorkflow
Required. Workflow to be created.
| Returns | |
|---|---|
| Type | Description |
Workflow|null |
|
hasWorkflow
clearWorkflow
setWorkflow
Required. Workflow to be created.
| Parameter | |
|---|---|
| Name | Description |
var |
Workflow
|
| Returns | |
|---|---|
| Type | Description |
$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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
parent |
string
Required. Project and location in which the workflow should be created. Format: projects/{project}/locations/{location} Please see WorkflowsClient::locationName() for help formatting this field. |
workflow |
Workflow
Required. Workflow to be created. |
workflowId |
string
Required. The ID of the workflow to be created. It has to fulfill the following requirements:
|
| Returns | |
|---|---|
| Type | Description |
CreateWorkflowRequest |
|