NAME
Google::Cloud::Notebooks::V1::Execution - Compiled Protocol Buffers messages for google/cloud/notebooks/v1/execution.proto
SYNOPSIS
use Google::Cloud::Notebooks::V1::Execution;
my $msg = Google::Cloud::Notebooks::V1::Execution::ExecutionTemplate->new({
scale_tier => $scale_tier,
master_type => $master_type,
accelerator_config => $accelerator_config,
labels => $labels,
});
# Read or update a field
my $val = $msg->scale_tier();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Notebooks::V1::Execution::ExecutionTemplate->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/notebooks/v1/execution.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::Execution::ExecutionTemplate
The description a notebook execution workload.
Inherits from Protobuf::Message.
Accessors
$msg->scale_tier()/$msg->scale_tier($value)Type:
Enum(Google::Cloud::Notebooks::V1::ExecutionTemplate::ScaleTier)Required. Scale tier of the hardware used for notebook execution. DEPRECATED Will be discontinued. As right now only CUSTOM is supported.
$msg->master_type()/$msg->master_type($value)Type:
StringSpecifies the type of virtual machine to use for your training job's master worker. You must specify this field when `scaleTier` is set to `CUSTOM`.
You can use certain Compute Engine machine types directly in this field. The following types are supported:
- `n1-standard-4` - `n1-standard-8` - `n1-standard-16` - `n1-standard-32` - `n1-standard-64` - `n1-standard-96` - `n1-highmem-2` - `n1-highmem-4` - `n1-highmem-8` - `n1-highmem-16` - `n1-highmem-32` - `n1-highmem-64` - `n1-highmem-96` - `n1-highcpu-16` - `n1-highcpu-32` - `n1-highcpu-64` - `n1-highcpu-96`
Alternatively, you can use the following legacy machine types:
- `standard` - `large_model` - `complex_model_s` - `complex_model_m` - `complex_model_l` - `standard_gpu` - `complex_model_m_gpu` - `complex_model_l_gpu` - `standard_p100` - `complex_model_m_p100` - `standard_v100` - `large_model_v100` - `complex_model_m_v100` - `complex_model_l_v100`
Finally, if you want to use a TPU for training, specify `cloud_tpu` in this field. Learn more about the [special configuration options for training with TPU](https://cloud.google.com/ai-platform/training/docs/using-tpus#configuring_a_custom_tpu_machine).
$msg->accelerator_config()/$msg->accelerator_config($value)Type:
Message(Google::Cloud::Notebooks::V1::Execution::ExecutionTemplate::SchedulerAcceleratorConfig)Configuration (count and accelerator type) for hardware running notebook execution.
$msg->labels()/$msg->labels($value)Type:
Message(Google::Cloud::Notebooks::V1::Execution::ExecutionTemplate::LabelsEntry)Labels for execution. If execution is scheduled, a field included will be 'nbs-scheduled'. Otherwise, it is an immediate execution, and an included field will be 'nbs-immediate'. Use fields to efficiently index between various types of executions.
$msg->input_notebook_file()/$msg->input_notebook_file($value)Type:
StringPath to the notebook file to execute. Must be in a Google Cloud Storage bucket. Format: `gs://{bucket_name}/{folder}/{notebook_file_name}` Ex: `gs://notebook_user/scheduled_notebooks/sentiment_notebook.ipynb`
$msg->container_image_uri()/$msg->container_image_uri($value)Type:
StringContainer Image URI to a DLVM Example: 'gcr.io/deeplearning-platform-release/base-cu100' More examples can be found at: https://cloud.google.com/ai-platform/deep-learning-containers/docs/choosing-container
$msg->output_notebook_folder()/$msg->output_notebook_folder($value)Type:
StringPath to the notebook folder to write to. Must be in a Google Cloud Storage bucket path. Format: `gs://{bucket_name}/{folder}` Ex: `gs://notebook_user/scheduled_notebooks`
$msg->params_yaml_file()/$msg->params_yaml_file($value)Type:
StringParameters to be overridden in the notebook during execution. Ref https://papermill.readthedocs.io/en/latest/usage-parameterize.html on how to specifying parameters in the input notebook and pass them here in an YAML file. Ex: `gs://notebook_user/scheduled_notebooks/sentiment_notebook_params.yaml`
$msg->parameters()/$msg->parameters($value)Type:
StringParameters used within the 'input_notebook_file' notebook.
$msg->service_account()/$msg->service_account($value)Type:
StringThe email address of a service account to use when running the execution. You must have the `iam.serviceAccounts.actAs` permission for the specified service account.
$msg->job_type()/$msg->job_type($value)Type:
Enum(Google::Cloud::Notebooks::V1::ExecutionTemplate::JobType)The type of Job to be used on this execution.
$msg->dataproc_parameters()/$msg->dataproc_parameters($value)Type:
Message(Google::Cloud::Notebooks::V1::Execution::ExecutionTemplate::DataprocParameters)Parameters used in Dataproc JobType executions.
$msg->vertex_ai_parameters()/$msg->vertex_ai_parameters($value)Type:
Message(Google::Cloud::Notebooks::V1::Execution::ExecutionTemplate::VertexAIParameters)Parameters used in Vertex AI JobType executions.
$msg->kernel_spec()/$msg->kernel_spec($value)Type:
StringName of the kernel spec to use. This must be specified if the kernel spec name on the execution target does not match the name in the input notebook file.
$msg->tensorboard()/$msg->tensorboard($value)Type:
StringThe name of a Vertex AI [Tensorboard] resource to which this execution will upload Tensorboard logs. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}`
Enum: ExecutionTemplate::ScaleTier
SCALE_TIER_UNSPECIFIED=>0BASIC=>1STANDARD_1=>2PREMIUM_1=>3BASIC_GPU=>4BASIC_TPU=>5CUSTOM=>6
Enum: ExecutionTemplate::SchedulerAcceleratorType
SCHEDULER_ACCELERATOR_TYPE_UNSPECIFIED=>0NVIDIA_TESLA_K80=>1NVIDIA_TESLA_P100=>2NVIDIA_TESLA_V100=>3NVIDIA_TESLA_P4=>4NVIDIA_TESLA_T4=>5NVIDIA_TESLA_A100=>10TPU_V2=>6TPU_V3=>7
Enum: ExecutionTemplate::JobType
JOB_TYPE_UNSPECIFIED=>0VERTEX_AI=>1DATAPROC=>2
Google::Cloud::Notebooks::V1::Execution::Execution
The definition of a single executed notebook.
Inherits from Protobuf::Message.
Accessors
$msg->execution_template()/$msg->execution_template($value)Type:
Message(Google::Cloud::Notebooks::V1::Execution::ExecutionTemplate)execute metadata including name, hardware spec, region, labels, etc.
$msg->name()/$msg->name($value)Type:
StringOutput only. The resource name of the execute. Format: `projects/{project_id}/locations/{location}/executions/{execution_id}`
$msg->display_name()/$msg->display_name($value)Type:
StringOutput only. Name used for UI purposes. Name can only contain alphanumeric characters and underscores '_'.
$msg->description()/$msg->description($value)Type:
StringA brief description of this execution.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Time the Execution was instantiated.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Time the Execution was last updated.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Notebooks::V1::Execution::State)Output only. State of the underlying AI Platform job.
$msg->output_notebook_file()/$msg->output_notebook_file($value)Type:
StringOutput notebook file generated by this execution
$msg->job_uri()/$msg->job_uri($value)Type:
StringOutput only. The URI of the external job used to execute the notebook.
Enum: Execution::State
STATE_UNSPECIFIED=>0QUEUED=>1PREPARING=>2RUNNING=>3SUCCEEDED=>4FAILED=>5CANCELLING=>6CANCELLED=>7EXPIRED=>9INITIALIZING=>10
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Notebooks::V1::Execution::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.