Interface WorkstationsGrpc.AsyncService (0.19.0)

public static interface WorkstationsGrpc.AsyncService

Service for interacting with Cloud Workstations.

Methods

createWorkstation(CreateWorkstationRequest request, StreamObserver<Operation> responseObserver)

public default void createWorkstation(CreateWorkstationRequest request, StreamObserver<Operation> responseObserver)

Creates a new workstation.

Parameters
NameDescription
requestCreateWorkstationRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

createWorkstationCluster(CreateWorkstationClusterRequest request, StreamObserver<Operation> responseObserver)

public default void createWorkstationCluster(CreateWorkstationClusterRequest request, StreamObserver<Operation> responseObserver)

Creates a new workstation cluster.

Parameters
NameDescription
requestCreateWorkstationClusterRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

createWorkstationConfig(CreateWorkstationConfigRequest request, StreamObserver<Operation> responseObserver)

public default void createWorkstationConfig(CreateWorkstationConfigRequest request, StreamObserver<Operation> responseObserver)

Creates a new workstation configuration.

Parameters
NameDescription
requestCreateWorkstationConfigRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteWorkstation(DeleteWorkstationRequest request, StreamObserver<Operation> responseObserver)

public default void deleteWorkstation(DeleteWorkstationRequest request, StreamObserver<Operation> responseObserver)

Deletes the specified workstation.

Parameters
NameDescription
requestDeleteWorkstationRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteWorkstationCluster(DeleteWorkstationClusterRequest request, StreamObserver<Operation> responseObserver)

public default void deleteWorkstationCluster(DeleteWorkstationClusterRequest request, StreamObserver<Operation> responseObserver)

Deletes the specified workstation cluster.

Parameters
NameDescription
requestDeleteWorkstationClusterRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteWorkstationConfig(DeleteWorkstationConfigRequest request, StreamObserver<Operation> responseObserver)

public default void deleteWorkstationConfig(DeleteWorkstationConfigRequest request, StreamObserver<Operation> responseObserver)

Deletes the specified workstation configuration.

Parameters
NameDescription
requestDeleteWorkstationConfigRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

generateAccessToken(GenerateAccessTokenRequest request, StreamObserver<GenerateAccessTokenResponse> responseObserver)

public default 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
NameDescription
requestGenerateAccessTokenRequest
responseObserverio.grpc.stub.StreamObserver<GenerateAccessTokenResponse>

getWorkstation(GetWorkstationRequest request, StreamObserver<Workstation> responseObserver)

public default void getWorkstation(GetWorkstationRequest request, StreamObserver<Workstation> responseObserver)

Returns the requested workstation.

Parameters
NameDescription
requestGetWorkstationRequest
responseObserverio.grpc.stub.StreamObserver<Workstation>

getWorkstationCluster(GetWorkstationClusterRequest request, StreamObserver<WorkstationCluster> responseObserver)

public default void getWorkstationCluster(GetWorkstationClusterRequest request, StreamObserver<WorkstationCluster> responseObserver)

Returns the requested workstation cluster.

Parameters
NameDescription
requestGetWorkstationClusterRequest
responseObserverio.grpc.stub.StreamObserver<WorkstationCluster>

getWorkstationConfig(GetWorkstationConfigRequest request, StreamObserver<WorkstationConfig> responseObserver)

public default void getWorkstationConfig(GetWorkstationConfigRequest request, StreamObserver<WorkstationConfig> responseObserver)

Returns the requested workstation configuration.

Parameters
NameDescription
requestGetWorkstationConfigRequest
responseObserverio.grpc.stub.StreamObserver<WorkstationConfig>

listUsableWorkstationConfigs(ListUsableWorkstationConfigsRequest request, StreamObserver<ListUsableWorkstationConfigsResponse> responseObserver)

public default 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
NameDescription
requestListUsableWorkstationConfigsRequest
responseObserverio.grpc.stub.StreamObserver<ListUsableWorkstationConfigsResponse>

listUsableWorkstations(ListUsableWorkstationsRequest request, StreamObserver<ListUsableWorkstationsResponse> responseObserver)

public default 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
NameDescription
requestListUsableWorkstationsRequest
responseObserverio.grpc.stub.StreamObserver<ListUsableWorkstationsResponse>

listWorkstationClusters(ListWorkstationClustersRequest request, StreamObserver<ListWorkstationClustersResponse> responseObserver)

public default void listWorkstationClusters(ListWorkstationClustersRequest request, StreamObserver<ListWorkstationClustersResponse> responseObserver)

Returns all workstation clusters in the specified location.

Parameters
NameDescription
requestListWorkstationClustersRequest
responseObserverio.grpc.stub.StreamObserver<ListWorkstationClustersResponse>

listWorkstationConfigs(ListWorkstationConfigsRequest request, StreamObserver<ListWorkstationConfigsResponse> responseObserver)

public default void listWorkstationConfigs(ListWorkstationConfigsRequest request, StreamObserver<ListWorkstationConfigsResponse> responseObserver)

Returns all workstation configurations in the specified cluster.

Parameters
NameDescription
requestListWorkstationConfigsRequest
responseObserverio.grpc.stub.StreamObserver<ListWorkstationConfigsResponse>

listWorkstations(ListWorkstationsRequest request, StreamObserver<ListWorkstationsResponse> responseObserver)

public default void listWorkstations(ListWorkstationsRequest request, StreamObserver<ListWorkstationsResponse> responseObserver)

Returns all Workstations using the specified workstation configuration.

Parameters
NameDescription
requestListWorkstationsRequest
responseObserverio.grpc.stub.StreamObserver<ListWorkstationsResponse>

startWorkstation(StartWorkstationRequest request, StreamObserver<Operation> responseObserver)

public default void startWorkstation(StartWorkstationRequest request, StreamObserver<Operation> responseObserver)

Starts running a workstation so that users can connect to it.

Parameters
NameDescription
requestStartWorkstationRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

stopWorkstation(StopWorkstationRequest request, StreamObserver<Operation> responseObserver)

public default void stopWorkstation(StopWorkstationRequest request, StreamObserver<Operation> responseObserver)

Stops running a workstation, reducing costs.

Parameters
NameDescription
requestStopWorkstationRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

updateWorkstation(UpdateWorkstationRequest request, StreamObserver<Operation> responseObserver)

public default void updateWorkstation(UpdateWorkstationRequest request, StreamObserver<Operation> responseObserver)

Updates an existing workstation.

Parameters
NameDescription
requestUpdateWorkstationRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

updateWorkstationCluster(UpdateWorkstationClusterRequest request, StreamObserver<Operation> responseObserver)

public default void updateWorkstationCluster(UpdateWorkstationClusterRequest request, StreamObserver<Operation> responseObserver)

Updates an existing workstation cluster.

Parameters
NameDescription
requestUpdateWorkstationClusterRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

updateWorkstationConfig(UpdateWorkstationConfigRequest request, StreamObserver<Operation> responseObserver)

public default void updateWorkstationConfig(UpdateWorkstationConfigRequest request, StreamObserver<Operation> responseObserver)

Updates an existing workstation configuration.

Parameters
NameDescription
requestUpdateWorkstationConfigRequest
responseObserverio.grpc.stub.StreamObserver<Operation>