- 1.51.0 (latest)
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.3
- 1.0.6
- 0.6.2
public abstract static class NotebookServiceGrpc.NotebookServiceImplBase implements BindableService
API v1 service for Cloud AI Platform Notebooks.
Implements
io.grpc.BindableServiceConstructors
NotebookServiceImplBase()
public NotebookServiceImplBase()
Methods
bindService()
public final ServerServiceDefinition bindService()
Type | Description |
io.grpc.ServerServiceDefinition |
createEnvironment(CreateEnvironmentRequest request, StreamObserver<Operation> responseObserver)
public void createEnvironment(CreateEnvironmentRequest request, StreamObserver<Operation> responseObserver)
Creates a new Environment.
Name | Description |
request | CreateEnvironmentRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
createExecution(CreateExecutionRequest request, StreamObserver<Operation> responseObserver)
public void createExecution(CreateExecutionRequest request, StreamObserver<Operation> responseObserver)
Creates a new Execution in a given project and location.
Name | Description |
request | CreateExecutionRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
createInstance(CreateInstanceRequest request, StreamObserver<Operation> responseObserver)
public void createInstance(CreateInstanceRequest request, StreamObserver<Operation> responseObserver)
Creates a new Instance in a given project and location.
Name | Description |
request | CreateInstanceRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
createSchedule(CreateScheduleRequest request, StreamObserver<Operation> responseObserver)
public void createSchedule(CreateScheduleRequest request, StreamObserver<Operation> responseObserver)
Creates a new Scheduled Notebook in a given project and location.
Name | Description |
request | CreateScheduleRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
deleteEnvironment(DeleteEnvironmentRequest request, StreamObserver<Operation> responseObserver)
public void deleteEnvironment(DeleteEnvironmentRequest request, StreamObserver<Operation> responseObserver)
Deletes a single Environment.
Name | Description |
request | DeleteEnvironmentRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
deleteExecution(DeleteExecutionRequest request, StreamObserver<Operation> responseObserver)
public void deleteExecution(DeleteExecutionRequest request, StreamObserver<Operation> responseObserver)
Deletes execution
Name | Description |
request | DeleteExecutionRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
deleteInstance(DeleteInstanceRequest request, StreamObserver<Operation> responseObserver)
public void deleteInstance(DeleteInstanceRequest request, StreamObserver<Operation> responseObserver)
Deletes a single Instance.
Name | Description |
request | DeleteInstanceRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
deleteSchedule(DeleteScheduleRequest request, StreamObserver<Operation> responseObserver)
public void deleteSchedule(DeleteScheduleRequest request, StreamObserver<Operation> responseObserver)
Deletes schedule and all underlying jobs
Name | Description |
request | DeleteScheduleRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
getEnvironment(GetEnvironmentRequest request, StreamObserver<Environment> responseObserver)
public void getEnvironment(GetEnvironmentRequest request, StreamObserver<Environment> responseObserver)
Gets details of a single Environment.
Name | Description |
request | GetEnvironmentRequest |
responseObserver | io.grpc.stub.StreamObserver<Environment> |
getExecution(GetExecutionRequest request, StreamObserver<Execution> responseObserver)
public void getExecution(GetExecutionRequest request, StreamObserver<Execution> responseObserver)
Gets details of executions
Name | Description |
request | GetExecutionRequest |
responseObserver | io.grpc.stub.StreamObserver<Execution> |
getInstance(GetInstanceRequest request, StreamObserver<Instance> responseObserver)
public void getInstance(GetInstanceRequest request, StreamObserver<Instance> responseObserver)
Gets details of a single Instance.
Name | Description |
request | GetInstanceRequest |
responseObserver | io.grpc.stub.StreamObserver<Instance> |
getInstanceHealth(GetInstanceHealthRequest request, StreamObserver<GetInstanceHealthResponse> responseObserver)
public void getInstanceHealth(GetInstanceHealthRequest request, StreamObserver<GetInstanceHealthResponse> responseObserver)
Check if a notebook instance is healthy.
Name | Description |
request | GetInstanceHealthRequest |
responseObserver | io.grpc.stub.StreamObserver<GetInstanceHealthResponse> |
getSchedule(GetScheduleRequest request, StreamObserver<Schedule> responseObserver)
public void getSchedule(GetScheduleRequest request, StreamObserver<Schedule> responseObserver)
Gets details of schedule
Name | Description |
request | GetScheduleRequest |
responseObserver | io.grpc.stub.StreamObserver<Schedule> |
isInstanceUpgradeable(IsInstanceUpgradeableRequest request, StreamObserver<IsInstanceUpgradeableResponse> responseObserver)
public void isInstanceUpgradeable(IsInstanceUpgradeableRequest request, StreamObserver<IsInstanceUpgradeableResponse> responseObserver)
Check if a notebook instance is upgradable.
Name | Description |
request | IsInstanceUpgradeableRequest |
responseObserver | io.grpc.stub.StreamObserver<IsInstanceUpgradeableResponse> |
listEnvironments(ListEnvironmentsRequest request, StreamObserver<ListEnvironmentsResponse> responseObserver)
public void listEnvironments(ListEnvironmentsRequest request, StreamObserver<ListEnvironmentsResponse> responseObserver)
Lists environments in a project.
Name | Description |
request | ListEnvironmentsRequest |
responseObserver | io.grpc.stub.StreamObserver<ListEnvironmentsResponse> |
listExecutions(ListExecutionsRequest request, StreamObserver<ListExecutionsResponse> responseObserver)
public void listExecutions(ListExecutionsRequest request, StreamObserver<ListExecutionsResponse> responseObserver)
Lists executions in a given project and location
Name | Description |
request | ListExecutionsRequest |
responseObserver | io.grpc.stub.StreamObserver<ListExecutionsResponse> |
listInstances(ListInstancesRequest request, StreamObserver<ListInstancesResponse> responseObserver)
public void listInstances(ListInstancesRequest request, StreamObserver<ListInstancesResponse> responseObserver)
Lists instances in a given project and location.
Name | Description |
request | ListInstancesRequest |
responseObserver | io.grpc.stub.StreamObserver<ListInstancesResponse> |
listSchedules(ListSchedulesRequest request, StreamObserver<ListSchedulesResponse> responseObserver)
public void listSchedules(ListSchedulesRequest request, StreamObserver<ListSchedulesResponse> responseObserver)
Lists schedules in a given project and location.
Name | Description |
request | ListSchedulesRequest |
responseObserver | io.grpc.stub.StreamObserver<ListSchedulesResponse> |
registerInstance(RegisterInstanceRequest request, StreamObserver<Operation> responseObserver)
public void registerInstance(RegisterInstanceRequest request, StreamObserver<Operation> responseObserver)
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.
Name | Description |
request | RegisterInstanceRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
reportInstanceInfo(ReportInstanceInfoRequest request, StreamObserver<Operation> responseObserver)
public void reportInstanceInfo(ReportInstanceInfoRequest request, StreamObserver<Operation> responseObserver)
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.
Name | Description |
request | ReportInstanceInfoRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
resetInstance(ResetInstanceRequest request, StreamObserver<Operation> responseObserver)
public void resetInstance(ResetInstanceRequest request, StreamObserver<Operation> responseObserver)
Resets a notebook instance.
Name | Description |
request | ResetInstanceRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
rollbackInstance(RollbackInstanceRequest request, StreamObserver<Operation> responseObserver)
public void rollbackInstance(RollbackInstanceRequest request, StreamObserver<Operation> responseObserver)
Rollbacks a notebook instance to the previous version.
Name | Description |
request | RollbackInstanceRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
setInstanceAccelerator(SetInstanceAcceleratorRequest request, StreamObserver<Operation> responseObserver)
public void setInstanceAccelerator(SetInstanceAcceleratorRequest request, StreamObserver<Operation> responseObserver)
Updates the guest accelerators of a single Instance.
Name | Description |
request | SetInstanceAcceleratorRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
setInstanceLabels(SetInstanceLabelsRequest request, StreamObserver<Operation> responseObserver)
public void setInstanceLabels(SetInstanceLabelsRequest request, StreamObserver<Operation> responseObserver)
Replaces all the labels of an Instance.
Name | Description |
request | SetInstanceLabelsRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
setInstanceMachineType(SetInstanceMachineTypeRequest request, StreamObserver<Operation> responseObserver)
public void setInstanceMachineType(SetInstanceMachineTypeRequest request, StreamObserver<Operation> responseObserver)
Updates the machine type of a single Instance.
Name | Description |
request | SetInstanceMachineTypeRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
startInstance(StartInstanceRequest request, StreamObserver<Operation> responseObserver)
public void startInstance(StartInstanceRequest request, StreamObserver<Operation> responseObserver)
Starts a notebook instance.
Name | Description |
request | StartInstanceRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
stopInstance(StopInstanceRequest request, StreamObserver<Operation> responseObserver)
public void stopInstance(StopInstanceRequest request, StreamObserver<Operation> responseObserver)
Stops a notebook instance.
Name | Description |
request | StopInstanceRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
triggerSchedule(TriggerScheduleRequest request, StreamObserver<Operation> responseObserver)
public void triggerSchedule(TriggerScheduleRequest request, StreamObserver<Operation> responseObserver)
Triggers execution of an existing schedule.
Name | Description |
request | TriggerScheduleRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
updateInstanceConfig(UpdateInstanceConfigRequest request, StreamObserver<Operation> responseObserver)
public void updateInstanceConfig(UpdateInstanceConfigRequest request, StreamObserver<Operation> responseObserver)
Update Notebook Instance configurations.
Name | Description |
request | UpdateInstanceConfigRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
updateInstanceMetadataItems(UpdateInstanceMetadataItemsRequest request, StreamObserver<UpdateInstanceMetadataItemsResponse> responseObserver)
public void updateInstanceMetadataItems(UpdateInstanceMetadataItemsRequest request, StreamObserver<UpdateInstanceMetadataItemsResponse> responseObserver)
Add/update metadata items for an instance.
Name | Description |
request | UpdateInstanceMetadataItemsRequest |
responseObserver | io.grpc.stub.StreamObserver<UpdateInstanceMetadataItemsResponse> |
updateShieldedInstanceConfig(UpdateShieldedInstanceConfigRequest request, StreamObserver<Operation> responseObserver)
public void updateShieldedInstanceConfig(UpdateShieldedInstanceConfigRequest request, StreamObserver<Operation> responseObserver)
Updates the Shielded instance configuration of a single Instance.
Name | Description |
request | UpdateShieldedInstanceConfigRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
upgradeInstance(UpgradeInstanceRequest request, StreamObserver<Operation> responseObserver)
public void upgradeInstance(UpgradeInstanceRequest request, StreamObserver<Operation> responseObserver)
Upgrades a notebook instance to the latest version.
Name | Description |
request | UpgradeInstanceRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
upgradeInstanceInternal(UpgradeInstanceInternalRequest request, StreamObserver<Operation> responseObserver)
public void upgradeInstanceInternal(UpgradeInstanceInternalRequest request, StreamObserver<Operation> responseObserver)
Allows notebook instances to call this endpoint to upgrade themselves. Do not use this method directly.
Name | Description |
request | UpgradeInstanceInternalRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |