Service Client: Google::Cloud::Workflows::Executions::V1::Executions::ExecutionsClient
Client stub representing the remote Executions 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::Executions::V1::Executions - Compiled Protocol Buffers messages for google/cloud/workflows/executions/v1/executions.proto
SYNOPSIS
use Google::Cloud::Workflows::Executions::V1::Executions;
my $msg = Google::Cloud::Workflows::Executions::V1::Executions::Execution->new({
name => $name,
start_time => $start_time,
end_time => $end_time,
duration => $duration,
});
# Read or update a field
my $val = $msg->name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Workflows::Executions::V1::Executions::Execution->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/workflows/executions/v1/executions.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::Executions::V1::Executions::Execution
A running instance of a [Workflow](/workflows/docs/reference/rest/v1/projects.locations.workflows).
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringOutput only. The resource name of the execution. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
$msg->start_time()/$msg->start_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Marks the beginning of execution.
$msg->end_time()/$msg->end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Marks the end of execution, successful or not.
$msg->duration()/$msg->duration($value)Type:
Message(Google::Protobuf::Duration::Duration)Output only. Measures the duration of the execution.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Workflows::Executions::V1::Execution::State)Output only. Current state of the execution.
$msg->argument()/$msg->argument($value)Type:
StringInput parameters of the execution represented as a JSON string. The size limit is 32KB.
*Note*: If you are using the REST API directly to run your workflow, you must escape any JSON string value of `argument`. Example: `'{"argument":"{\"firstName\":\"FIRST\",\"lastName\":\"LAST\"}"}'`
$msg->result()/$msg->result($value)Type:
StringOutput only. Output of the execution represented as a JSON string. The value can only be present if the execution's state is `SUCCEEDED`.
$msg->error()/$msg->error($value)Type:
Message(Google::Cloud::Workflows::Executions::V1::Executions::Execution::Error)Output only. The error which caused the execution to finish prematurely. The value is only present if the execution's state is `FAILED` or `CANCELLED`.
$msg->workflow_revision_id()/$msg->workflow_revision_id($value)Type:
StringOutput only. Revision of the workflow this execution is using.
$msg->call_log_level()/$msg->call_log_level($value)Type:
Enum(Google::Cloud::Workflows::Executions::V1::Execution::CallLogLevel)The call logging level associated to this execution.
$msg->status()/$msg->status($value)Type:
Message(Google::Cloud::Workflows::Executions::V1::Executions::Execution::Status)Output only. Status tracks the current steps and progress data of this execution.
$msg->labels()/$msg->labels($value)Type:
Message(Google::Cloud::Workflows::Executions::V1::Executions::Execution::LabelsEntry)Labels associated with this execution. 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. By default, labels are inherited from the workflow but are overridden by any labels associated with the execution.
$msg->state_error()/$msg->state_error($value)Type:
Message(Google::Cloud::Workflows::Executions::V1::Executions::Execution::StateError)Output only. Error regarding the state of the Execution resource. For example, this field will have error details if the execution data is unavailable due to revoked KMS key permissions.
Enum: Execution::State
STATE_UNSPECIFIED=>0ACTIVE=>1SUCCEEDED=>2FAILED=>3CANCELLED=>4UNAVAILABLE=>5QUEUED=>6
Enum: Execution::CallLogLevel
CALL_LOG_LEVEL_UNSPECIFIED=>0LOG_ALL_CALLS=>1LOG_ERRORS_ONLY=>2LOG_NONE=>3
Google::Cloud::Workflows::Executions::V1::Executions::ListExecutionsRequest
Request for the [ListExecutions][] method.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Name of the workflow for which the executions should be listed. Format: projects/{project}/locations/{location}/workflows/{workflow}
$msg->page_size()/$msg->page_size($value)Type:
Int32Maximum number of executions to return per call. Max supported value depends on the selected Execution view: it's 1000 for BASIC and 100 for FULL. The default value used if the field is not specified is 100, regardless of the selected view. Values greater than the max value will be coerced down to it.
$msg->page_token()/$msg->page_token($value)Type:
StringA page token, received from a previous `ListExecutions` call. Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to `ListExecutions` must match the call that provided the page token.
Note that pagination is applied to dynamic data. The list of executions returned can change between page requests.
$msg->view()/$msg->view($value)Type:
Enum(Google::Cloud::Workflows::Executions::V1::ExecutionView)Optional. A view defining which fields should be filled in the returned executions. The API will default to the BASIC view.
$msg->filter()/$msg->filter($value)Type:
StringOptional. Filters applied to the [Executions.ListExecutions] results. The following fields are supported for filtering: executionID, state, startTime, endTime, duration, workflowRevisionID, stepName, and label.
$msg->order_by()/$msg->order_by($value)Type:
StringOptional. The ordering applied to the [Executions.ListExecutions] results. By default the ordering is based on descending start time. The following fields are supported for order by: executionID, startTime, endTime, duration, state, and workflowRevisionID.
Google::Cloud::Workflows::Executions::V1::Executions::ListExecutionsResponse
Response for the [ListExecutions][google.cloud.workflows.executions.v1.Executions.ListExecutions] method.
Inherits from Protobuf::Message.
Accessors
$msg->executions()/$msg->executions($value)Type:
Message(Google::Cloud::Workflows::Executions::V1::Executions::Execution)The executions which match the request.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
Google::Cloud::Workflows::Executions::V1::Executions::CreateExecutionRequest
Request for the [CreateExecution][google.cloud.workflows.executions.v1.Executions.CreateExecution] method.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Name of the workflow for which an execution should be created. Format: projects/{project}/locations/{location}/workflows/{workflow} The latest revision of the workflow will be used.
$msg->execution()/$msg->execution($value)Type:
Message(Google::Cloud::Workflows::Executions::V1::Executions::Execution)Required. Execution to be created.
Google::Cloud::Workflows::Executions::V1::Executions::GetExecutionRequest
Request for the [GetExecution][google.cloud.workflows.executions.v1.Executions.GetExecution] method.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the execution to be retrieved. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
$msg->view()/$msg->view($value)Type:
Enum(Google::Cloud::Workflows::Executions::V1::ExecutionView)Optional. A view defining which fields should be filled in the returned execution. The API will default to the FULL view.
Google::Cloud::Workflows::Executions::V1::Executions::CancelExecutionRequest
Request for the [CancelExecution][google.cloud.workflows.executions.v1.Executions.CancelExecution] method.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the execution to be cancelled. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Workflows::Executions::V1::Executions::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.