Service Client: Google::Cloud::Run::V2::Execution::ExecutionsClient

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

target

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

credentials

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

NAME

Google::Cloud::Run::V2::Execution - Compiled Protocol Buffers messages for google/cloud/run/v2/execution.proto

SYNOPSIS

use Google::Cloud::Run::V2::Execution;

my $msg = Google::Cloud::Run::V2::Execution::GetExecutionRequest->new({
    name => $name,
});

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

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Run::V2::Execution::GetExecutionRequest->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/run/v2/execution.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::Run::V2::Execution::GetExecutionRequest

Request message for obtaining a Execution by its full name.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The full name of the Execution. Format: `projects/{project}/locations/{location}/jobs/{job}/executions/{execution}`, where `{project}` can be project id or number.

Google::Cloud::Run::V2::Execution::ListExecutionsRequest

Request message for retrieving a list of Executions.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The Execution from which the Executions should be listed. To list all Executions across Jobs, use "-" instead of Job name. Format: `projects/{project}/locations/{location}/jobs/{job}`, where `{project}` can be project id or number.

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

    Type: Int32

    Maximum number of Executions to return in this call.

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

    Type: String

    A page token received from a previous call to ListExecutions. All other parameters must match.

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

    Type: Bool

    If true, returns deleted (but unexpired) resources along with active ones.

Google::Cloud::Run::V2::Execution::ListExecutionsResponse

Response message containing a list of Executions.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Run::V2::Execution::Execution)

    The resulting list of Executions.

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

    Type: String

    A token indicating there are more items than page_size. Use it in the next ListExecutions request to continue.

Google::Cloud::Run::V2::Execution::DeleteExecutionRequest

Request message for deleting an Execution.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the Execution to delete. Format: `projects/{project}/locations/{location}/jobs/{job}/executions/{execution}`, where `{project}` can be project id or number.

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

    Type: Bool

    Indicates that the request should be validated without actually deleting any resources.

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

    Type: String

    A system-generated fingerprint for this version of the resource. This may be used to detect modification conflict during updates.

Google::Cloud::Run::V2::Execution::CancelExecutionRequest

Request message for deleting an Execution.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the Execution to cancel. Format: `projects/{project}/locations/{location}/jobs/{job}/executions/{execution}`, where `{project}` can be project id or number.

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

    Type: Bool

    Indicates that the request should be validated without actually cancelling any resources.

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

    Type: String

    A system-generated fingerprint for this version of the resource. This may be used to detect modification conflict during updates.

Google::Cloud::Run::V2::Execution::Execution

Execution represents the configuration of a single execution. A execution an immutable resource that references a container image which is run to completion.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Output only. The unique name of this Execution.

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

    Type: String

    Output only. Server assigned unique identifier for the Execution. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.

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

    Type: String

    Output only. Email address of the authenticated creator.

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

    Type: Int64

    Output only. A number that monotonically increases every time the user modifies the desired state.

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

    Type: Message (Google::Cloud::Run::V2::Execution::Execution::LabelsEntry)

    Output only. Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels

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

    Type: Message (Google::Cloud::Run::V2::Execution::Execution::AnnotationsEntry)

    Output only. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.

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

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

    Output only. Represents time when the execution was acknowledged by the execution controller. It is not guaranteed to be set in happens-before order across separate operations.

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

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

    Output only. Represents time when the execution started to run. It is not guaranteed to be set in happens-before order across separate operations.

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

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

    Output only. Represents time when the execution was completed. It is not guaranteed to be set in happens-before order across separate operations.

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

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

    Output only. The last-modified time.

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

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

    Output only. For a deleted resource, the deletion time. It is only populated as a response to a Delete request.

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

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

    Output only. For a deleted resource, the time after which it will be permamently deleted. It is only populated as a response to a Delete request.

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

    Type: Enum (Google::Api::LaunchStage)

    The least stable launch stage needed to create this resource, as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages). Cloud Run supports `ALPHA`, `BETA`, and `GA`.

    Note that this value might not be what was used as input. For example, if ALPHA was provided as input in the parent resource, but only BETA and GA-level features are used, this field will be BETA.

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

    Type: String

    Output only. The name of the parent Job.

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

    Type: Int32

    Output only. Specifies the maximum desired number of tasks the execution should run at any given time. Must be <= task_count. The actual number of tasks running in steady state will be less than this number when ((.spec.task_count - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism.

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

    Type: Int32

    Output only. Specifies the desired number of tasks the execution should run. Setting to 1 means that parallelism is limited to 1 and the success of that task signals the success of the execution.

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

    Type: Message (Google::Cloud::Run::V2::TaskTemplate::TaskTemplate)

    Output only. The template used to create tasks for this execution.

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

    Type: Bool

    Output only. Indicates whether the resource's reconciliation is still in progress. See comments in `Job.reconciling` for additional information on reconciliation process in Cloud Run.

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

    Type: Message (Google::Cloud::Run::V2::Condition::Condition)

    Output only. The Condition of this Execution, containing its readiness status, and detailed error information in case it did not reach the desired state.

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

    Type: Int64

    Output only. The generation of this Execution. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.

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

    Type: Int32

    Output only. The number of actively running tasks.

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

    Type: Int32

    Output only. The number of tasks which reached phase Succeeded.

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

    Type: Int32

    Output only. The number of tasks which reached phase Failed.

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

    Type: Int32

    Output only. The number of tasks which reached phase Cancelled.

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

    Type: Int32

    Output only. The number of tasks which have retried at least once.

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

    Type: String

    Output only. URI where logs for this execution can be found in Cloud Console.

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

    Type: Bool

    Output only. Reserved for future use.

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

    Type: String

    Output only. Arbitrary identifier for the API client.

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

    Type: String

    Output only. Arbitrary version identifier for the API client.

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

    Type: String

    Output only. A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Run::V2::Execution::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.