Interface CreateWorkflowRequestOrBuilder (2.36.0)

public interface CreateWorkflowRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract String getParent()

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

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

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

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

getWorkflow()

public abstract Workflow getWorkflow()

Required. Workflow to be created.

.google.cloud.workflows.v1beta.Workflow workflow = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Workflow

The workflow.

getWorkflowId()

public abstract String 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.

string workflow_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The workflowId.

getWorkflowIdBytes()

public abstract ByteString getWorkflowIdBytes()

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.

string workflow_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for workflowId.

getWorkflowOrBuilder()

public abstract WorkflowOrBuilder getWorkflowOrBuilder()

Required. Workflow to be created.

.google.cloud.workflows.v1beta.Workflow workflow = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
WorkflowOrBuilder

hasWorkflow()

public abstract boolean hasWorkflow()

Required. Workflow to be created.

.google.cloud.workflows.v1beta.Workflow workflow = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the workflow field is set.