Package com.google.cloud.notebooks.v1 (1.4.0)

Stay organized with collections Save and categorize content based on your preferences.

A client to Notebooks API

The interfaces provided are listed below, along with usage samples.

ManagedNotebookServiceClient

Service Description: API v1 service for Managed Notebooks.

Sample for ManagedNotebookServiceClient:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (ManagedNotebookServiceClient managedNotebookServiceClient =
     ManagedNotebookServiceClient.create()) {
   RuntimeName name = RuntimeName.of("[PROJECT]", "[LOCATION]", "[RUNTIME]");
   Runtime response = managedNotebookServiceClient.getRuntime(name);
 }
 

NotebookServiceClient

Service Description: API v1 service for Cloud AI Platform Notebooks.

Sample for NotebookServiceClient:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (NotebookServiceClient notebookServiceClient = NotebookServiceClient.create()) {
   String name = "name3373707";
   Instance response = notebookServiceClient.getInstance(name);
 }
 

Classes

ContainerImage

Definition of a container image for starting a notebook instance with the environment installed in a container.

Protobuf type google.cloud.notebooks.v1.ContainerImage

ContainerImage.Builder

Definition of a container image for starting a notebook instance with the environment installed in a container.

Protobuf type google.cloud.notebooks.v1.ContainerImage

CreateEnvironmentRequest

Request for creating a notebook environment.

Protobuf type google.cloud.notebooks.v1.CreateEnvironmentRequest

CreateEnvironmentRequest.Builder

Request for creating a notebook environment.

Protobuf type google.cloud.notebooks.v1.CreateEnvironmentRequest

CreateExecutionRequest

Request to create notebook execution

Protobuf type google.cloud.notebooks.v1.CreateExecutionRequest

CreateExecutionRequest.Builder

Request to create notebook execution

Protobuf type google.cloud.notebooks.v1.CreateExecutionRequest

CreateInstanceRequest

Request for creating a notebook instance.

Protobuf type google.cloud.notebooks.v1.CreateInstanceRequest

CreateInstanceRequest.Builder

Request for creating a notebook instance.

Protobuf type google.cloud.notebooks.v1.CreateInstanceRequest

CreateRuntimeRequest

Request for creating a Managed Notebook Runtime.

Protobuf type google.cloud.notebooks.v1.CreateRuntimeRequest

CreateRuntimeRequest.Builder

Request for creating a Managed Notebook Runtime.

Protobuf type google.cloud.notebooks.v1.CreateRuntimeRequest

CreateScheduleRequest

Request for created scheduled notebooks

Protobuf type google.cloud.notebooks.v1.CreateScheduleRequest

CreateScheduleRequest.Builder

Request for created scheduled notebooks

Protobuf type google.cloud.notebooks.v1.CreateScheduleRequest

DeleteEnvironmentRequest

Request for deleting a notebook environment.

Protobuf type google.cloud.notebooks.v1.DeleteEnvironmentRequest

DeleteEnvironmentRequest.Builder

Request for deleting a notebook environment.

Protobuf type google.cloud.notebooks.v1.DeleteEnvironmentRequest

DeleteExecutionRequest

Request for deleting a scheduled notebook execution

Protobuf type google.cloud.notebooks.v1.DeleteExecutionRequest

DeleteExecutionRequest.Builder

Request for deleting a scheduled notebook execution

Protobuf type google.cloud.notebooks.v1.DeleteExecutionRequest

DeleteInstanceRequest

Request for deleting a notebook instance.

Protobuf type google.cloud.notebooks.v1.DeleteInstanceRequest

DeleteInstanceRequest.Builder

Request for deleting a notebook instance.

Protobuf type google.cloud.notebooks.v1.DeleteInstanceRequest

DeleteRuntimeRequest

Request for deleting a Managed Notebook Runtime.

Protobuf type google.cloud.notebooks.v1.DeleteRuntimeRequest

DeleteRuntimeRequest.Builder

Request for deleting a Managed Notebook Runtime.

Protobuf type google.cloud.notebooks.v1.DeleteRuntimeRequest

DeleteScheduleRequest

Request for deleting an Schedule

Protobuf type google.cloud.notebooks.v1.DeleteScheduleRequest

DeleteScheduleRequest.Builder

Request for deleting an Schedule

Protobuf type google.cloud.notebooks.v1.DeleteScheduleRequest

EncryptionConfig

Represents a custom encryption key configuration that can be applied to a resource. This will encrypt all disks in Virtual Machine.

Protobuf type google.cloud.notebooks.v1.EncryptionConfig

EncryptionConfig.Builder

Represents a custom encryption key configuration that can be applied to a resource. This will encrypt all disks in Virtual Machine.

Protobuf type google.cloud.notebooks.v1.EncryptionConfig

Environment

Definition of a software environment that is used to start a notebook instance.

Protobuf type google.cloud.notebooks.v1.Environment

Environment.Builder

Definition of a software environment that is used to start a notebook instance.

Protobuf type google.cloud.notebooks.v1.Environment

EnvironmentProto

Event

The definition of an Event for a managed / semi-managed notebook instance.

Protobuf type google.cloud.notebooks.v1.Event

Event.Builder

The definition of an Event for a managed / semi-managed notebook instance.

Protobuf type google.cloud.notebooks.v1.Event

EventProto

Execution

The definition of a single executed notebook.

Protobuf type google.cloud.notebooks.v1.Execution

Execution.Builder

The definition of a single executed notebook.

Protobuf type google.cloud.notebooks.v1.Execution

ExecutionName

ExecutionName.Builder

Builder for projects/{project}/location/{location}/executions/{execution}.

ExecutionProto

ExecutionTemplate

The description a notebook execution workload.

Protobuf type google.cloud.notebooks.v1.ExecutionTemplate

ExecutionTemplate.Builder

The description a notebook execution workload.

Protobuf type google.cloud.notebooks.v1.ExecutionTemplate

ExecutionTemplate.DataprocParameters

Parameters used in Dataproc JobType executions.

Protobuf type google.cloud.notebooks.v1.ExecutionTemplate.DataprocParameters

ExecutionTemplate.DataprocParameters.Builder

Parameters used in Dataproc JobType executions.

Protobuf type google.cloud.notebooks.v1.ExecutionTemplate.DataprocParameters

ExecutionTemplate.SchedulerAcceleratorConfig

Definition of a hardware accelerator. Note that not all combinations of type and core_count are valid. Check GPUs on Compute Engine to find a valid combination. TPUs are not supported.

Protobuf type google.cloud.notebooks.v1.ExecutionTemplate.SchedulerAcceleratorConfig

ExecutionTemplate.SchedulerAcceleratorConfig.Builder

Definition of a hardware accelerator. Note that not all combinations of type and core_count are valid. Check GPUs on Compute Engine to find a valid combination. TPUs are not supported.

Protobuf type google.cloud.notebooks.v1.ExecutionTemplate.SchedulerAcceleratorConfig

ExecutionTemplate.VertexAIParameters

Parameters used in Vertex AI JobType executions.

Protobuf type google.cloud.notebooks.v1.ExecutionTemplate.VertexAIParameters

ExecutionTemplate.VertexAIParameters.Builder

Parameters used in Vertex AI JobType executions.

Protobuf type google.cloud.notebooks.v1.ExecutionTemplate.VertexAIParameters

GetEnvironmentRequest

Request for getting a notebook environment.

Protobuf type google.cloud.notebooks.v1.GetEnvironmentRequest

GetEnvironmentRequest.Builder

Request for getting a notebook environment.

Protobuf type google.cloud.notebooks.v1.GetEnvironmentRequest

GetExecutionRequest

Request for getting scheduled notebook execution

Protobuf type google.cloud.notebooks.v1.GetExecutionRequest

GetExecutionRequest.Builder

Request for getting scheduled notebook execution

Protobuf type google.cloud.notebooks.v1.GetExecutionRequest

GetInstanceHealthRequest

Request for checking if a notebook instance is healthy.

Protobuf type google.cloud.notebooks.v1.GetInstanceHealthRequest

GetInstanceHealthRequest.Builder

Request for checking if a notebook instance is healthy.

Protobuf type google.cloud.notebooks.v1.GetInstanceHealthRequest

GetInstanceHealthResponse

Response for checking if a notebook instance is healthy.

Protobuf type google.cloud.notebooks.v1.GetInstanceHealthResponse

GetInstanceHealthResponse.Builder

Response for checking if a notebook instance is healthy.

Protobuf type google.cloud.notebooks.v1.GetInstanceHealthResponse

GetInstanceRequest

Request for getting a notebook instance.

Protobuf type google.cloud.notebooks.v1.GetInstanceRequest

GetInstanceRequest.Builder

Request for getting a notebook instance.

Protobuf type google.cloud.notebooks.v1.GetInstanceRequest

GetRuntimeRequest

Request for getting a Managed Notebook Runtime.

Protobuf type google.cloud.notebooks.v1.GetRuntimeRequest

GetRuntimeRequest.Builder

Request for getting a Managed Notebook Runtime.

Protobuf type google.cloud.notebooks.v1.GetRuntimeRequest

GetScheduleRequest

Request for getting scheduled notebook.

Protobuf type google.cloud.notebooks.v1.GetScheduleRequest

GetScheduleRequest.Builder

Request for getting scheduled notebook.

Protobuf type google.cloud.notebooks.v1.GetScheduleRequest

Instance

The definition of a notebook instance.

Protobuf type google.cloud.notebooks.v1.Instance

Instance.AcceleratorConfig

Definition of a hardware accelerator. Note that not all combinations of type and core_count are valid. Check GPUs on Compute Engine to find a valid combination. TPUs are not supported.

Protobuf type google.cloud.notebooks.v1.Instance.AcceleratorConfig

Instance.AcceleratorConfig.Builder

Definition of a hardware accelerator. Note that not all combinations of type and core_count are valid. Check GPUs on Compute Engine to find a valid combination. TPUs are not supported.

Protobuf type google.cloud.notebooks.v1.Instance.AcceleratorConfig

Instance.Builder

The definition of a notebook instance.

Protobuf type google.cloud.notebooks.v1.Instance

Instance.Disk

An instance-attached disk resource.

Protobuf type google.cloud.notebooks.v1.Instance.Disk

Instance.Disk.Builder

An instance-attached disk resource.

Protobuf type google.cloud.notebooks.v1.Instance.Disk

Instance.Disk.GuestOsFeature

Guest OS features for boot disk.

Protobuf type google.cloud.notebooks.v1.Instance.Disk.GuestOsFeature

Instance.Disk.GuestOsFeature.Builder

Guest OS features for boot disk.

Protobuf type google.cloud.notebooks.v1.Instance.Disk.GuestOsFeature

Instance.ShieldedInstanceConfig

A set of Shielded Instance options. Check [Images using supported Shielded VM features] Not all combinations are valid.

Protobuf type google.cloud.notebooks.v1.Instance.ShieldedInstanceConfig

Instance.ShieldedInstanceConfig.Builder

A set of Shielded Instance options. Check [Images using supported Shielded VM features] Not all combinations are valid.

Protobuf type google.cloud.notebooks.v1.Instance.ShieldedInstanceConfig

Instance.UpgradeHistoryEntry

The entry of VM image upgrade history.

Protobuf type google.cloud.notebooks.v1.Instance.UpgradeHistoryEntry

Instance.UpgradeHistoryEntry.Builder

The entry of VM image upgrade history.

Protobuf type google.cloud.notebooks.v1.Instance.UpgradeHistoryEntry

InstanceConfig

Notebook instance configurations that can be updated.

Protobuf type google.cloud.notebooks.v1.InstanceConfig

InstanceConfig.Builder

Notebook instance configurations that can be updated.

Protobuf type google.cloud.notebooks.v1.InstanceConfig

InstanceConfigProto

InstanceName

InstanceName.Builder

Builder for projects/{project}/instances/{instance}.

InstanceProto

IsInstanceUpgradeableRequest

Request for checking if a notebook instance is upgradeable.

Protobuf type google.cloud.notebooks.v1.IsInstanceUpgradeableRequest

IsInstanceUpgradeableRequest.Builder

Request for checking if a notebook instance is upgradeable.

Protobuf type google.cloud.notebooks.v1.IsInstanceUpgradeableRequest

IsInstanceUpgradeableResponse

Response for checking if a notebook instance is upgradeable.

Protobuf type google.cloud.notebooks.v1.IsInstanceUpgradeableResponse

IsInstanceUpgradeableResponse.Builder

Response for checking if a notebook instance is upgradeable.

Protobuf type google.cloud.notebooks.v1.IsInstanceUpgradeableResponse

ListEnvironmentsRequest

Request for listing environments.

Protobuf type google.cloud.notebooks.v1.ListEnvironmentsRequest

ListEnvironmentsRequest.Builder

Request for listing environments.

Protobuf type google.cloud.notebooks.v1.ListEnvironmentsRequest

ListEnvironmentsResponse

Response for listing environments.

Protobuf type google.cloud.notebooks.v1.ListEnvironmentsResponse

ListEnvironmentsResponse.Builder

Response for listing environments.

Protobuf type google.cloud.notebooks.v1.ListEnvironmentsResponse

ListExecutionsRequest

Request for listing scheduled notebook executions.

Protobuf type google.cloud.notebooks.v1.ListExecutionsRequest

ListExecutionsRequest.Builder

Request for listing scheduled notebook executions.

Protobuf type google.cloud.notebooks.v1.ListExecutionsRequest

ListExecutionsResponse

Response for listing scheduled notebook executions

Protobuf type google.cloud.notebooks.v1.ListExecutionsResponse

ListExecutionsResponse.Builder

Response for listing scheduled notebook executions

Protobuf type google.cloud.notebooks.v1.ListExecutionsResponse

ListInstancesRequest

Request for listing notebook instances.

Protobuf type google.cloud.notebooks.v1.ListInstancesRequest

ListInstancesRequest.Builder

Request for listing notebook instances.

Protobuf type google.cloud.notebooks.v1.ListInstancesRequest

ListInstancesResponse

Response for listing notebook instances.

Protobuf type google.cloud.notebooks.v1.ListInstancesResponse

ListInstancesResponse.Builder

Response for listing notebook instances.

Protobuf type google.cloud.notebooks.v1.ListInstancesResponse

ListRuntimesRequest

Request for listing Managed Notebook Runtimes.

Protobuf type google.cloud.notebooks.v1.ListRuntimesRequest

ListRuntimesRequest.Builder

Request for listing Managed Notebook Runtimes.

Protobuf type google.cloud.notebooks.v1.ListRuntimesRequest

ListRuntimesResponse

Response for listing Managed Notebook Runtimes.

Protobuf type google.cloud.notebooks.v1.ListRuntimesResponse

ListRuntimesResponse.Builder

Response for listing Managed Notebook Runtimes.

Protobuf type google.cloud.notebooks.v1.ListRuntimesResponse

ListSchedul