NAME
Google::Cloud::Notebooks::V2::DiagnosticConfig - Compiled Protocol Buffers messages for google/cloud/notebooks/v2/diagnostic_config.proto
SYNOPSIS
use Google::Cloud::Notebooks::V2::DiagnosticConfig;
my $msg = Google::Cloud::Notebooks::V2::DiagnosticConfig::DiagnosticConfig->new({
gcs_bucket => $gcs_bucket,
relative_path => $relative_path,
enable_repair_flag => $enable_repair_flag,
enable_packet_capture_flag => $enable_packet_capture_flag,
});
# Read or update a field
my $val = $msg->gcs_bucket();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Notebooks::V2::DiagnosticConfig::DiagnosticConfig->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/notebooks/v2/diagnostic_config.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::DiagnosticConfig::DiagnosticConfig
Defines flags that are used to run the diagnostic tool
Inherits from Protobuf::Message.
Accessors
$msg->gcs_bucket()/$msg->gcs_bucket($value)Type:
StringRequired. User Cloud Storage bucket location (REQUIRED). Must be formatted with path prefix (`gs://$GCS_BUCKET`).
Permissions: User Managed Notebooks: - storage.buckets.writer: Must be given to the project's service account attached to VM. Google Managed Notebooks: - storage.buckets.writer: Must be given to the project's service account or user credentials attached to VM depending on authentication mode.
Cloud Storage bucket Log file will be written to `gs://$GCS_BUCKET/$RELATIVE_PATH/$VM_DATE_$TIME.tar.gz`
$msg->relative_path()/$msg->relative_path($value)Type:
StringOptional. Defines the relative storage path in the Cloud Storage bucket where the diagnostic logs will be written: Default path will be the root directory of the Cloud Storage bucket (`gs://$GCS_BUCKET/$DATE_$TIME.tar.gz`) Example of full path where Log file will be written: `gs://$GCS_BUCKET/$RELATIVE_PATH/`
$msg->enable_repair_flag()/$msg->enable_repair_flag($value)Type:
BoolOptional. Enables flag to repair service for instance
$msg->enable_packet_capture_flag()/$msg->enable_packet_capture_flag($value)Type:
BoolOptional. Enables flag to capture packets from the instance for 30 seconds
$msg->enable_copy_home_files_flag()/$msg->enable_copy_home_files_flag($value)Type:
BoolOptional. Enables flag to copy all `/home/jupyter` folder contents
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Notebooks::V2::DiagnosticConfig::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.