public static final class WorkstationsGrpc.WorkstationsStub extends io.grpc.stub.AbstractAsyncStub<WorkstationsGrpc.WorkstationsStub>
Service for interacting with Cloud Workstations.
| Modifier and Type | Method and 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.
|
protected WorkstationsGrpc.WorkstationsStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<WorkstationsGrpc.WorkstationsStub>public void getWorkstationCluster(GetWorkstationClusterRequest request, io.grpc.stub.StreamObserver<WorkstationCluster> responseObserver)
Returns the requested workstation cluster.
public void listWorkstationClusters(ListWorkstationClustersRequest request, io.grpc.stub.StreamObserver<ListWorkstationClustersResponse> responseObserver)
Returns all workstation clusters in the specified location.
public void createWorkstationCluster(CreateWorkstationClusterRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a new workstation cluster.
public void updateWorkstationCluster(UpdateWorkstationClusterRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates an existing workstation cluster.
public void deleteWorkstationCluster(DeleteWorkstationClusterRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes the specified workstation cluster.
public void getWorkstationConfig(GetWorkstationConfigRequest request, io.grpc.stub.StreamObserver<WorkstationConfig> responseObserver)
Returns the requested workstation configuration.
public void listWorkstationConfigs(ListWorkstationConfigsRequest request, io.grpc.stub.StreamObserver<ListWorkstationConfigsResponse> responseObserver)
Returns all workstation configurations in the specified cluster.
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.
public void createWorkstationConfig(CreateWorkstationConfigRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a new workstation configuration.
public void updateWorkstationConfig(UpdateWorkstationConfigRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates an existing workstation configuration.
public void deleteWorkstationConfig(DeleteWorkstationConfigRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes the specified workstation configuration.
public void getWorkstation(GetWorkstationRequest request, io.grpc.stub.StreamObserver<Workstation> responseObserver)
Returns the requested workstation.
public void listWorkstations(ListWorkstationsRequest request, io.grpc.stub.StreamObserver<ListWorkstationsResponse> responseObserver)
Returns all Workstations using the specified workstation configuration.
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.
public void createWorkstation(CreateWorkstationRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a new workstation.
public void updateWorkstation(UpdateWorkstationRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates an existing workstation.
public void deleteWorkstation(DeleteWorkstationRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes the specified workstation.
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.
public void stopWorkstation(StopWorkstationRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Stops running a workstation, reducing costs.
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.
Copyright © 2023 Google LLC. All rights reserved.