NAME
Google::Cloud::Notebooks::V2::GceSetup - Compiled Protocol Buffers messages for google/cloud/notebooks/v2/gce_setup.proto
SYNOPSIS
use Google::Cloud::Notebooks::V2::GceSetup;
my $msg = Google::Cloud::Notebooks::V2::GceSetup::NetworkInterface->new({
network => $network,
subnet => $subnet,
nic_type => $nic_type,
});
# Read or update a field
my $val = $msg->network();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Notebooks::V2::GceSetup::NetworkInterface->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/notebooks/v2/gce_setup.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::GceSetup::NetworkInterface
The definition of a network interface resource attached to a VM.
Inherits from Protobuf::Message.
Accessors
$msg->network()/$msg->network($value)Type:
StringOptional. The name of the VPC that this VM instance is in. Format: `projects/{project_id}/global/networks/{network_id}`
$msg->subnet()/$msg->subnet($value)Type:
StringOptional. The name of the subnet that this VM instance is in. Format: `projects/{project_id}/regions/{region}/subnetworks/{subnetwork_id}`
$msg->nic_type()/$msg->nic_type($value)Type:
Enum(Google::Cloud::Notebooks::V2::NetworkInterface::NicType)Optional. The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.
Enum: NetworkInterface::NicType
NIC_TYPE_UNSPECIFIED=>0VIRTIO_NET=>1GVNIC=>2
Google::Cloud::Notebooks::V2::GceSetup::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:
StringRequired. The name of the Google Cloud project that this VM image belongs to. Format: `{project_id}`
$msg->name()/$msg->name($value)Type:
StringOptional. Use VM image name to find the image.
$msg->family()/$msg->family($value)Type:
StringOptional. Use this VM image family to find the image; the newest image in this family will be used.
Google::Cloud::Notebooks::V2::GceSetup::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:
StringRequired. The path to the container image repository. For example: `gcr.io/{project_id}/{image_name}`
$msg->tag()/$msg->tag($value)Type:
StringOptional. The tag of the container image. If not specified, this defaults to the latest tag.
Google::Cloud::Notebooks::V2::GceSetup::AcceleratorConfig
An accelerator configuration for a VM instance Definition of a hardware accelerator. Note that there is no check on `type` and `core_count` combinations. TPUs are not supported. See [GPUs on Compute Engine](https://cloud.google.com/compute/docs/gpus/#gpus-list) to find a valid combination.
Inherits from Protobuf::Message.
Accessors
$msg->type()/$msg->type($value)Type:
Enum(Google::Cloud::Notebooks::V2::AcceleratorConfig::AcceleratorType)Optional. Type of this accelerator.
$msg->core_count()/$msg->core_count($value)Type:
Int64Optional. Count of cores of this accelerator.
Enum: AcceleratorConfig::AcceleratorType
ACCELERATOR_TYPE_UNSPECIFIED=>0NVIDIA_TESLA_P100=>2NVIDIA_TESLA_V100=>3NVIDIA_TESLA_P4=>4NVIDIA_TESLA_T4=>5NVIDIA_TESLA_A100=>11NVIDIA_A100_80GB=>12NVIDIA_L4=>13NVIDIA_TESLA_T4_VWS=>8NVIDIA_TESLA_P100_VWS=>9NVIDIA_TESLA_P4_VWS=>10
Google::Cloud::Notebooks::V2::GceSetup::ShieldedInstanceConfig
A set of Shielded Instance options. See [Images using supported Shielded VM features](https://cloud.google.com/compute/docs/instances/modifying-shielded-vm). Not all combinations are valid.
Inherits from Protobuf::Message.
Accessors
$msg->enable_secure_boot()/$msg->enable_secure_boot($value)Type:
BoolOptional. Defines whether the VM instance has Secure Boot enabled.
Secure Boot helps ensure that the system only runs authentic software by verifying the digital signature of all boot components, and halting the boot process if signature verification fails. Disabled by default.
$msg->enable_vtpm()/$msg->enable_vtpm($value)Type:
BoolOptional. Defines whether the VM instance has the vTPM enabled. Enabled by default.
$msg->enable_integrity_monitoring()/$msg->enable_integrity_monitoring($value)Type:
BoolOptional. Defines whether the VM instance has integrity monitoring enabled.
Enables monitoring and attestation of the boot integrity of the VM instance. The attestation is performed against the integrity policy baseline. This baseline is initially derived from the implicitly trusted boot image when the VM instance is created. Enabled by default.
Google::Cloud::Notebooks::V2::GceSetup::GPUDriverConfig
A GPU driver configuration
Inherits from Protobuf::Message.
Accessors
$msg->enable_gpu_driver()/$msg->enable_gpu_driver($value)Type:
BoolOptional. Whether the end user authorizes Google Cloud to install GPU driver on this VM instance. If this field is empty or set to false, the GPU driver won't be installed. Only applicable to instances with GPUs.
$msg->custom_gpu_driver_path()/$msg->custom_gpu_driver_path($value)Type:
StringOptional. Specify a custom Cloud Storage path where the GPU driver is stored. If not specified, we'll automatically choose from official GPU drivers.
Google::Cloud::Notebooks::V2::GceSetup::DataDisk
An instance-attached disk resource.
Inherits from Protobuf::Message.
Accessors
$msg->disk_size_gb()/$msg->disk_size_gb($value)Type:
Int64Optional. The size of the disk in GB attached to this VM instance, up to a maximum of 64000 GB (64 TB). If not specified, this defaults to 100.
$msg->disk_type()/$msg->disk_type($value)Type:
Enum(Google::Cloud::Notebooks::V2::DiskType)Optional. Input only. Indicates the type of the disk.
$msg->disk_encryption()/$msg->disk_encryption($value)Type:
Enum(Google::Cloud::Notebooks::V2::DiskEncryption)Optional. Input only. Disk encryption method used on the boot and data disks, defaults to GMEK.
$msg->kms_key()/$msg->kms_key($value)Type:
StringOptional. Input only. The KMS key used to encrypt the disks, only applicable if disk_encryption is CMEK. Format: `projects/{project_id}/locations/{location}/keyRings/{key_ring_id}/cryptoKeys/{key_id}`
Learn more about using your own encryption keys.
Google::Cloud::Notebooks::V2::GceSetup::BootDisk
The definition of a boot disk.
Inherits from Protobuf::Message.
Accessors
$msg->disk_size_gb()/$msg->disk_size_gb($value)Type:
Int64Optional. The size of the boot disk in GB attached to this instance, up to a maximum of 64000 GB (64 TB). If not specified, this defaults to the recommended value of 150GB.
$msg->disk_type()/$msg->disk_type($value)Type:
Enum(Google::Cloud::Notebooks::V2::DiskType)Optional. Indicates the type of the disk.
$msg->disk_encryption()/$msg->disk_encryption($value)Type:
Enum(Google::Cloud::Notebooks::V2::DiskEncryption)Optional. Input only. Disk encryption method used on the boot and data disks, defaults to GMEK.
$msg->kms_key()/$msg->kms_key($value)Type:
StringOptional. Input only. The KMS key used to encrypt the disks, only applicable if disk_encryption is CMEK. Format: `projects/{project_id}/locations/{location}/keyRings/{key_ring_id}/cryptoKeys/{key_id}`
Learn more about using your own encryption keys.
Google::Cloud::Notebooks::V2::GceSetup::ServiceAccount
A service account that acts as an identity.
Inherits from Protobuf::Message.
Accessors
$msg->email()/$msg->email($value)Type:
StringOptional. Email address of the service account.
$msg->scopes()/$msg->scopes($value)Type:
StringOutput only. The list of scopes to be made available for this service account. Set by the CLH to https://www.googleapis.com/auth/cloud-platform
Google::Cloud::Notebooks::V2::GceSetup::GceSetup
The definition of how to configure a VM instance outside of Resources and Identity.
Inherits from Protobuf::Message.
Accessors
$msg->machine_type()/$msg->machine_type($value)Type:
StringOptional. The machine type of the VM instance. https://cloud.google.com/compute/docs/machine-resource
$msg->accelerator_configs()/$msg->accelerator_configs($value)Type:
Message(Google::Cloud::Notebooks::V2::GceSetup::AcceleratorConfig)Optional. The hardware accelerators used on this instance. If you use accelerators, make sure that your configuration has [enough vCPUs and memory to support the `machine_type` you have selected](https://cloud.google.com/compute/docs/gpus/#gpus-list). Currently supports only one accelerator configuration.
$msg->service_accounts()/$msg->service_accounts($value)Type:
Message(Google::Cloud::Notebooks::V2::GceSetup::ServiceAccount)Optional. The service account that serves as an identity for the VM instance. Currently supports only one service account.
$msg->vm_image()/$msg->vm_image($value)Type:
Message(Google::Cloud::Notebooks::V2::GceSetup::VmImage)Optional. Use a Compute Engine VM image to start the notebook instance.
$msg->container_image()/$msg->container_image($value)Type:
Message(Google::Cloud::Notebooks::V2::GceSetup::ContainerImage)Optional. Use a container image to start the notebook instance.
$msg->boot_disk()/$msg->boot_disk($value)Type:
Message(Google::Cloud::Notebooks::V2::GceSetup::BootDisk)Optional. The boot disk for the VM.
$msg->data_disks()/$msg->data_disks($value)Type:
Message(Google::Cloud::Notebooks::V2::GceSetup::DataDisk)Optional. Data disks attached to the VM instance. Currently supports only one data disk.
$msg->shielded_instance_config()/$msg->shielded_instance_config($value)Type:
Message(Google::Cloud::Notebooks::V2::GceSetup::ShieldedInstanceConfig)Optional. Shielded VM configuration. [Images using supported Shielded VM features](https://cloud.google.com/compute/docs/instances/modifying-shielded-vm).
$msg->network_interfaces()/$msg->network_interfaces($value)Type:
Message(Google::Cloud::Notebooks::V2::GceSetup::NetworkInterface)Optional. The network interfaces for the VM. Supports only one interface.
$msg->disable_public_ip()/$msg->disable_public_ip($value)Type:
BoolOptional. If true, no external IP will be assigned to this VM instance.
$msg->tags()/$msg->tags($value)Type:
StringOptional. The Compute Engine tags to add to runtime (see [Tagging instances](https://cloud.google.com/compute/docs/label-or-tag-resources#tags)).
$msg->metadata()/$msg->metadata($value)Type:
Message(Google::Cloud::Notebooks::V2::GceSetup::GceSetup::MetadataEntry)Optional. Custom metadata to apply to this instance.
$msg->enable_ip_forwarding()/$msg->enable_ip_forwarding($value)Type:
BoolOptional. Flag to enable ip forwarding or not, default false/off. https://cloud.google.com/vpc/docs/using-routes#canipforward
$msg->gpu_driver_config()/$msg->gpu_driver_config($value)Type:
Message(Google::Cloud::Notebooks::V2::GceSetup::GPUDriverConfig)Optional. Configuration for GPU drivers.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Notebooks::V2::GceSetup::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.