public static final class WorkstationsGrpc.WorkstationsStub extends AbstractAsyncStub<WorkstationsGrpc.WorkstationsStub>
A stub to allow clients to do asynchronous rpc calls to service Workstations.
Service for interacting with Cloud Workstations.
Inheritance
java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > WorkstationsGrpc.WorkstationsStubMethods
build(Channel channel, CallOptions callOptions)
protected WorkstationsGrpc.WorkstationsStub build(Channel channel, CallOptions callOptions)
Parameters | |
---|---|
Name | Description |
channel |
io.grpc.Channel |
callOptions |
io.grpc.CallOptions |
Returns | |
---|---|
Type | Description |
WorkstationsGrpc.WorkstationsStub |
createWorkstation(CreateWorkstationRequest request, StreamObserver<Operation> responseObserver)
public void createWorkstation(CreateWorkstationRequest request, StreamObserver<Operation> responseObserver)
Creates a new workstation.
Parameters | |
---|---|
Name | Description |
request |
CreateWorkstationRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
createWorkstationCluster(CreateWorkstationClusterRequest request, StreamObserver<Operation> responseObserver)
public void createWorkstationCluster(CreateWorkstationClusterRequest request, StreamObserver<Operation> responseObserver)
Creates a new workstation cluster.
Parameters | |
---|---|
Name | Description |
request |
CreateWorkstationClusterRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
createWorkstationConfig(CreateWorkstationConfigRequest request, StreamObserver<Operation> responseObserver)
public void createWorkstationConfig(CreateWorkstationConfigRequest request, StreamObserver<Operation> responseObserver)
Creates a new workstation configuration.
Parameters | |
---|---|
Name | Description |
request |
CreateWorkstationConfigRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
deleteWorkstation(DeleteWorkstationRequest request, StreamObserver<Operation> responseObserver)
public void deleteWorkstation(DeleteWorkstationRequest request, StreamObserver<Operation> responseObserver)
Deletes the specified workstation.
Parameters | |
---|---|
Name | Description |
request |
DeleteWorkstationRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
deleteWorkstationCluster(DeleteWorkstationClusterRequest request, StreamObserver<Operation> responseObserver)
public void deleteWorkstationCluster(DeleteWorkstationClusterRequest request, StreamObserver<Operation> responseObserver)
Deletes the specified workstation cluster.
Parameters | |
---|---|
Name | Description |
request |
DeleteWorkstationClusterRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
deleteWorkstationConfig(DeleteWorkstationConfigRequest request, StreamObserver<Operation> responseObserver)
public void deleteWorkstationConfig(DeleteWorkstationConfigRequest request, StreamObserver<Operation> responseObserver)
Deletes the specified workstation configuration.
Parameters | |
---|---|
Name | Description |
request |
DeleteWorkstationConfigRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
generateAccessToken(GenerateAccessTokenRequest request, StreamObserver<GenerateAccessTokenResponse> responseObserver)
public void generateAccessToken(GenerateAccessTokenRequest request, StreamObserver<GenerateAccessTokenResponse> responseObserver)
Returns a short-lived credential that can be used to send authenticated and authorized traffic to a workstation.
Parameters | |
---|---|
Name | Description |
request |
GenerateAccessTokenRequest |
responseObserver |
io.grpc.stub.StreamObserver<GenerateAccessTokenResponse> |
getWorkstation(GetWorkstationRequest request, StreamObserver<Workstation> responseObserver)
public void getWorkstation(GetWorkstationRequest request, StreamObserver<Workstation> responseObserver)
Returns the requested workstation.
Parameters | |
---|---|
Name | Description |
request |
GetWorkstationRequest |
responseObserver |
io.grpc.stub.StreamObserver<Workstation> |
getWorkstationCluster(GetWorkstationClusterRequest request, StreamObserver<WorkstationCluster> responseObserver)
public void getWorkstationCluster(GetWorkstationClusterRequest request, StreamObserver<WorkstationCluster> responseObserver)
Returns the requested workstation cluster.
Parameters | |
---|---|
Name | Description |
request |
GetWorkstationClusterRequest |
responseObserver |
io.grpc.stub.StreamObserver<WorkstationCluster> |
getWorkstationConfig(GetWorkstationConfigRequest request, StreamObserver<WorkstationConfig> responseObserver)
public void getWorkstationConfig(GetWorkstationConfigRequest request, StreamObserver<WorkstationConfig> responseObserver)
Returns the requested workstation configuration.
Parameters | |
---|---|
Name | Description |
request |
GetWorkstationConfigRequest |
responseObserver |
io.grpc.stub.StreamObserver<WorkstationConfig> |
listUsableWorkstationConfigs(ListUsableWorkstationConfigsRequest request, StreamObserver<ListUsableWorkstationConfigsResponse> responseObserver)
public void listUsableWorkstationConfigs(ListUsableWorkstationConfigsRequest request, StreamObserver<ListUsableWorkstationConfigsResponse> responseObserver)
Returns all workstation configurations in the specified cluster on which the caller has the "workstations.workstation.create" permission.
Parameters | |
---|---|
Name | Description |
request |
ListUsableWorkstationConfigsRequest |
responseObserver |
io.grpc.stub.StreamObserver<ListUsableWorkstationConfigsResponse> |
listUsableWorkstations(ListUsableWorkstationsRequest request, StreamObserver<ListUsableWorkstationsResponse> responseObserver)
public void listUsableWorkstations(ListUsableWorkstationsRequest request, StreamObserver<ListUsableWorkstationsResponse> responseObserver)
Returns all workstations using the specified workstation configuration on which the caller has the "workstations.workstations.use" permission.
Parameters | |
---|---|
Name | Description |
request |
ListUsableWorkstationsRequest |
responseObserver |
io.grpc.stub.StreamObserver<ListUsableWorkstationsResponse> |
listWorkstationClusters(ListWorkstationClustersRequest request, StreamObserver<ListWorkstationClustersResponse> responseObserver)
public void listWorkstationClusters(ListWorkstationClustersRequest request, StreamObserver<ListWorkstationClustersResponse> responseObserver)
Returns all workstation clusters in the specified location.
Parameters | |
---|---|
Name | Description |
request |
ListWorkstationClustersRequest |
responseObserver |
io.grpc.stub.StreamObserver<ListWorkstationClustersResponse> |
listWorkstationConfigs(ListWorkstationConfigsRequest request, StreamObserver<ListWorkstationConfigsResponse> responseObserver)
public void listWorkstationConfigs(ListWorkstationConfigsRequest request, StreamObserver<ListWorkstationConfigsResponse> responseObserver)
Returns all workstation configurations in the specified cluster.
Parameters | |
---|---|
Name | Description |
request |
ListWorkstationConfigsRequest |
responseObserver |
io.grpc.stub.StreamObserver<ListWorkstationConfigsResponse> |
listWorkstations(ListWorkstationsRequest request, StreamObserver<ListWorkstationsResponse> responseObserver)
public void listWorkstations(ListWorkstationsRequest request, StreamObserver<ListWorkstationsResponse> responseObserver)
Returns all Workstations using the specified workstation configuration.
Parameters | |
---|---|
Name | Description |
request |
ListWorkstationsRequest |
responseObserver |
io.grpc.stub.StreamObserver<ListWorkstationsResponse> |
startWorkstation(StartWorkstationRequest request, StreamObserver<Operation> responseObserver)
public void startWorkstation(StartWorkstationRequest request, StreamObserver<Operation> responseObserver)
Starts running a workstation so that users can connect to it.
Parameters | |
---|---|
Name | Description |
request |
StartWorkstationRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
stopWorkstation(StopWorkstationRequest request, StreamObserver<Operation> responseObserver)
public void stopWorkstation(StopWorkstationRequest request, StreamObserver<Operation> responseObserver)
Stops running a workstation, reducing costs.
Parameters | |
---|---|
Name | Description |
request |
StopWorkstationRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
updateWorkstation(UpdateWorkstationRequest request, StreamObserver<Operation> responseObserver)
public void updateWorkstation(UpdateWorkstationRequest request, StreamObserver<Operation> responseObserver)
Updates an existing workstation.
Parameters | |
---|---|
Name | Description |
request |
UpdateWorkstationRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
updateWorkstationCluster(UpdateWorkstationClusterRequest request, StreamObserver<Operation> responseObserver)
public void updateWorkstationCluster(UpdateWorkstationClusterRequest request, StreamObserver<Operation> responseObserver)
Updates an existing workstation cluster.
Parameters | |
---|---|
Name | Description |
request |
UpdateWorkstationClusterRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
updateWorkstationConfig(UpdateWorkstationConfigRequest request, StreamObserver<Operation> responseObserver)
public void updateWorkstationConfig(UpdateWorkstationConfigRequest request, StreamObserver<Operation> responseObserver)
Updates an existing workstation configuration.
Parameters | |
---|---|
Name | Description |
request |
UpdateWorkstationConfigRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |