NAME

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

SYNOPSIS

use Google::Cloud::Run::V2::ExecutionTemplate;

my $msg = Google::Cloud::Run::V2::ExecutionTemplate::ExecutionTemplate->new({
    labels => $labels,
    annotations => $annotations,
    parallelism => $parallelism,
    task_count => $task_count,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/run/v2/execution_template.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::ExecutionTemplate::ExecutionTemplate

ExecutionTemplate describes the data an execution should have when created from a template.

Inherits from Protobuf::Message.

Accessors

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

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

    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.

    <p>Cloud Run API v2 does not support labels with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 ExecutionTemplate.

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

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

    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.

    <p>Cloud Run API v2 does not support annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected. All system annotations in v1 now have a corresponding field in v2 ExecutionTemplate.

    <p>This field follows Kubernetes annotations' namespacing, limits, and rules.

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

    Type: Int32

    Optional. Specifies the maximum desired number of tasks the execution should run at given time. When the job is run, if this field is 0 or unset, the maximum possible value will be used for that execution. The actual number of tasks running in steady state will be less than this number when there are fewer tasks waiting to be completed remaining, i.e. when the work left to do is less than max parallelism.

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

    Type: Int32

    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. Defaults to 1.

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

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

    Required. Describes the task(s) that will be created when executing an execution.

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

    Type: Bool

    Optional. If true, the system will start the execution within the next 12 hours depending on available capacity.

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

    Type: String

    Optional. Arbitrary identifier for the API client.

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

    Type: String

    Optional. Arbitrary version identifier for the API client.

SEE ALSO

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

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.