public static final class WorkstationsGrpc.WorkstationsFutureStub extends AbstractFutureStub<WorkstationsGrpc.WorkstationsFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service Workstations.
Service for interacting with Cloud Workstations.
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractFutureStub >
WorkstationsGrpc.WorkstationsFutureStub
Inherited Members
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withOnReadyThreshold(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
build(Channel channel, CallOptions callOptions)
protected WorkstationsGrpc.WorkstationsFutureStub build(Channel channel, CallOptions callOptions)
Parameters |
Name |
Description |
channel |
io.grpc.Channel
|
callOptions |
io.grpc.CallOptions
|
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
createWorkstation(CreateWorkstationRequest request)
public ListenableFuture<Operation> createWorkstation(CreateWorkstationRequest request)
Creates a new workstation.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
createWorkstationCluster(CreateWorkstationClusterRequest request)
public ListenableFuture<Operation> createWorkstationCluster(CreateWorkstationClusterRequest request)
Creates a new workstation cluster.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
createWorkstationConfig(CreateWorkstationConfigRequest request)
public ListenableFuture<Operation> createWorkstationConfig(CreateWorkstationConfigRequest request)
Creates a new workstation configuration.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
deleteWorkstation(DeleteWorkstationRequest request)
public ListenableFuture<Operation> deleteWorkstation(DeleteWorkstationRequest request)
Deletes the specified workstation.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
deleteWorkstationCluster(DeleteWorkstationClusterRequest request)
public ListenableFuture<Operation> deleteWorkstationCluster(DeleteWorkstationClusterRequest request)
Deletes the specified workstation cluster.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
deleteWorkstationConfig(DeleteWorkstationConfigRequest request)
public ListenableFuture<Operation> deleteWorkstationConfig(DeleteWorkstationConfigRequest request)
Deletes the specified workstation configuration.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
generateAccessToken(GenerateAccessTokenRequest request)
public ListenableFuture<GenerateAccessTokenResponse> generateAccessToken(GenerateAccessTokenRequest request)
Returns a short-lived credential that can be used to send authenticated and
authorized traffic to a workstation.
getWorkstation(GetWorkstationRequest request)
public ListenableFuture<Workstation> getWorkstation(GetWorkstationRequest request)
Returns the requested workstation.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Workstation> |
|
getWorkstationCluster(GetWorkstationClusterRequest request)
public ListenableFuture<WorkstationCluster> getWorkstationCluster(GetWorkstationClusterRequest request)
Returns the requested workstation cluster.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<WorkstationCluster> |
|
getWorkstationConfig(GetWorkstationConfigRequest request)
public ListenableFuture<WorkstationConfig> getWorkstationConfig(GetWorkstationConfigRequest request)
Returns the requested workstation configuration.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<WorkstationConfig> |
|
listUsableWorkstationConfigs(ListUsableWorkstationConfigsRequest request)
public ListenableFuture<ListUsableWorkstationConfigsResponse> listUsableWorkstationConfigs(ListUsableWorkstationConfigsRequest request)
Returns all workstation configurations in the specified cluster on which
the caller has the "workstations.workstation.create" permission.
listUsableWorkstations(ListUsableWorkstationsRequest request)
public ListenableFuture<ListUsableWorkstationsResponse> listUsableWorkstations(ListUsableWorkstationsRequest request)
Returns all workstations using the specified workstation configuration
on which the caller has the "workstations.workstations.use" permission.
listWorkstationClusters(ListWorkstationClustersRequest request)
public ListenableFuture<ListWorkstationClustersResponse> listWorkstationClusters(ListWorkstationClustersRequest request)
Returns all workstation clusters in the specified location.
listWorkstationConfigs(ListWorkstationConfigsRequest request)
public ListenableFuture<ListWorkstationConfigsResponse> listWorkstationConfigs(ListWorkstationConfigsRequest request)
Returns all workstation configurations in the specified cluster.
listWorkstations(ListWorkstationsRequest request)
public ListenableFuture<ListWorkstationsResponse> listWorkstations(ListWorkstationsRequest request)
Returns all Workstations using the specified workstation configuration.
startWorkstation(StartWorkstationRequest request)
public ListenableFuture<Operation> startWorkstation(StartWorkstationRequest request)
Starts running a workstation so that users can connect to it.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
stopWorkstation(StopWorkstationRequest request)
public ListenableFuture<Operation> stopWorkstation(StopWorkstationRequest request)
Stops running a workstation, reducing costs.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
updateWorkstation(UpdateWorkstationRequest request)
public ListenableFuture<Operation> updateWorkstation(UpdateWorkstationRequest request)
Updates an existing workstation.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
updateWorkstationCluster(UpdateWorkstationClusterRequest request)
public ListenableFuture<Operation> updateWorkstationCluster(UpdateWorkstationClusterRequest request)
Updates an existing workstation cluster.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
updateWorkstationConfig(UpdateWorkstationConfigRequest request)
public ListenableFuture<Operation> updateWorkstationConfig(UpdateWorkstationConfigRequest request)
Updates an existing workstation configuration.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|