public static final class WorkstationsGrpc.WorkstationsStub extends AbstractAsyncStub<WorkstationsGrpc.WorkstationsStub>
Service for interacting with Cloud Workstations.
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractAsyncStub >
WorkstationsGrpc.WorkstationsStub
Inherited Members
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractAsyncStub.<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.withWaitForReady()
Methods
build(Channel channel, CallOptions callOptions)
protected WorkstationsGrpc.WorkstationsStub 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, StreamObserver<Operation> responseObserver)
public void createWorkstation(CreateWorkstationRequest request, StreamObserver<Operation> responseObserver)
Creates a new workstation.
createWorkstationCluster(CreateWorkstationClusterRequest request, StreamObserver<Operation> responseObserver)
public void createWorkstationCluster(CreateWorkstationClusterRequest request, StreamObserver<Operation> responseObserver)
Creates a new workstation cluster.
createWorkstationConfig(CreateWorkstationConfigRequest request, StreamObserver<Operation> responseObserver)
public void createWorkstationConfig(CreateWorkstationConfigRequest request, StreamObserver<Operation> responseObserver)
Creates a new workstation configuration.
deleteWorkstation(DeleteWorkstationRequest request, StreamObserver<Operation> responseObserver)
public void deleteWorkstation(DeleteWorkstationRequest request, StreamObserver<Operation> responseObserver)
Deletes the specified workstation.
deleteWorkstationCluster(DeleteWorkstationClusterRequest request, StreamObserver<Operation> responseObserver)
public void deleteWorkstationCluster(DeleteWorkstationClusterRequest request, StreamObserver<Operation> responseObserver)
Deletes the specified workstation cluster.
deleteWorkstationConfig(DeleteWorkstationConfigRequest request, StreamObserver<Operation> responseObserver)
public void deleteWorkstationConfig(DeleteWorkstationConfigRequest request, StreamObserver<Operation> responseObserver)
Deletes the specified workstation configuration.
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.
getWorkstation(GetWorkstationRequest request, StreamObserver<Workstation> responseObserver)
public void getWorkstation(GetWorkstationRequest request, StreamObserver<Workstation> responseObserver)
Returns the requested workstation.
getWorkstationCluster(GetWorkstationClusterRequest request, StreamObserver<WorkstationCluster> responseObserver)
public void getWorkstationCluster(GetWorkstationClusterRequest request, StreamObserver<WorkstationCluster> responseObserver)
Returns the requested workstation cluster.
getWorkstationConfig(GetWorkstationConfigRequest request, StreamObserver<WorkstationConfig> responseObserver)
public void getWorkstationConfig(GetWorkstationConfigRequest request, StreamObserver<WorkstationConfig> responseObserver)
Returns the requested workstation configuration.
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.
listUsableWorkstations(ListUsableWorkstationsRequest request, StreamObserver<ListUsableWorkstationsResponse> responseObserver)
public void listUsableWorkstations(ListUsableWorkstationsRequest request, StreamObserver<ListUsableWorkstationsResponse> responseObserver)
Returns all Workstations using the specified config on which the caller has
the "workstations.workstations.use" permission.
listWorkstationClusters(ListWorkstationClustersRequest request, StreamObserver<ListWorkstationClustersResponse> responseObserver)
public void listWorkstationClusters(ListWorkstationClustersRequest request, StreamObserver<ListWorkstationClustersResponse> responseObserver)
Returns all workstation clusters in the specified location.
listWorkstationConfigs(ListWorkstationConfigsRequest request, StreamObserver<ListWorkstationConfigsResponse> responseObserver)
public void listWorkstationConfigs(ListWorkstationConfigsRequest request, StreamObserver<ListWorkstationConfigsResponse> responseObserver)
Returns all workstation configurations in the specified cluster.
listWorkstations(ListWorkstationsRequest request, StreamObserver<ListWorkstationsResponse> responseObserver)
public void listWorkstations(ListWorkstationsRequest request, StreamObserver<ListWorkstationsResponse> responseObserver)
Returns all Workstations using the specified config.
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.
stopWorkstation(StopWorkstationRequest request, StreamObserver<Operation> responseObserver)
public void stopWorkstation(StopWorkstationRequest request, StreamObserver<Operation> responseObserver)
Stops running a workstation, reducing costs.
updateWorkstation(UpdateWorkstationRequest request, StreamObserver<Operation> responseObserver)
public void updateWorkstation(UpdateWorkstationRequest request, StreamObserver<Operation> responseObserver)
Updates an existing workstation.
updateWorkstationCluster(UpdateWorkstationClusterRequest request, StreamObserver<Operation> responseObserver)
public void updateWorkstationCluster(UpdateWorkstationClusterRequest request, StreamObserver<Operation> responseObserver)
Updates an existing workstation cluster.
updateWorkstationConfig(UpdateWorkstationConfigRequest request, StreamObserver<Operation> responseObserver)
public void updateWorkstationConfig(UpdateWorkstationConfigRequest request, StreamObserver<Operation> responseObserver)
Updates an existing workstation configuration.