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

        public com.google.longrunning.Operation setInstanceLabels​(SetInstanceLabelsRequest request)
         Updates 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

        @Deprecated
        public com.google.longrunning.Operation upgradeInstance​(UpgradeInstanceRequest request)
        Deprecated.
         Upgrades a notebook instance to the latest version.
         Deprecated. Please consider using v1.
         
      • upgradeInstanceInternal

        @Deprecated
        public com.google.longrunning.Operation upgradeInstanceInternal​(UpgradeInstanceInternalRequest request)
        Deprecated.
         Allows notebook instances to
         call this endpoint to upgrade themselves. Do not use this method directly.
         Deprecated. Please consider using v1.
         
      • 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.