Index
ManagedNotebookService
(interface)NotebookService
(interface)ContainerImage
(message)CreateEnvironmentRequest
(message)CreateExecutionRequest
(message)CreateInstanceRequest
(message)CreateRuntimeRequest
(message)CreateScheduleRequest
(message)DeleteEnvironmentRequest
(message)DeleteExecutionRequest
(message)DeleteInstanceRequest
(message)DeleteRuntimeRequest
(message)DeleteScheduleRequest
(message)DiagnoseInstanceRequest
(message)DiagnosticConfig
(message)EncryptionConfig
(message)Environment
(message)Event
(message)Event.EventType
(enum)Execution
(message)Execution.State
(enum)ExecutionTemplate
(message)ExecutionTemplate.DataprocParameters
(message)ExecutionTemplate.JobType
(enum)ExecutionTemplate.ScaleTier
(enum)ExecutionTemplate.SchedulerAcceleratorConfig
(message)ExecutionTemplate.SchedulerAcceleratorType
(enum)ExecutionTemplate.VertexAIParameters
(message)GetEnvironmentRequest
(message)GetExecutionRequest
(message)GetInstanceHealthRequest
(message)GetInstanceHealthResponse
(message)GetInstanceHealthResponse.HealthState
(enum)GetInstanceRequest
(message)GetRuntimeRequest
(message)GetScheduleRequest
(message)Instance
(message)Instance.AcceleratorConfig
(message)Instance.AcceleratorType
(enum)Instance.Disk
(message)Instance.Disk.GuestOsFeature
(message)Instance.DiskEncryption
(enum)Instance.DiskType
(enum)Instance.NicType
(enum)Instance.ShieldedInstanceConfig
(message)Instance.State
(enum)Instance.UpgradeHistoryEntry
(message)Instance.UpgradeHistoryEntry.Action
(enum)Instance.UpgradeHistoryEntry.State
(enum)InstanceConfig
(message)InstanceMigrationEligibility
(message)InstanceMigrationEligibility.Error
(enum)InstanceMigrationEligibility.Warning
(enum)IsInstanceUpgradeableRequest
(message)IsInstanceUpgradeableResponse
(message)ListEnvironmentsRequest
(message)ListEnvironmentsResponse
(message)ListExecutionsRequest
(message)ListExecutionsResponse
(message)ListInstancesRequest
(message)ListInstancesResponse
(message)ListRuntimesRequest
(message)ListRuntimesResponse
(message)ListSchedulesRequest
(message)ListSchedulesResponse
(message)LocalDisk
(message)LocalDisk.RuntimeGuestOsFeature
(message)LocalDiskInitializeParams
(message)LocalDiskInitializeParams.DiskType
(enum)MigrateInstanceRequest
(message)MigrateInstanceRequest.PostStartupScriptOption
(enum)MigrateInstanceResponse
(message)MigrateRuntimeRequest
(message)MigrateRuntimeRequest.PostStartupScriptOption
(enum)OperationMetadata
(message)RegisterInstanceRequest
(message)ReportInstanceInfoRequest
(message)ReportRuntimeEventRequest
(message)ReservationAffinity
(message)ReservationAffinity.Type
(enum)ResetInstanceRequest
(message)ResetRuntimeRequest
(message)RollbackInstanceRequest
(message)Runtime
(message)Runtime.HealthState
(enum)Runtime.State
(enum)RuntimeAcceleratorConfig
(message)RuntimeAcceleratorConfig.AcceleratorType
(enum)RuntimeAccessConfig
(message)RuntimeAccessConfig.RuntimeAccessType
(enum)RuntimeMetrics
(message)RuntimeMigrationEligibility
(message)RuntimeMigrationEligibility.Error
(enum)RuntimeMigrationEligibility.Warning
(enum)RuntimeShieldedInstanceConfig
(message)RuntimeSoftwareConfig
(message)RuntimeSoftwareConfig.PostStartupScriptBehavior
(enum)Schedule
(message)Schedule.State
(enum)SetInstanceAcceleratorRequest
(message)SetInstanceLabelsRequest
(message)SetInstanceMachineTypeRequest
(message)StartInstanceRequest
(message)StartRuntimeRequest
(message)StopInstanceRequest
(message)StopRuntimeRequest
(message)SwitchRuntimeRequest
(message)UpdateInstanceConfigRequest
(message)UpdateInstanceMetadataItemsRequest
(message)UpdateInstanceMetadataItemsResponse
(message)UpdateRuntimeRequest
(message)UpdateShieldedInstanceConfigRequest
(message)UpgradeInstanceRequest
(message)UpgradeType
(enum)VirtualMachine
(message)VirtualMachineConfig
(message)VirtualMachineConfig.BootImage
(message)VirtualMachineConfig.NicType
(enum)VmImage
(message)
ManagedNotebookService
API v1 service for Managed Notebooks.
CreateRuntime |
---|
Creates a new Runtime in a given project and location.
|
DeleteRuntime |
---|
Deletes a single Runtime.
|
GetRuntime |
---|
Gets details of a single Runtime. The location must be a regional endpoint rather than zonal.
|
ListRuntimes |
---|
Lists Runtimes in a given project and location.
|
MigrateRuntime |
---|
Migrate an existing Runtime to a new Workbench Instance.
|
ReportRuntimeEvent |
---|
Reports and processes a runtime event.
|
ResetRuntime |
---|
Resets a Managed Notebook Runtime.
|
StartRuntime |
---|
Starts a Managed Notebook Runtime. Perform "Start" on GPU instances; "Resume" on CPU instances See: https://cloud.google.com/compute/docs/instances/stop-start-instance https://cloud.google.com/compute/docs/instances/suspend-resume-instance
|
StopRuntime |
---|
Stops a Managed Notebook Runtime. Perform "Stop" on GPU instances; "Suspend" on CPU instances See: https://cloud.google.com/compute/docs/instances/stop-start-instance https://cloud.google.com/compute/docs/instances/suspend-resume-instance
|
SwitchRuntime |
---|
Switch a Managed Notebook Runtime.
|
UpdateRuntime |
---|
Update Notebook Runtime configuration.
|
NotebookService
API v1 service for Cloud AI Platform Notebooks.
CreateEnvironment |
---|
Creates a new Environment.
|
CreateExecution |
---|
Creates a new Execution in a given project and location.
|
CreateInstance |
---|
Creates a new Instance in a given project and location.
|
CreateSchedule |
---|
Creates a new Scheduled Notebook in a given project and location.
|
DeleteEnvironment |
---|
Deletes a single Environment.
|
DeleteExecution |
---|
Deletes execution
|
DeleteInstance |
---|
Deletes a single Instance.
|
DeleteSchedule |
---|
Deletes schedule and all underlying jobs
|
DiagnoseInstance |
---|
Creates a Diagnostic File and runs Diagnostic Tool given an Instance.
|
GetEnvironment |
---|
Gets details of a single Environment.
|
GetExecution |
---|
Gets details of executions
|
GetInstance |
---|
Gets details of a single Instance.
|
GetInstanceHealth |
---|
Checks whether a notebook instance is healthy.
|
GetSchedule |
---|
Gets details of schedule
|
IsInstanceUpgradeable |
---|
Checks whether a notebook instance is upgradable.
|
ListEnvironments |
---|
Lists environments in a project.
|
ListExecutions |
---|
Lists executions in a given project and location
|
ListInstances |
---|
Lists instances in a given project and location.
|
ListSchedules |
---|
Lists schedules in a given project and location.
|
MigrateInstance |
---|
Migrates an existing User-Managed Notebook to Workbench Instances.
|
RegisterInstance |
---|
Registers an existing legacy notebook instance to the Notebooks API server. Legacy instances are instances created with the legacy Compute Engine calls. They are not manageable by the Notebooks API out of the box. This call makes these instances manageable by the Notebooks API.
|
ReportInstanceInfo |
---|
Allows notebook instances to report their latest instance information to the Notebooks API server. The server will merge the reported information to the instance metadata store. Do not use this method directly.
|
ResetInstance |
---|
Resets a notebook instance.
|
RollbackInstance |
---|
Rollbacks a notebook instance to the previous version.
|
SetInstanceAccelerator |
---|
Updates the guest accelerators of a single Instance.
|
SetInstanceLabels |
---|
Replaces all the labels of an Instance.
|
SetInstanceMachineType |
---|
Updates the machine type of a single Instance.
|
StartInstance |
---|
Starts a notebook instance.
|
StopInstance |
---|
Stops a notebook instance.
|
UpdateInstanceConfig |
---|
Update Notebook Instance configurations.
|
UpdateInstanceMetadataItems |
---|
Add/update metadata items for an instance.
|
UpdateShieldedInstanceConfig |
---|
Updates the Shielded instance configuration of a single Instance.
|
UpgradeInstance |
---|
Upgrades a notebook instance to the latest version.
|
ContainerImage
Definition of a container image for starting a notebook instance with the environment installed in a container.
Fields | |
---|---|
repository |
Required. The path to the container image repository. For example: |
tag |
The tag of the container image. If not specified, this defaults to the latest tag. |
CreateEnvironmentRequest
Request for creating a notebook environment.
Fields | |
---|---|
parent |
Required. Format: Authorization requires the following IAM permission on the specified resource
|
environment_ |
Required. User-defined unique ID of this environment. The |
environment |
Required. The environment to be created. |
CreateExecutionRequest
Request to create notebook execution
Fields | |
---|---|
parent |
Required. Format: Authorization requires the following IAM permission on the specified resource
|
execution_ |
Required. User-defined unique ID of this execution. |
execution |
Required. The execution to be created. |
CreateInstanceRequest
Request for creating a notebook instance.
Fields | |
---|---|
parent |
Required. Format: Authorization requires the following IAM permission on the specified resource
|
instance_ |
Required. User-defined unique ID of this instance. |
instance |
Required. The instance to be created. |
CreateRuntimeRequest
Request for creating a Managed Notebook Runtime.
Fields | |
---|---|
parent |
Required. Format: Authorization requires the following IAM permission on the specified resource
|
runtime_ |
Required. User-defined unique ID of this Runtime. |
runtime |
Required. The Runtime to be created. |
request_ |
Idempotent request UUID. |
CreateScheduleRequest
Request for created scheduled notebooks
Fields | |
---|---|
parent |
Required. Format: Authorization requires the following IAM permission on the specified resource
|
schedule_ |
Required. User-defined unique ID of this schedule. |
schedule |
Required. The schedule to be created. |
DeleteEnvironmentRequest
Request for deleting a notebook environment.
Fields | |
---|---|
name |
Required. Format: Authorization requires the following IAM permission on the specified resource
|
DeleteExecutionRequest
Request for deleting a scheduled notebook execution
Fields | |
---|---|
name |
Required. Format: Authorization requires the following IAM permission on the specified resource
|
DeleteInstanceRequest
Request for deleting a notebook instance.
Fields | |
---|---|
name |
Required. Format: Authorization requires the following IAM permission on the specified resource
|
DeleteRuntimeRequest
Request for deleting a Managed Notebook Runtime.
Fields | |
---|---|
name |
Required. Format: Authorization requires the following IAM permission on the specified resource
|
request_ |
Idempotent request UUID. |
DeleteScheduleRequest
Request for deleting an Schedule
Fields | |
---|---|
name |
Required. Format: Authorization requires the following IAM permission on the specified resource
|
DiagnoseInstanceRequest
Request for creating a notebook instance diagnostic file.
Fields | |
---|---|
name |
Required. Format: |
diagnostic_ |
Required. Defines flags that are used to run the diagnostic tool |
timeout_ |
Optional. Maximum amount of time in minutes before the operation times out. |
DiagnosticConfig
Defines flags that are used to run the diagnostic tool
Fields | |
---|---|
gcs_ |
Required. User Cloud Storage bucket location (REQUIRED). Must be formatted with path prefix ( 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 |
relative_ |
Optional. 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 ( |
repair_ |
Optional. Enables flag to repair service for instance |
packet_ |
Optional. Enables flag to capture packets from the instance for 30 seconds |
copy_ |
Optional. Enables flag to copy all |
EncryptionConfig
Represents a custom encryption key configuration that can be applied to a resource. This will encrypt all disks in Virtual Machine.
Fields | |
---|---|
kms_ |
The Cloud KMS resource identifier of the customer-managed encryption key used to protect a resource, such as a disks. It has the following format: |
Environment
Definition of a software environment that is used to start a notebook instance.
Fields | |
---|---|
name |
Output only. Name of this environment. Format: |
display_ |
Display name of this environment for the UI. |
description |
A brief description of this environment. |
post_ |
Path to a Bash script that automatically runs after a notebook instance fully boots up. The path must be a URL or Cloud Storage path. Example: |
create_ |
Output only. The time at which this environment was created. |
Union field image_type . Type of the environment; can be one of VM image, or container image. image_type can be only one of the following: |
|
vm_ |
Use a Compute Engine VM image to start the notebook instance. |
container_ |
Use a container image to start the notebook instance. |
Event
The definition of an Event for a managed / semi-managed notebook instance.
Fields | |
---|---|
report_ |
Event report time. |
type |
Event type. |
details |
Optional. Event details. This field is used to pass event information. |
EventType
The definition of the event types.
Enums | |
---|---|
EVENT_TYPE_UNSPECIFIED |
Event is not specified. |
IDLE |
The instance / runtime is idle |
HEARTBEAT |
The instance / runtime is available. This event indicates that instance / runtime underlying compute is operational. |
HEALTH |
The instance / runtime health is available. This event indicates that instance / runtime health information. |
MAINTENANCE |
The instance / runtime is available. This event allows instance / runtime to send Host maintenance information to Control Plane. https://cloud.google.com/compute/docs/gpus/gpu-host-maintenance |
Execution
The definition of a single executed notebook.
Fields | |
---|---|
execution_ |
execute metadata including name, hardware spec, region, labels, etc. |
name |
Output only. The resource name of the execute. Format: |
display_ |
Output only. Name used for UI purposes. Name can only contain alphanumeric characters and underscores '_'. |
description |
A brief description of this execution. |
create_ |
Output only. Time the Execution was instantiated. |
update_ |
Output only. Time the Execution was last updated. |
state |
Output only. State of the underlying AI Platform job. |
output_ |
Output notebook file generated by this execution |
job_ |
Output only. The URI of the external job used to execute the notebook. |
State
Enum description of the state of the underlying AIP job.
Enums | |
---|---|
STATE_UNSPECIFIED |
The job state is unspecified. |
QUEUED |
The job has been just created and processing has not yet begun. |
PREPARING |
The service is preparing to execution the job. |
RUNNING |
The job is in progress. |
SUCCEEDED |
The job completed successfully. |
FAILED |
The job failed. error_message should contain the details of the failure. |
CANCELLING |
The job is being cancelled. error_message should describe the reason for the cancellation. |
CANCELLED |
The job has been cancelled. error_message should describe the reason for the cancellation. |
EXPIRED |
The job has become expired (relevant to Vertex AI jobs) https://cloud.google.com/vertex-ai/docs/reference/rest/v1/JobState |
INITIALIZING |
The Execution is being created. |
ExecutionTemplate
The description a notebook execution workload.
Fields | |
---|---|
scale_tier |
Required. Scale tier of the hardware used for notebook execution. DEPRECATED Will be discontinued. As right now only CUSTOM is supported. |
master_ |
Specifies the type of virtual machine to use for your training job's master worker. You must specify this field when You can use certain Compute Engine machine types directly in this field. The following types are supported:
Alternatively, you can use the following legacy machine types:
Finally, if you want to use a TPU for training, specify |
accelerator_ |
Configuration (count and accelerator type) for hardware running notebook execution. |
labels |
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. |
input_ |
Path to the notebook file to execute. Must be in a Google Cloud Storage bucket. Format: |
container_ |
Container 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 |
output_ |
Path to the notebook folder to write to. Must be in a Google Cloud Storage bucket path. Format: |
params_ |
Parameters 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: |
parameters |
Parameters used within the 'input_notebook_file' notebook. |
service_ |
The email address of a service account to use when running the execution. You must have the |
job_ |
The type of Job to be used on this execution. |
kernel_ |
Name 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. |
tensorboard |
The name of a Vertex AI [Tensorboard] resource to which this execution will upload Tensorboard logs. Format: |
Union field job_parameters . Parameters for an execution type. NOTE: There are currently no extra parameters for VertexAI jobs. job_parameters can be only one of the following: |
|
dataproc_ |
Parameters used in Dataproc JobType executions. |
vertex_ |
Parameters used in Vertex AI JobType executions. |
DataprocParameters
Parameters used in Dataproc JobType executions.
Fields | |
---|---|
cluster |
URI for cluster used to run Dataproc execution. Format: |
JobType
The backend used for this execution.
Enums | |
---|---|
JOB_TYPE_UNSPECIFIED |
No type specified. |
VERTEX_AI |
Custom Job in aiplatform.googleapis.com . Default value for an execution. |
DATAPROC |
Run execution on a cluster with Dataproc as a job. https://cloud.google.com/dataproc/docs/reference/rest/v1/projects.regions.jobs |
ScaleTier
Required. Specifies the machine types, the number of replicas for workers and parameter servers.
Enums | |
---|---|
SCALE_TIER_UNSPECIFIED |
Unspecified Scale Tier. |
BASIC |
A single worker instance. This tier is suitable for learning how to use Cloud ML, and for experimenting with new models using small datasets. |
STANDARD_1 |
Many workers and a few parameter servers. |
PREMIUM_1 |
A large number of workers with many parameter servers. |
BASIC_GPU |
A single worker instance with a K80 GPU. |
BASIC_TPU |
A single worker instance with a Cloud TPU. |
CUSTOM |
The CUSTOM tier is not a set tier, but rather enables you to use your own cluster specification. When you use this tier, set values to configure your processing cluster according to these guidelines:
|
SchedulerAcceleratorConfig
Definition of a hardware accelerator. Note that not all combinations of type
and core_count
are valid. See GPUs on Compute Engine to find a valid combination. TPUs are not supported.
Fields | |
---|---|
type |
Type of this accelerator. |
core_ |
Count of cores of this accelerator. |
SchedulerAcceleratorType
Hardware accelerator types for AI Platform Training jobs.
Enums | |
---|---|
SCHEDULER_ACCELERATOR_TYPE_UNSPECIFIED |
Unspecified accelerator type. Default to no GPU. |
NVIDIA_TESLA_K80 |
Nvidia Tesla K80 GPU. |
NVIDIA_TESLA_P100 |
Nvidia Tesla P100 GPU. |
NVIDIA_TESLA_V100 |
Nvidia Tesla V100 GPU. |
NVIDIA_TESLA_P4 |
Nvidia Tesla P4 GPU. |
NVIDIA_TESLA_T4 |
Nvidia Tesla T4 GPU. |
NVIDIA_TESLA_A100 |
Nvidia Tesla A100 GPU. |
TPU_V2 |
TPU v2. |
TPU_V3 |
TPU v3. |
VertexAIParameters
Parameters used in Vertex AI JobType executions.
Fields | |
---|---|
network |
The full name of the Compute Engine network to which the Job should be peered. For example, Private services access must already be configured for the network. If left unspecified, the job is not peered with any network. |
env |
Environment variables. At most 100 environment variables can be specified and unique. Example: |
GetEnvironmentRequest
Request for getting a notebook environment.
Fields | |
---|---|
name |
Required. Format: Authorization requires the following IAM permission on the specified resource
|
GetExecutionRequest
Request for getting scheduled notebook execution
Fields | |
---|---|
name |
Required. Format: Authorization requires the following IAM permission on the specified resource
|
GetInstanceHealthRequest
Request for checking if a notebook instance is healthy.
Fields | |
---|---|
name |
Required. Format: Authorization requires the following IAM permission on the specified resource
|
GetInstanceHealthResponse
Response for checking if a notebook instance is healthy.
Fields | |
---|---|
health_ |
Output only. Runtime health_state. |
health_ |
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" } |
HealthState
If an instance is healthy or not.
Enums | |
---|---|
HEALTH_STATE_UNSPECIFIED |
The instance substate is unknown. |
HEALTHY |
The instance is known to be in an healthy state (for example, critical daemons are running) Applies to ACTIVE state. |
UNHEALTHY |
The instance is known to be in an unhealthy state (for example, critical daemons are not running) Applies to ACTIVE state. |
AGENT_NOT_INSTALLED |
The instance has not installed health monitoring agent. Applies to ACTIVE state. |
AGENT_NOT_RUNNING |
The instance health monitoring agent is not running. Applies to ACTIVE state. |
GetInstanceRequest
Request for getting a notebook instance.
Fields | |
---|---|
name |
Required. Format: Authorization requires the following IAM permission on the specified resource
|
GetRuntimeRequest
Request for getting a Managed Notebook Runtime.
Fields | |
---|---|
name |
Required. Format: Authorization requires the following IAM permission on the specified resource
|
GetScheduleRequest
Request for getting scheduled notebook.
Fields | |
---|---|
name |
Required. Format: Authorization requires the following IAM permission on the specified resource
|
Instance
The definition of a notebook instance.
Fields | |
---|---|
name |
Output only. The name of this notebook instance. Format: |
post_ |
Path to a Bash script that automatically runs after a notebook instance fully boots up. The path must be a URL or Cloud Storage path ( |
proxy_ |
Output only. The proxy endpoint that is used to access the Jupyter notebook. |
instance_ |
Input only. The owner of this instance after creation. Format: 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. |
service_ |
The service account on this instance, giving access to other Google Cloud services. You can use any service account within the same project, but you must have the service account user permission to use the instance. If not specified, the Compute Engine default service account is used. |
service_ |
Optional. The URIs of service account scopes to be included in Compute Engine instances. If not specified, the following scopes are defined: - https://www.googleapis.com/auth/cloud-platform - https://www.googleapis.com/auth/userinfo.email If not using default scopes, you need at least: https://www.googleapis.com/auth/compute |
machine_ |
Required. The Compute Engine machine type of this instance. |
accelerator_ |
The hardware accelerator used on this instance. If you use accelerators, make sure that your configuration has enough vCPUs and memory to support the |
state |
Output only. The state of this instance. |
install_ |
Whether the end user authorizes Google Cloud to install GPU driver on this instance. If this field is empty or set to false, the GPU driver won't be installed. Only applicable to instances with GPUs. |
custom_ |
Specify a custom Cloud Storage path where the GPU driver is stored. If not specified, we'll automatically choose from official GPU drivers. |
boot_ |
Input only. The type of the boot disk attached to this instance, defaults to standard persistent disk ( |
boot_ |
Input only. The size of the boot disk in GB attached to this instance, up to a maximum of 64000 GB (64 TB). The minimum recommended value is 100 GB. If not specified, this defaults to 100. |
data_ |
Input only. The type of the data disk attached to this instance, defaults to standard persistent disk ( |
data_ |
Input only. The size of the data disk in GB attached to this instance, up to a maximum of 64000 GB (64 TB). You can choose the size of the data disk based on how big your notebooks and data are. If not specified, this defaults to 100. |
no_ |
Input only. If true, the data disk will not be auto deleted when deleting the instance. |
disk_ |
Input only. Disk encryption method used on the boot and data disks, defaults to GMEK. |
kms_ |
Input only. The KMS key used to encrypt the disks, only applicable if disk_encryption is CMEK. Format: Learn more about using your own encryption keys. |
disks[] |
Output only. Attached disks to notebook instance. |
shielded_ |
Optional. Shielded VM configuration. Images using supported Shielded VM features. |
no_ |
If true, no external IP will be assigned to this instance. |
no_ |
If true, the notebook instance will not register with the proxy. |
network |
The name of the VPC that this instance is in. Format: |
subnet |
The name of the subnet that this instance is in. Format: |
labels |
Labels to apply to this instance. These can be later modified by the setLabels method. |
metadata |
Custom metadata to apply to this instance. For example, to specify a Cloud Storage bucket for automatic backup, you can use the |
tags[] |
Optional. The Compute Engine network tags to add to runtime (see Add network tags). |
upgrade_ |
The upgrade history of this instance. |
nic_ |
Optional. The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet. |
reservation_ |
Optional. The optional reservation affinity. Setting this field will apply the specified Zonal Compute Reservation to this notebook instance. |
creator |
Output only. Email address of entity that sent original CreateInstance request. |
can_ |
Optional. Flag to enable ip forwarding or not, default false/off. https://cloud.google.com/vpc/docs/using-routes#canipforward |
create_ |
Output only. Instance creation time. |
update_ |
Output only. Instance update time. |
instance_ |
Output only. Checks how feasible a migration from UmN to WbI is. |
Union field environment . Type of the environment; can be one of VM image, or container image. environment can be only one of the following: |
|
vm_ |
Use a Compute Engine VM image to start the notebook instance. |
container_ |
Use a container image to start the notebook instance. |
migrated |
Output only. Bool indicating whether this notebook has been migrated to a Workbench Instance |
AcceleratorConfig
Definition of a hardware accelerator. Note that not all combinations of type
and core_count
are valid. See GPUs on Compute Engine to find a valid combination. TPUs are not supported.
Fields | |
---|---|
type |
Type of this accelerator. |
core_ |
Count of cores of this accelerator. |
AcceleratorType
Definition of the types of hardware accelerators that can be used on this instance.
Enums | |
---|---|
ACCELERATOR_TYPE_UNSPECIFIED |
Accelerator type is not specified. |
NVIDIA_TESLA_K80 |
Accelerator type is Nvidia Tesla K80. |
NVIDIA_TESLA_P100 |
Accelerator type is Nvidia Tesla P100. |
NVIDIA_TESLA_V100 |
Accelerator type is Nvidia Tesla V100. |
NVIDIA_TESLA_P4 |
Accelerator type is Nvidia Tesla P4. |
NVIDIA_TESLA_T4 |
Accelerator type is Nvidia Tesla T4. |
NVIDIA_TESLA_A100 |
Accelerator type is Nvidia Tesla A100. |
NVIDIA_L4 |
Accelerator type is Nvidia Tesla L4. |
NVIDIA_A100_80GB |
Accelerator type is Nvidia Tesla A100 80GB. |
NVIDIA_TESLA_T4_VWS |
Accelerator type is NVIDIA Tesla T4 Virtual Workstations. |
NVIDIA_TESLA_P100_VWS |
Accelerator type is NVIDIA Tesla P100 Virtual Workstations. |
NVIDIA_TESLA_P4_VWS |
Accelerator type is NVIDIA Tesla P4 Virtual Workstations. |
NVIDIA_H100_80GB |
Accelerator type is NVIDIA H100 80GB. |
NVIDIA_H100_MEGA_80GB |
Accelerator type is NVIDIA H100 Mega 80GB. |
TPU_V2 |
(Coming soon) Accelerator type is TPU V2. |
TPU_V3 |
(Coming soon) Accelerator type is TPU V3. |
Disk
An instance-attached disk resource.
Fields | |
---|---|
auto_ |
Indicates whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance). |
boot |
Indicates that this is a boot disk. The virtual machine will use the first partition of the disk for its root filesystem. |
device_ |
Indicates a unique device name of your choice that is reflected into the If not specified, the server chooses a default device name to apply to this disk, in the form persistent-disk-x, where x is a number assigned by Google Compute Engine.This field is only applicable for persistent disks. |
disk_ |
Indicates the size of the disk in base-2 GB. |
guest_ |
Indicates a list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options. |
index |
A zero-based index to this disk, where 0 is reserved for the boot disk. If you have many disks attached to an instance, each disk would have a unique index number. |
interface |
Indicates the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. Persistent disks must always use SCSI and the request will fail if you attempt to attach a persistent disk in any other format than SCSI. Local SSDs can use either NVME or SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance. Valid values:
|
kind |
Type of the resource. Always compute#attachedDisk for attached disks. |
licenses[] |
A list of publicly visible licenses. Reserved for Google's use. A License represents billing and aggregate usage data for public and marketplace images. |
mode |
The mode in which to attach this disk, either
|
source |
Indicates a valid partial or full URL to an existing Persistent Disk resource. |
type |
Indicates the type of the disk, either
|
GuestOsFeature
Guest OS features for boot disk.
Fields | |
---|---|
type |
The ID of a supported feature. Read Enabling guest operating system features to see a list of available options. Valid values:
|
DiskEncryption
Definition of the disk encryption options.
Enums | |
---|---|
DISK_ENCRYPTION_UNSPECIFIED |
Disk encryption is not specified. |
GMEK |
Use Google managed encryption keys to encrypt the boot disk. |
CMEK |
Use customer managed encryption keys to encrypt the boot disk. |
DiskType
Possible disk types for notebook instances.
Enums | |
---|---|
DISK_TYPE_UNSPECIFIED |
Disk type not set. |
PD_STANDARD |
Standard persistent disk type. |
PD_SSD |
SSD persistent disk type. |
PD_BALANCED |
Balanced persistent disk type. |
PD_EXTREME |
Extreme persistent disk type. |
NicType
The type of vNIC driver. Default should be UNSPECIFIED_NIC_TYPE.
Enums | |
---|---|
UNSPECIFIED_NIC_TYPE |
No type specified. |
VIRTIO_NET |
VIRTIO |
GVNIC |
GVNIC |
ShieldedInstanceConfig
A set of Shielded Instance options. See Images using supported Shielded VM features. Not all combinations are valid.
Fields | |
---|---|
enable_ |
Defines whether the 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. |
enable_ |
Defines whether the instance has the vTPM enabled. Enabled by default. |
enable_ |
Defines whether the instance has integrity monitoring enabled. Enables monitoring and attestation of the boot integrity of the instance. The attestation is performed against the integrity policy baseline. This baseline is initially derived from the implicitly trusted boot image when the instance is created. Enabled by default. |
State
The definition of the states of this instance.
Enums | |
---|---|
STATE_UNSPECIFIED |
State is not specified. |
STARTING |
The control logic is starting the instance. |
PROVISIONING |
The control logic is installing required frameworks and registering the instance with notebook proxy |
ACTIVE |
The instance is running. |
STOPPING |
The control logic is stopping the instance. |
STOPPED |
The instance is stopped. |
DELETED |
The instance is deleted. |
UPGRADING |
The instance is upgrading. |
INITIALIZING |
The instance is being created. |
REGISTERING |
The instance is getting registered. |
SUSPENDING |
The instance is suspending. |
SUSPENDED |
The instance is suspended. |
UpgradeHistoryEntry
The entry of VM image upgrade history.
Fields | |
---|---|
snapshot |
The snapshot of the boot disk of this notebook instance before upgrade. |
vm_ |
The VM image before this instance upgrade. |
container_ |
The container image before this instance upgrade. |
framework |
The framework of this notebook instance. |
version |
The version of the notebook instance before this upgrade. |
state |
The state of this instance upgrade history entry. |
create_ |
The time that this instance upgrade history entry is created. |
target_image |
Target VM Image. Format: |
action |
Action. Rolloback or Upgrade. |
target_ |
Target VM Version, like m63. |
Action
The definition of operations of this upgrade history entry.
Enums | |
---|---|
ACTION_UNSPECIFIED |
Operation is not specified. |
UPGRADE |
Upgrade. |
ROLLBACK |
Rollback. |
State
The definition of the states of this upgrade history entry.
Enums | |
---|---|
STATE_UNSPECIFIED |
State is not specified. |
STARTED |
The instance upgrade is started. |
SUCCEEDED |
The instance upgrade is succeeded. |
FAILED |
The instance upgrade is failed. |
InstanceConfig
Notebook instance configurations that can be updated.
Fields | |
---|---|
notebook_ |
Cron expression in UTC timezone, used to schedule instance auto upgrade. Please follow the cron format. |
enable_ |
Verifies core internal services are running. |
InstanceMigrationEligibility
InstanceMigrationEligibility represents the feasibility information of a migration from UmN to WbI.
Fields | |
---|---|
warnings[] |
Output only. Certain configurations will be defaulted during the migration. |
errors[] |