Class 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 Detail

      • 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.
         
      • 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.
         
      • 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.
         
      • 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.
         
      • 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.
         
      • 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.