Workflows V1 API - Class Google::Cloud::Workflows::V1::CreateWorkflowRequest (v0.8.0)

Reference documentation and code samples for the Workflows V1 API class Google::Cloud::Workflows::V1::CreateWorkflowRequest.

Request for the CreateWorkflow method.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#parent

def parent() -> ::String
Returns
  • (::String) — Required. Project and location in which the workflow should be created. Format: projects/{project}/locations/{location}

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. Project and location in which the workflow should be created. Format: projects/{project}/locations/{location}
Returns
  • (::String) — Required. Project and location in which the workflow should be created. Format: projects/{project}/locations/{location}

#workflow

def workflow() -> ::Google::Cloud::Workflows::V1::Workflow
Returns

#workflow=

def workflow=(value) -> ::Google::Cloud::Workflows::V1::Workflow
Parameter
Returns

#workflow_id

def workflow_id() -> ::String
Returns
  • (::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.

#workflow_id=

def workflow_id=(value) -> ::String
Parameter
  • value (::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.
Returns
  • (::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.