Package com.google.cloud.notebooks.v1
Class NotebookServiceGrpc.NotebookServiceBlockingStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractBlockingStub<NotebookServiceGrpc.NotebookServiceBlockingStub>
-
- com.google.cloud.notebooks.v1.NotebookServiceGrpc.NotebookServiceBlockingStub
-
- Enclosing class:
- NotebookServiceGrpc
public static final class NotebookServiceGrpc.NotebookServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub<NotebookServiceGrpc.NotebookServiceBlockingStub>
A stub to allow clients to do synchronous rpc calls to service NotebookService.API v1 service for Cloud AI Platform Notebooks.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected NotebookServiceGrpc.NotebookServiceBlockingStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)com.google.longrunning.OperationcreateEnvironment(CreateEnvironmentRequest request)Creates a new Environment.com.google.longrunning.OperationcreateExecution(CreateExecutionRequest request)Creates a new Execution in a given project and location.com.google.longrunning.OperationcreateInstance(CreateInstanceRequest request)Creates a new Instance in a given project and location.com.google.longrunning.OperationcreateSchedule(CreateScheduleRequest request)Creates a new Scheduled Notebook in a given project and location.com.google.longrunning.OperationdeleteEnvironment(DeleteEnvironmentRequest request)Deletes a single Environment.com.google.longrunning.OperationdeleteExecution(DeleteExecutionRequest request)Deletes executioncom.google.longrunning.OperationdeleteInstance(DeleteInstanceRequest request)Deletes a single Instance.com.google.longrunning.OperationdeleteSchedule(DeleteScheduleRequest request)Deletes schedule and all underlying jobscom.google.longrunning.OperationdiagnoseInstance(DiagnoseInstanceRequest request)Creates a Diagnostic File and runs Diagnostic Tool given an Instance.EnvironmentgetEnvironment(GetEnvironmentRequest request)Gets details of a single Environment.ExecutiongetExecution(GetExecutionRequest request)Gets details of executionsInstancegetInstance(GetInstanceRequest request)Gets details of a single Instance.GetInstanceHealthResponsegetInstanceHealth(GetInstanceHealthRequest request)Check if a notebook instance is healthy.SchedulegetSchedule(GetScheduleRequest request)Gets details of scheduleIsInstanceUpgradeableResponseisInstanceUpgradeable(IsInstanceUpgradeableRequest request)Check if a notebook instance is upgradable.ListEnvironmentsResponselistEnvironments(ListEnvironmentsRequest request)Lists environments in a project.ListExecutionsResponselistExecutions(ListExecutionsRequest request)Lists executions in a given project and locationListInstancesResponselistInstances(ListInstancesRequest request)Lists instances in a given project and location.ListSchedulesResponselistSchedules(ListSchedulesRequest request)Lists schedules in a given project and location.com.google.longrunning.OperationregisterInstance(RegisterInstanceRequest request)Registers an existing legacy notebook instance to the Notebooks API server.com.google.longrunning.OperationreportInstanceInfo(ReportInstanceInfoRequest request)Allows notebook instances to report their latest instance information to the Notebooks API server.com.google.longrunning.OperationresetInstance(ResetInstanceRequest request)Resets a notebook instance.com.google.longrunning.OperationrollbackInstance(RollbackInstanceRequest request)Rollbacks a notebook instance to the previous version.com.google.longrunning.OperationsetInstanceAccelerator(SetInstanceAcceleratorRequest request)Updates the guest accelerators of a single Instance.com.google.longrunning.OperationsetInstanceLabels(SetInstanceLabelsRequest request)Replaces all the labels of an Instance.com.google.longrunning.OperationsetInstanceMachineType(SetInstanceMachineTypeRequest request)Updates the machine type of a single Instance.com.google.longrunning.OperationstartInstance(StartInstanceRequest request)Starts a notebook instance.com.google.longrunning.OperationstopInstance(StopInstanceRequest request)Stops a notebook instance.com.google.longrunning.OperationtriggerSchedule(TriggerScheduleRequest request)Triggers execution of an existing schedule.com.google.longrunning.OperationupdateInstanceConfig(UpdateInstanceConfigRequest request)Update Notebook Instance configurations.UpdateInstanceMetadataItemsResponseupdateInstanceMetadataItems(UpdateInstanceMetadataItemsRequest request)Add/update metadata items for an instance.com.google.longrunning.OperationupdateShieldedInstanceConfig(UpdateShieldedInstanceConfigRequest request)Updates the Shielded instance configuration of a single Instance.com.google.longrunning.OperationupgradeInstance(UpgradeInstanceRequest request)Upgrades a notebook instance to the latest version.com.google.longrunning.OperationupgradeInstanceInternal(UpgradeInstanceInternalRequest request)Allows notebook instances to call this endpoint to upgrade themselves.
-
-
-
Method Detail
-
build
protected NotebookServiceGrpc.NotebookServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<NotebookServiceGrpc.NotebookServiceBlockingStub>
-
listInstances
public ListInstancesResponse listInstances(ListInstancesRequest request)
Lists instances in a given project and location.
-
getInstance
public Instance getInstance(GetInstanceRequest request)
Gets details of a single Instance.
-
createInstance
public com.google.longrunning.Operation createInstance(CreateInstanceRequest request)
Creates a new Instance in a given project and location.
-
registerInstance
public com.google.longrunning.Operation registerInstance(RegisterInstanceRequest request)
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.
-
setInstanceAccelerator
public com.google.longrunning.Operation setInstanceAccelerator(SetInstanceAcceleratorRequest request)
Updates the guest accelerators of a single Instance.
-
setInstanceMachineType
public com.google.longrunning.Operation setInstanceMachineType(SetInstanceMachineTypeRequest request)
Updates the machine type of a single Instance.
-
updateInstanceConfig
public com.google.longrunning.Operation updateInstanceConfig(UpdateInstanceConfigRequest request)
Update Notebook Instance configurations.
-
updateShieldedInstanceConfig
public com.google.longrunning.Operation updateShieldedInstanceConfig(UpdateShieldedInstanceConfigRequest request)
Updates the Shielded instance configuration of a single Instance.
-
setInstanceLabels
public com.google.longrunning.Operation setInstanceLabels(SetInstanceLabelsRequest request)
Replaces all the labels of an Instance.
-
updateInstanceMetadataItems
public UpdateInstanceMetadataItemsResponse updateInstanceMetadataItems(UpdateInstanceMetadataItemsRequest request)
Add/update metadata items for an instance.
-
deleteInstance
public com.google.longrunning.Operation deleteInstance(DeleteInstanceRequest request)
Deletes a single Instance.
-
startInstance
public com.google.longrunning.Operation startInstance(StartInstanceRequest request)
Starts a notebook instance.
-
stopInstance
public com.google.longrunning.Operation stopInstance(StopInstanceRequest request)
Stops a notebook instance.
-
resetInstance
public com.google.longrunning.Operation resetInstance(ResetInstanceRequest request)
Resets a notebook instance.
-
reportInstanceInfo
public com.google.longrunning.Operation reportInstanceInfo(ReportInstanceInfoRequest request)
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.
-
isInstanceUpgradeable
public IsInstanceUpgradeableResponse isInstanceUpgradeable(IsInstanceUpgradeableRequest request)
Check if a notebook instance is upgradable.
-
getInstanceHealth
public GetInstanceHealthResponse getInstanceHealth(GetInstanceHealthRequest request)
Check if a notebook instance is healthy.
-
upgradeInstance
public com.google.longrunning.Operation upgradeInstance(UpgradeInstanceRequest request)
Upgrades a notebook instance to the latest version.
-
rollbackInstance
public com.google.longrunning.Operation rollbackInstance(RollbackInstanceRequest request)
Rollbacks a notebook instance to the previous version.
-
diagnoseInstance
public com.google.longrunning.Operation diagnoseInstance(DiagnoseInstanceRequest request)
Creates a Diagnostic File and runs Diagnostic Tool given an Instance.
-
upgradeInstanceInternal
public com.google.longrunning.Operation upgradeInstanceInternal(UpgradeInstanceInternalRequest request)
Allows notebook instances to call this endpoint to upgrade themselves. Do not use this method directly.
-
listEnvironments
public ListEnvironmentsResponse listEnvironments(ListEnvironmentsRequest request)
Lists environments in a project.
-
getEnvironment
public Environment getEnvironment(GetEnvironmentRequest request)
Gets details of a single Environment.
-
createEnvironment
public com.google.longrunning.Operation createEnvironment(CreateEnvironmentRequest request)
Creates a new Environment.
-
deleteEnvironment
public com.google.longrunning.Operation deleteEnvironment(DeleteEnvironmentRequest request)
Deletes a single Environment.
-
listSchedules
public ListSchedulesResponse listSchedules(ListSchedulesRequest request)
Lists schedules in a given project and location.
-
getSchedule
public Schedule getSchedule(GetScheduleRequest request)
Gets details of schedule
-
deleteSchedule
public com.google.longrunning.Operation deleteSchedule(DeleteScheduleRequest request)
Deletes schedule and all underlying jobs
-
createSchedule
public com.google.longrunning.Operation createSchedule(CreateScheduleRequest request)
Creates a new Scheduled Notebook in a given project and location.
-
triggerSchedule
public com.google.longrunning.Operation triggerSchedule(TriggerScheduleRequest request)
Triggers execution of an existing schedule.
-
listExecutions
public ListExecutionsResponse listExecutions(ListExecutionsRequest request)
Lists executions in a given project and location
-
getExecution
public Execution getExecution(GetExecutionRequest request)
Gets details of executions
-
deleteExecution
public com.google.longrunning.Operation deleteExecution(DeleteExecutionRequest request)
Deletes execution
-
createExecution
public com.google.longrunning.Operation createExecution(CreateExecutionRequest request)
Creates a new Execution in a given project and location.
-
-