Interface NotebookServiceGrpc.AsyncService

    • Method Detail

      • getInstance

        default void getInstance​(GetInstanceRequest request,
                                 io.grpc.stub.StreamObserver<Instance> responseObserver)
         Gets details of a single Instance.
         
      • createInstance

        default void createInstance​(CreateInstanceRequest request,
                                    io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Creates a new Instance in a given project and location.
         
      • registerInstance

        default void registerInstance​(RegisterInstanceRequest request,
                                      io.grpc.stub.StreamObserver<com.google.longrunning.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.
         
      • setInstanceAccelerator

        default void setInstanceAccelerator​(SetInstanceAcceleratorRequest request,
                                            io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Updates the guest accelerators of a single Instance.
         
      • setInstanceMachineType

        default void setInstanceMachineType​(SetInstanceMachineTypeRequest request,
                                            io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Updates the machine type of a single Instance.
         
      • setInstanceLabels

        default void setInstanceLabels​(SetInstanceLabelsRequest request,
                                       io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Updates the labels of an Instance.
         
      • deleteInstance

        default void deleteInstance​(DeleteInstanceRequest request,
                                    io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Deletes a single Instance.
         
      • startInstance

        default void startInstance​(StartInstanceRequest request,
                                   io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Starts a notebook instance.
         
      • stopInstance

        default void stopInstance​(StopInstanceRequest request,
                                  io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Stops a notebook instance.
         
      • resetInstance

        default void resetInstance​(ResetInstanceRequest request,
                                   io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Resets a notebook instance.
         
      • reportInstanceInfo

        default void reportInstanceInfo​(ReportInstanceInfoRequest request,
                                        io.grpc.stub.StreamObserver<com.google.longrunning.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.
         
      • upgradeInstance

        @Deprecated
        default void upgradeInstance​(UpgradeInstanceRequest request,
                                     io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
        Deprecated.
         Upgrades a notebook instance to the latest version.
         Deprecated. Please consider using v1.
         
      • upgradeInstanceInternal

        @Deprecated
        default void upgradeInstanceInternal​(UpgradeInstanceInternalRequest request,
                                             io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
        Deprecated.
         Allows notebook instances to
         call this endpoint to upgrade themselves. Do not use this method directly.
         Deprecated. Please consider using v1.
         
      • getEnvironment

        default void getEnvironment​(GetEnvironmentRequest request,
                                    io.grpc.stub.StreamObserver<Environment> responseObserver)
         Gets details of a single Environment.
         
      • createEnvironment

        default void createEnvironment​(CreateEnvironmentRequest request,
                                       io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Creates a new Environment.
         
      • deleteEnvironment

        default void deleteEnvironment​(DeleteEnvironmentRequest request,
                                       io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Deletes a single Environment.