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.WorkstationsStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
void
createWorkstation(CreateWorkstationRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a new workstation.void
createWorkstationCluster(CreateWorkstationClusterRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a new workstation cluster.void
createWorkstationConfig(CreateWorkstationConfigRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a new workstation configuration.void
deleteWorkstation(DeleteWorkstationRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes the specified workstation.void
deleteWorkstationCluster(DeleteWorkstationClusterRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes the specified workstation cluster.void
deleteWorkstationConfig(DeleteWorkstationConfigRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes the specified workstation configuration.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.void
getWorkstation(GetWorkstationRequest request, io.grpc.stub.StreamObserver<Workstation> responseObserver)
Returns the requested workstation.void
getWorkstationCluster(GetWorkstationClusterRequest request, io.grpc.stub.StreamObserver<WorkstationCluster> responseObserver)
Returns the requested workstation cluster.void
getWorkstationConfig(GetWorkstationConfigRequest request, io.grpc.stub.StreamObserver<WorkstationConfig> responseObserver)
Returns the requested workstation configuration.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.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.void
listWorkstationClusters(ListWorkstationClustersRequest request, io.grpc.stub.StreamObserver<ListWorkstationClustersResponse> responseObserver)
Returns all workstation clusters in the specified location.void
listWorkstationConfigs(ListWorkstationConfigsRequest request, io.grpc.stub.StreamObserver<ListWorkstationConfigsResponse> responseObserver)
Returns all workstation configurations in the specified cluster.void
listWorkstations(ListWorkstationsRequest request, io.grpc.stub.StreamObserver<ListWorkstationsResponse> responseObserver)
Returns all Workstations using the specified workstation configuration.void
startWorkstation(StartWorkstationRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Starts running a workstation so that users can connect to it.void
stopWorkstation(StopWorkstationRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Stops running a workstation, reducing costs.void
updateWorkstation(UpdateWorkstationRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates an existing workstation.void
updateWorkstationCluster(UpdateWorkstationClusterRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates an existing workstation cluster.void
updateWorkstationConfig(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:
build
in 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.
-
-