Class WorkstationsGrpc.WorkstationsStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractAsyncStub<WorkstationsGrpc.WorkstationsStub>
-
- com.google.cloud.workstations.v1beta.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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected WorkstationsGrpc.WorkstationsStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)voidcreateWorkstation(CreateWorkstationRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)Creates a new workstation.voidcreateWorkstationCluster(CreateWorkstationClusterRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)Creates a new workstation cluster.voidcreateWorkstationConfig(CreateWorkstationConfigRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)Creates a new workstation configuration.voiddeleteWorkstation(DeleteWorkstationRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)Deletes the specified workstation.voiddeleteWorkstationCluster(DeleteWorkstationClusterRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)Deletes the specified workstation cluster.voiddeleteWorkstationConfig(DeleteWorkstationConfigRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)Deletes the specified workstation configuration.voidgenerateAccessToken(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.voidgetWorkstation(GetWorkstationRequest request, io.grpc.stub.StreamObserver<Workstation> responseObserver)Returns the requested workstation.voidgetWorkstationCluster(GetWorkstationClusterRequest request, io.grpc.stub.StreamObserver<WorkstationCluster> responseObserver)Returns the requested workstation cluster.voidgetWorkstationConfig(GetWorkstationConfigRequest request, io.grpc.stub.StreamObserver<WorkstationConfig> responseObserver)Returns the requested workstation configuration.voidlistUsableWorkstationConfigs(ListUsableWorkstationConfigsRequest request, io.grpc.stub.StreamObserver<ListUsableWorkstationConfigsResponse> responseObserver)Returns all workstation configurations in the specified cluster on which the caller has the "workstations.workstation.create" permission.voidlistUsableWorkstations(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.voidlistWorkstationClusters(ListWorkstationClustersRequest request, io.grpc.stub.StreamObserver<ListWorkstationClustersResponse> responseObserver)Returns all workstation clusters in the specified location.voidlistWorkstationConfigs(ListWorkstationConfigsRequest request, io.grpc.stub.StreamObserver<ListWorkstationConfigsResponse> responseObserver)Returns all workstation configurations in the specified cluster.voidlistWorkstations(ListWorkstationsRequest request, io.grpc.stub.StreamObserver<ListWorkstationsResponse> responseObserver)Returns all Workstations using the specified workstation configuration.voidstartWorkstation(StartWorkstationRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)Starts running a workstation so that users can connect to it.voidstopWorkstation(StopWorkstationRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)Stops running a workstation, reducing costs.voidupdateWorkstation(UpdateWorkstationRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)Updates an existing workstation.voidupdateWorkstationCluster(UpdateWorkstationClusterRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)Updates an existing workstation cluster.voidupdateWorkstationConfig(UpdateWorkstationConfigRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)Updates an existing workstation configuration.
-
-
-
Method Detail
-
build
protected WorkstationsGrpc.WorkstationsStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<WorkstationsGrpc.WorkstationsStub>
-
getWorkstationCluster
public void getWorkstationCluster(GetWorkstationClusterRequest request, io.grpc.stub.StreamObserver<WorkstationCluster> responseObserver)
Returns the requested workstation cluster.
-
listWorkstationClusters
public void listWorkstationClusters(ListWorkstationClustersRequest request, io.grpc.stub.StreamObserver<ListWorkstationClustersResponse> responseObserver)
Returns all workstation clusters in the specified location.
-
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.
-
getWorkstationConfig
public void getWorkstationConfig(GetWorkstationConfigRequest request, io.grpc.stub.StreamObserver<WorkstationConfig> responseObserver)
Returns the requested workstation configuration.
-
listWorkstationConfigs
public void listWorkstationConfigs(ListWorkstationConfigsRequest request, io.grpc.stub.StreamObserver<ListWorkstationConfigsResponse> responseObserver)
Returns all workstation configurations in the specified cluster.
-
listUsableWorkstationConfigs
public void listUsableWorkstationConfigs(ListUsableWorkstationConfigsRequest request, io.grpc.stub.StreamObserver<ListUsableWorkstationConfigsResponse> responseObserver)
Returns all workstation configurations in the specified cluster on which the caller has the "workstations.workstation.create" permission.
-
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.
-
listWorkstations
public void listWorkstations(ListWorkstationsRequest request, io.grpc.stub.StreamObserver<ListWorkstationsResponse> responseObserver)
Returns all Workstations using the specified workstation configuration.
-
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.
-
-