Service Client: Google::Cloud::Notebooks::V1::ManagedService::ManagedNotebookServiceClient

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

target

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

credentials

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

NAME

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

SYNOPSIS

use Google::Cloud::Notebooks::V1::ManagedService;

my $msg = Google::Cloud::Notebooks::V1::ManagedService::ListRuntimesRequest->new({
    parent => $parent,
    page_size => $page_size,
    page_token => $page_token,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/notebooks/v1/managed_service.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::ManagedService::ListRuntimesRequest

Request for listing Managed Notebook Runtimes.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Format: `parent=projects/{project_id}/locations/{location}`

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

    Type: Int32

    Maximum return size of the list call.

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

    Type: String

    A previous returned page token that can be used to continue listing from the last result.

Google::Cloud::Notebooks::V1::ManagedService::ListRuntimesResponse

Response for listing Managed Notebook Runtimes.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Notebooks::V1::Runtime::Runtime)

    A list of returned Runtimes.

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

    Type: String

    Page token that can be used to continue listing from the last result in the next list call.

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

    Type: String

    Locations that could not be reached. For example, `['us-west1', 'us-central1']`. A ListRuntimesResponse will only contain either runtimes or unreachables,

Google::Cloud::Notebooks::V1::ManagedService::GetRuntimeRequest

Request for getting a Managed Notebook Runtime.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Format: `projects/{project_id}/locations/{location}/runtimes/{runtime_id}`

Google::Cloud::Notebooks::V1::ManagedService::CreateRuntimeRequest

Request for creating a Managed Notebook Runtime.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Format: `parent=projects/{project_id}/locations/{location}`

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

    Type: String

    Required. User-defined unique ID of this Runtime.

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

    Type: Message (Google::Cloud::Notebooks::V1::Runtime::Runtime)

    Required. The Runtime to be created.

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

    Type: String

    Idempotent request UUID.

Google::Cloud::Notebooks::V1::ManagedService::DeleteRuntimeRequest

Request for deleting a Managed Notebook Runtime.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Format: `projects/{project_id}/locations/{location}/runtimes/{runtime_id}`

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

    Type: String

    Idempotent request UUID.

Google::Cloud::Notebooks::V1::ManagedService::StartRuntimeRequest

Request for starting a Managed Notebook Runtime.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Format: `projects/{project_id}/locations/{location}/runtimes/{runtime_id}`

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

    Type: String

    Idempotent request UUID.

Google::Cloud::Notebooks::V1::ManagedService::StopRuntimeRequest

Request for stopping a Managed Notebook Runtime.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Format: `projects/{project_id}/locations/{location}/runtimes/{runtime_id}`

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

    Type: String

    Idempotent request UUID.

Google::Cloud::Notebooks::V1::ManagedService::SwitchRuntimeRequest

Request for switching a Managed Notebook Runtime.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Format: `projects/{project_id}/locations/{location}/runtimes/{runtime_id}`

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

    Type: String

    machine type.

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

    Type: Message (Google::Cloud::Notebooks::V1::Runtime::RuntimeAcceleratorConfig)

    accelerator config.

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

    Type: String

    Idempotent request UUID.

Google::Cloud::Notebooks::V1::ManagedService::ResetRuntimeRequest

Request for resetting a Managed Notebook Runtime.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Format: `projects/{project_id}/locations/{location}/runtimes/{runtime_id}`

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

    Type: String

    Idempotent request UUID.

Google::Cloud::Notebooks::V1::ManagedService::UpgradeRuntimeRequest

Request for upgrading a Managed Notebook Runtime to the latest version. option (google.api.message_visibility).restriction = "TRUSTED_TESTER,SPECIAL_TESTER";

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Format: `projects/{project_id}/locations/{location}/runtimes/{runtime_id}`

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

    Type: String

    Idempotent request UUID.

Google::Cloud::Notebooks::V1::ManagedService::ReportRuntimeEventRequest

Request for reporting a Managed Notebook Event.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Format: `projects/{project_id}/locations/{location}/runtimes/{runtime_id}`

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

    Type: String

    Required. The VM hardware token for authenticating the VM. https://cloud.google.com/compute/docs/instances/verifying-instance-identity

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

    Type: Message (Google::Cloud::Notebooks::V1::Event::Event)

    Required. The Event to be reported.

Google::Cloud::Notebooks::V1::ManagedService::UpdateRuntimeRequest

Request for updating a Managed Notebook configuration.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Notebooks::V1::Runtime::Runtime)

    Required. The Runtime to be updated.

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

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Required. Specifies the path, relative to `Runtime`, of the field to update. For example, to change the software configuration kernels, the `update_mask` parameter would be specified as `software_config.kernels`, and the `PATCH` request body would specify the new value, as follows:

    {
      "software_config":{
        "kernels": [{
           'repository':
           'gcr.io/deeplearning-platform-release/pytorch-gpu', 'tag':
           'latest' }],
        }
    }

    Currently, only the following fields can be updated: - `software_config.kernels` - `software_config.post_startup_script` - `software_config.custom_gpu_driver_path` - `software_config.idle_shutdown` - `software_config.idle_shutdown_timeout` - `software_config.disable_terminal`

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

    Type: String

    Idempotent request UUID.

Google::Cloud::Notebooks::V1::ManagedService::RefreshRuntimeTokenInternalRequest

Request for getting a new access token.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Format: `projects/{project_id}/locations/{location}/runtimes/{runtime_id}`

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

    Type: String

    Required. The VM hardware token for authenticating the VM. https://cloud.google.com/compute/docs/instances/verifying-instance-identity

Google::Cloud::Notebooks::V1::ManagedService::RefreshRuntimeTokenInternalResponse

Response with a new access token.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The OAuth 2.0 access token.

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

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

    Output only. Token expiration time.

Google::Cloud::Notebooks::V1::ManagedService::DiagnoseRuntimeRequest

Request for creating a notebook instance diagnostic file.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Format: `projects/{project_id}/locations/{location}/runtimes/{runtimes_id}`

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

    Type: Message (Google::Cloud::Notebooks::V1::DiagnosticConfig::DiagnosticConfig)

    Required. Defines flags that are used to run the diagnostic tool

SEE ALSO

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

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.