NAME

Google::Cloud::Notebooks::V2::Instance - Compiled Protocol Buffers messages for google/cloud/notebooks/v2/instance.proto

SYNOPSIS

use Google::Cloud::Notebooks::V2::Instance;

my $msg = Google::Cloud::Notebooks::V2::Instance::UpgradeHistoryEntry->new({
    snapshot => $snapshot,
    vm_image => $vm_image,
    container_image => $container_image,
    framework => $framework,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/notebooks/v2/instance.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::V2::Instance::UpgradeHistoryEntry

The entry of VM image upgrade history.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Optional. The snapshot of the boot disk of this notebook instance before upgrade.

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

    Type: String

    Optional. The VM image before this instance upgrade.

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

    Type: String

    Optional. The container image before this instance upgrade.

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

    Type: String

    Optional. The framework of this notebook instance.

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

    Type: String

    Optional. The version of the notebook instance before this upgrade.

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

    Type: Enum (Google::Cloud::Notebooks::V2::UpgradeHistoryEntry::State)

    Output only. The state of this instance upgrade history entry.

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

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

    Immutable. The time that this instance upgrade history entry is created.

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

    Type: Enum (Google::Cloud::Notebooks::V2::UpgradeHistoryEntry::Action)

    Optional. Action. Rolloback or Upgrade.

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

    Type: String

    Optional. Target VM Version, like m63.

Enum: UpgradeHistoryEntry::State

  • STATE_UNSPECIFIED => 0

  • STARTED => 1

  • SUCCEEDED => 2

  • FAILED => 3

Enum: UpgradeHistoryEntry::Action

  • ACTION_UNSPECIFIED => 0

  • UPGRADE => 1

  • ROLLBACK => 2

Google::Cloud::Notebooks::V2::Instance::Instance

The definition of a notebook instance.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Output only. The name of this notebook instance. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`

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

    Type: Message (Google::Cloud::Notebooks::V2::GceSetup::GceSetup)

    Optional. Compute Engine setup for the notebook. Uses notebook-defined fields.

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

    Type: String

    Output only. The proxy endpoint that is used to access the Jupyter notebook.

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

    Type: String

    Optional. Input only. The owner of this instance after creation. Format: `alias@example.com`

    Currently supports one owner only. If not specified, all of the service account users of your VM instance's service account can use the instance.

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

    Type: String

    Output only. Email address of entity that sent original CreateInstance request.

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

    Type: Enum (Google::Cloud::Notebooks::V2::State)

    Output only. The state of this instance.

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

    Type: Message (Google::Cloud::Notebooks::V2::Instance::UpgradeHistoryEntry)

    Output only. The upgrade history of this instance.

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

    Type: String

    Output only. Unique ID of the resource.

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

    Type: Enum (Google::Cloud::Notebooks::V2::HealthState)

    Output only. Instance health_state.

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

    Type: Message (Google::Cloud::Notebooks::V2::Instance::Instance::HealthInfoEntry)

    Output only. Additional information about instance health. Example:

    healthInfo": {
      "docker_proxy_agent_status": "1",
      "docker_status": "1",
      "jupyterlab_api_status": "-1",
      "jupyterlab_status": "-1",
      "updated": "2020-10-18 09:40:03.573409"
    }
  • $msg->create_time() / $msg->create_time($value)

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

    Output only. Instance creation time.

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

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

    Output only. Instance update time.

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

    Type: Bool

    Optional. If true, the notebook instance will not register with the proxy.

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

    Type: Message (Google::Cloud::Notebooks::V2::Instance::Instance::LabelsEntry)

    Optional. Labels to apply to this instance. These can be later modified by the UpdateInstance method.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Notebooks::V2::Instance::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.