Service Client: Google::Cloud::Workflows::V1beta::Workflows::WorkflowsClient

Client stub representing the remote Workflows gRPC service. Delegates call dispatching to Google::gRPC::Client.

target

The endpoint target address. Defaults to workflows.googleapis.com:443.

credentials

The authentication credentials provider. Defaults to application default credentials via Google::Auth.

NAME

Google::Cloud::Workflows::V1beta::Workflows - Compiled Protocol Buffers messages for google/cloud/workflows/v1beta/workflows.proto

SYNOPSIS

use Google::Cloud::Workflows::V1beta::Workflows;

my $msg = Google::Cloud::Workflows::V1beta::Workflows::Workflow->new({
    name => $name,
    description => $description,
    state => $state,
    revision_id => $revision_id,
});

# Read or update a field
my $val = $msg->name();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Workflows::V1beta::Workflows::Workflow->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/workflows/v1beta/workflows.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Workflows::V1beta::Workflows::Workflow

Workflow program to be executed by Workflows.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    The resource name of the workflow. Format: projects/{project}/locations/{location}/workflows/{workflow}

  • $msg->description() / $msg->description($value)

    Type: String

    Description of the workflow provided by the user. Must be at most 1000 unicode characters long.

  • $msg->state() / $msg->state($value)

    Type: Enum (Google::Cloud::Workflows::V1beta::Workflow::State)

    Output only. State of the workflow deployment.

  • $msg->revision_id() / $msg->revision_id($value)

    Type: String

    Output only. The revision of the workflow. A new revision of a workflow is created as a result of updating the following properties of a workflow:

    - [Service account][google.cloud.workflows.v1beta.Workflow.service_account] - [Workflow code to be executed][google.cloud.workflows.v1beta.Workflow.source_contents]

    The format is "000001-a4d", where the first 6 characters define the zero-padded revision ordinal number. They are followed by a hyphen and 3 hexadecimal random characters.

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The timestamp of when the workflow was created.

  • $msg->update_time() / $msg->update_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The last update timestamp of the workflow.

  • $msg->revision_create_time() / $msg->revision_create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The timestamp that the latest revision of the workflow was created.

  • $msg->labels() / $msg->labels($value)

    Type: Message (Google::Cloud::Workflows::V1beta::Workflows::Workflow::LabelsEntry)

    Labels associated with this workflow. Labels can contain at most 64 entries. Keys and values can be no longer than 63 characters and can only contain lowercase letters, numeric characters, underscores and dashes. Label keys must start with a letter. International characters are allowed.

  • $msg->service_account() / $msg->service_account($value)

    Type: String

    The service account associated with the latest workflow version. This service account represents the identity of the workflow and determines what permissions the workflow has. Format: projects/{project}/serviceAccounts/{account} or {account}

    Using `-` as a wildcard for the `{project}` or not providing one at all will infer the project from the account. The `{account}` value can be the `email` address or the `unique_id` of the service account.

    If not provided, workflow will use the project's default service account. Modifying this field for an existing workflow results in a new workflow revision.

  • $msg->source_contents() / $msg->source_contents($value)

    Type: String

    Workflow code to be executed. The size limit is 128KB.

Enum: Workflow::State

  • STATE_UNSPECIFIED => 0

  • ACTIVE => 1

Google::Cloud::Workflows::V1beta::Workflows::ListWorkflowsRequest

Request for the [ListWorkflows][google.cloud.workflows.v1beta.Workflows.ListWorkflows] method.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. Project and location from which the workflows should be listed. Format: projects/{project}/locations/{location}

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Maximum number of workflows to return per call. The service may return fewer than this value. If the value is not specified, a default value of 500 will be used. The maximum permitted value is 1000 and values greater than 1000 will be coerced down to 1000.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    A page token, received from a previous `ListWorkflows` call. Provide this to retrieve the subsequent page.

    When paginating, all other parameters provided to `ListWorkflows` must match the call that provided the page token.

  • $msg->filter() / $msg->filter($value)

    Type: String

    Filter to restrict results to specific workflows.

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Comma-separated list of fields that that specify the order of the results. Default sorting order for a field is ascending. To specify descending order for a field, append a " desc" suffix. If not specified, the results will be returned in an unspecified order.

Google::Cloud::Workflows::V1beta::Workflows::ListWorkflowsResponse

Response for the [ListWorkflows][google.cloud.workflows.v1beta.Workflows.ListWorkflows] method.

Inherits from Protobuf::Message.

Accessors

  • $msg->workflows() / $msg->workflows($value)

    Type: Message (Google::Cloud::Workflows::V1beta::Workflows::Workflow)

    The workflows which match the request.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Unreachable resources.

Google::Cloud::Workflows::V1beta::Workflows::GetWorkflowRequest

Request for the [GetWorkflow][google.cloud.workflows.v1beta.Workflows.GetWorkflow] method.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. Name of the workflow which information should be retrieved. Format: projects/{project}/locations/{location}/workflows/{workflow}

Google::Cloud::Workflows::V1beta::Workflows::CreateWorkflowRequest

Request for the [CreateWorkflow][google.cloud.workflows.v1beta.Workflows.CreateWorkflow] method.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

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

  • $msg->workflow() / $msg->workflow($value)

    Type: Message (Google::Cloud::Workflows::V1beta::Workflows::Workflow)

    Required. Workflow to be created.

  • $msg->workflow_id() / $msg->workflow_id($value)

    Type: 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.

Google::Cloud::Workflows::V1beta::Workflows::DeleteWorkflowRequest

Request for the [DeleteWorkflow][google.cloud.workflows.v1beta.Workflows.DeleteWorkflow] method.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. Name of the workflow to be deleted. Format: projects/{project}/locations/{location}/workflows/{workflow}

Google::Cloud::Workflows::V1beta::Workflows::UpdateWorkflowRequest

Request for the [UpdateWorkflow][google.cloud.workflows.v1beta.Workflows.UpdateWorkflow] method.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Workflows::V1beta::Workflows::OperationMetadata

Represents the metadata of the long-running operation.

Inherits from Protobuf::Message.

Accessors

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    The time the operation was created.

  • $msg->end_time() / $msg->end_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    The time the operation finished running.

  • $msg->target() / $msg->target($value)

    Type: String

    Server-defined resource path for the target of the operation.

  • $msg->verb() / $msg->verb($value)

    Type: String

    Name of the verb executed by the operation.

  • $msg->api_version() / $msg->api_version($value)

    Type: String

    API version used to start the operation.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Workflows::V1beta::Workflows::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.