NAME

Google::Cloud::Notebooks::V1::Environment - Compiled Protocol Buffers messages for google/cloud/notebooks/v1/environment.proto

SYNOPSIS

use Google::Cloud::Notebooks::V1::Environment;

my $msg = Google::Cloud::Notebooks::V1::Environment::Environment->new({
    name => $name,
    display_name => $display_name,
    description => $description,
    vm_image => $vm_image,
});

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

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Notebooks::V1::Environment::Environment->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/notebooks/v1/environment.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::Notebooks::V1::Environment::Environment

Definition of a software environment that is used to start a notebook instance.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Output only. Name of this environment. Format: `projects/{project_id}/locations/{location}/environments/{environment_id}`

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

    Type: String

    Display name of this environment for the UI.

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

    Type: String

    A brief description of this environment.

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

    Type: Message (Google::Cloud::Notebooks::V1::Environment::VmImage)

    Use a Compute Engine VM image to start the notebook instance.

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

    Type: Message (Google::Cloud::Notebooks::V1::Environment::ContainerImage)

    Use a container image to start the notebook instance.

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

    Type: String

    Path to a Bash script that automatically runs after a notebook instance fully boots up. The path must be a URL or Cloud Storage path. Example: `"gs://path-to-file/file-name"`

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

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

    Output only. The time at which this environment was created.

Google::Cloud::Notebooks::V1::Environment::VmImage

Definition of a custom Compute Engine virtual machine image for starting a notebook instance with the environment installed directly on the VM.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the Google Cloud project that this VM image belongs to. Format: `{project_id}`

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

    Type: String

    Use VM image name to find the image.

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

    Type: String

    Use this VM image family to find the image; the newest image in this family will be used.

Google::Cloud::Notebooks::V1::Environment::ContainerImage

Definition of a container image for starting a notebook instance with the environment installed in a container.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The path to the container image repository. For example: `gcr.io/{project_id}/{image_name}`

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

    Type: String

    The tag of the container image. If not specified, this defaults to the latest tag.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Notebooks::V1::Environment::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.