Class WorkstationsGrpc.WorkstationsStub

  • Enclosing class:
    WorkstationsGrpc

    public static final class WorkstationsGrpc.WorkstationsStub
    extends io.grpc.stub.AbstractAsyncStub<WorkstationsGrpc.WorkstationsStub>
    A stub to allow clients to do asynchronous rpc calls to service Workstations.
     Service for interacting with Cloud Workstations.
     
    • Method Detail

      • createWorkstationCluster

        public void createWorkstationCluster​(CreateWorkstationClusterRequest request,
                                             io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Creates a new workstation cluster.
         
      • updateWorkstationCluster

        public void updateWorkstationCluster​(UpdateWorkstationClusterRequest request,
                                             io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Updates an existing workstation cluster.
         
      • deleteWorkstationCluster

        public void deleteWorkstationCluster​(DeleteWorkstationClusterRequest request,
                                             io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Deletes the specified workstation cluster.
         
      • createWorkstationConfig

        public void createWorkstationConfig​(CreateWorkstationConfigRequest request,
                                            io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Creates a new workstation configuration.
         
      • updateWorkstationConfig

        public void updateWorkstationConfig​(UpdateWorkstationConfigRequest request,
                                            io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Updates an existing workstation configuration.
         
      • deleteWorkstationConfig

        public void deleteWorkstationConfig​(DeleteWorkstationConfigRequest request,
                                            io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Deletes the specified workstation configuration.
         
      • getWorkstation

        public void getWorkstation​(GetWorkstationRequest request,
                                   io.grpc.stub.StreamObserver<Workstation> responseObserver)
         Returns the requested workstation.
         
      • listUsableWorkstations

        public void listUsableWorkstations​(ListUsableWorkstationsRequest request,
                                           io.grpc.stub.StreamObserver<ListUsableWorkstationsResponse> responseObserver)
         Returns all workstations using the specified workstation configuration
         on which the caller has the "workstations.workstations.use" permission.
         
      • createWorkstation

        public void createWorkstation​(CreateWorkstationRequest request,
                                      io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Creates a new workstation.
         
      • updateWorkstation

        public void updateWorkstation​(UpdateWorkstationRequest request,
                                      io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Updates an existing workstation.
         
      • deleteWorkstation

        public void deleteWorkstation​(DeleteWorkstationRequest request,
                                      io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Deletes the specified workstation.
         
      • startWorkstation

        public void startWorkstation​(StartWorkstationRequest request,
                                     io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Starts running a workstation so that users can connect to it.
         
      • stopWorkstation

        public void stopWorkstation​(StopWorkstationRequest request,
                                    io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Stops running a workstation, reducing costs.
         
      • generateAccessToken

        public void generateAccessToken​(GenerateAccessTokenRequest request,
                                        io.grpc.stub.StreamObserver<GenerateAccessTokenResponse> responseObserver)
         Returns a short-lived credential that can be used to send authenticated and
         authorized traffic to a workstation.