NAME

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

SYNOPSIS

use Google::Cloud::Run::V2::Sandbox;

my $msg = Google::Cloud::Run::V2::Sandbox::SandboxConfiguration->new({
    templates => $templates,
});

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

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

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

DESCRIPTION

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

Configuration for sandboxes.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Run::V2::Sandbox::SandboxTemplate

Template for a single sandbox.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123).

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

    Type: String

    Required. Name of the container image in Dockerhub or Artifact Registry. If the host is not provided, Dockerhub is assumed.

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

    Type: String

    Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided.

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

    Type: String

    Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided.

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

    Type: Message (Google::Cloud::Run::V2::K8sMin::EnvVar)

    Optional. List of environment variables to set in the sandbox.

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

    Type: Message (Google::Cloud::Run::V2::K8sMin::VolumeMount)

    Optional. Volume to mount into the container's filesystem.

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

    Type: String

    Optional. Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.

SEE ALSO

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

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.