@Generated("by gapic-generator-java")
Package com.google.cloud.notebooks.v2
A client to Notebooks API
The interfaces provided are listed below, along with usage samples.
======================= NotebookServiceClient =======================
Service Description: API v2 service for Workbench Notebooks Instances.
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()) {
InstanceName name = InstanceName.of("[PROJECT]", "[LOCATION]", "[INSTANCE]");
Instance response = notebookServiceClient.getInstance(name);
}
-
Class Summary Class Description AcceleratorConfig An accelerator configuration for a VM instance Definition of a hardware accelerator.AcceleratorConfig.Builder An accelerator configuration for a VM instance Definition of a hardware accelerator.BootDisk The definition of a boot disk.BootDisk.Builder The definition of a boot disk.CheckInstanceUpgradabilityRequest Request for checking if a notebook instance is upgradeable.CheckInstanceUpgradabilityRequest.Builder Request for checking if a notebook instance is upgradeable.CheckInstanceUpgradabilityResponse Response for checking if a notebook instance is upgradeable.CheckInstanceUpgradabilityResponse.Builder Response for checking if a notebook instance is upgradeable.ContainerImage Definition of a container image for starting a notebook instance with the environment installed in a container.ContainerImage.Builder Definition of a container image for starting a notebook instance with the environment installed in a container.CreateInstanceRequest Request for creating a notebook instance.CreateInstanceRequest.Builder Request for creating a notebook instance.DataDisk An instance-attached disk resource.DataDisk.Builder An instance-attached disk resource.DeleteInstanceRequest Request for deleting a notebook instance.DeleteInstanceRequest.Builder Request for deleting a notebook instance.DiagnoseInstanceRequest Request for creating a notebook instance diagnostic file.DiagnoseInstanceRequest.Builder Request for creating a notebook instance diagnostic file.DiagnosticConfig Defines flags that are used to run the diagnostic toolDiagnosticConfig.Builder Defines flags that are used to run the diagnostic toolDiagnosticConfigProto Event The definition of an Event for a managed / semi-managed notebook instance.Event.Builder The definition of an Event for a managed / semi-managed notebook instance.EventProto GceSetup The definition of how to configure a VM instance outside of Resources and Identity.GceSetup.Builder The definition of how to configure a VM instance outside of Resources and Identity.GceSetupProto GetInstanceRequest Request for getting a notebook instance.GetInstanceRequest.Builder Request for getting a notebook instance.GPUDriverConfig A GPU driver configurationGPUDriverConfig.Builder A GPU driver configurationInstance The definition of a notebook instance.Instance.Builder The definition of a notebook instance.InstanceName InstanceName.Builder Builder for projects/{project}/locations/{location}/instances/{instance}.InstanceProto ListInstancesRequest Request for listing notebook instances.ListInstancesRequest.Builder Request for listing notebook instances.ListInstancesResponse Response for listing notebook instances.ListInstancesResponse.Builder Response for listing notebook instances.LocationName LocationName.Builder Builder for projects/{project}/locations/{location}.NetworkInterface The definition of a network interface resource attached to a VM.NetworkInterface.Builder The definition of a network interface resource attached to a VM.NotebookServiceClient Service Description: API v2 service for Workbench Notebooks Instances.NotebookServiceClient.ListInstancesFixedSizeCollection NotebookServiceClient.ListInstancesPage NotebookServiceClient.ListInstancesPagedResponse NotebookServiceClient.ListLocationsFixedSizeCollection NotebookServiceClient.ListLocationsPage NotebookServiceClient.ListLocationsPagedResponse NotebookServiceGrpc API v2 service for Workbench Notebooks Instances.NotebookServiceGrpc.NotebookServiceBlockingStub A stub to allow clients to do synchronous rpc calls to service NotebookService.NotebookServiceGrpc.NotebookServiceFutureStub A stub to allow clients to do ListenableFuture-style rpc calls to service NotebookService.NotebookServiceGrpc.NotebookServiceImplBase Base class for the server implementation of the service NotebookService.NotebookServiceGrpc.NotebookServiceStub A stub to allow clients to do asynchronous rpc calls to service NotebookService.NotebookServiceSettings Settings class to configure an instance ofNotebookServiceClient
.NotebookServiceSettings.Builder Builder for NotebookServiceSettings.OperationMetadata Represents the metadata of the long-running operation.OperationMetadata.Builder Represents the metadata of the long-running operation.ResetInstanceRequest Request for resetting a notebook instanceResetInstanceRequest.Builder Request for resetting a notebook instanceRollbackInstanceRequest Request for rollbacking a notebook instanceRollbackInstanceRequest.Builder Request for rollbacking a notebook instanceServiceAccount A service account that acts as an identity.ServiceAccount.Builder A service account that acts as an identity.ServiceProto ShieldedInstanceConfig A set of Shielded Instance options.ShieldedInstanceConfig.Builder A set of Shielded Instance options.StartInstanceRequest Request for starting a notebook instanceStartInstanceRequest.Builder Request for starting a notebook instanceStopInstanceRequest Request for stopping a notebook instanceStopInstanceRequest.Builder Request for stopping a notebook instanceUpdateInstanceRequest Request for updating a notebook instance.UpdateInstanceRequest.Builder Request for updating a notebook instance.UpgradeHistoryEntry The entry of VM image upgrade history.UpgradeHistoryEntry.Builder The entry of VM image upgrade history.UpgradeInstanceRequest Request for upgrading a notebook instanceUpgradeInstanceRequest.Builder Request for upgrading a notebook instanceVmImage Definition of a custom Compute Engine virtual machine image for starting a notebook instance with the environment installed directly on the VM.VmImage.Builder Definition of a custom Compute Engine virtual machine image for starting a notebook instance with the environment installed directly on the VM. -
Enum Summary Enum Description AcceleratorConfig.AcceleratorType Definition of the types of hardware accelerators that can be used on this instance.DiskEncryption Definition of the disk encryption options.DiskType Possible disk types.Event.EventType The definition of the event types.GceSetup.ImageCase HealthState The instance health state.Instance.InfrastructureCase NetworkInterface.NicType The type of vNIC driver.State The definition of the states of this instance.UpgradeHistoryEntry.Action The definition of operations of this upgrade history entry.UpgradeHistoryEntry.State The definition of the states of this upgrade history entry.VmImage.ImageCase