Package com.google.cloud.workstations.v1
Class WorkstationsGrpc.WorkstationsBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<WorkstationsGrpc.WorkstationsBlockingV2Stub>
com.google.cloud.workstations.v1.WorkstationsGrpc.WorkstationsBlockingV2Stub
- Enclosing class:
- WorkstationsGrpc
public static final class WorkstationsGrpc.WorkstationsBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<WorkstationsGrpc.WorkstationsBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service Workstations.
Service for interacting with Cloud Workstations.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) Creates a new workstation.Creates a new workstation cluster.Creates a new workstation configuration.Deletes the specified workstation.Deletes the specified workstation cluster.Deletes the specified workstation configuration.Returns a short-lived credential that can be used to send authenticated and authorized traffic to a workstation.getWorkstation(GetWorkstationRequest request) Returns the requested workstation.Returns the requested workstation cluster.Returns the requested workstation configuration.Returns all workstation configurations in the specified cluster on which the caller has the "workstations.workstation.create" permission.Returns all workstations using the specified workstation configuration on which the caller has the "workstations.workstations.use" permission.Returns all workstation clusters in the specified location.Returns all workstation configurations in the specified cluster.listWorkstations(ListWorkstationsRequest request) Returns all Workstations using the specified workstation configuration.startWorkstation(StartWorkstationRequest request) Starts running a workstation so that users can connect to it.stopWorkstation(StopWorkstationRequest request) Stops running a workstation, reducing costs.Updates an existing workstation.Updates an existing workstation cluster.Updates an existing workstation configuration.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected WorkstationsGrpc.WorkstationsBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<WorkstationsGrpc.WorkstationsBlockingV2Stub>
-
getWorkstationCluster
public WorkstationCluster getWorkstationCluster(GetWorkstationClusterRequest request) throws io.grpc.StatusException Returns the requested workstation cluster.
- Throws:
io.grpc.StatusException
-
listWorkstationClusters
public ListWorkstationClustersResponse listWorkstationClusters(ListWorkstationClustersRequest request) throws io.grpc.StatusException Returns all workstation clusters in the specified location.
- Throws:
io.grpc.StatusException
-
createWorkstationCluster
public Operation createWorkstationCluster(CreateWorkstationClusterRequest request) throws io.grpc.StatusException Creates a new workstation cluster.
- Throws:
io.grpc.StatusException
-
updateWorkstationCluster
public Operation updateWorkstationCluster(UpdateWorkstationClusterRequest request) throws io.grpc.StatusException Updates an existing workstation cluster.
- Throws:
io.grpc.StatusException
-
deleteWorkstationCluster
public Operation deleteWorkstationCluster(DeleteWorkstationClusterRequest request) throws io.grpc.StatusException Deletes the specified workstation cluster.
- Throws:
io.grpc.StatusException
-
getWorkstationConfig
public WorkstationConfig getWorkstationConfig(GetWorkstationConfigRequest request) throws io.grpc.StatusException Returns the requested workstation configuration.
- Throws:
io.grpc.StatusException
-
listWorkstationConfigs
public ListWorkstationConfigsResponse listWorkstationConfigs(ListWorkstationConfigsRequest request) throws io.grpc.StatusException Returns all workstation configurations in the specified cluster.
- Throws:
io.grpc.StatusException
-
listUsableWorkstationConfigs
public ListUsableWorkstationConfigsResponse listUsableWorkstationConfigs(ListUsableWorkstationConfigsRequest request) throws io.grpc.StatusException Returns all workstation configurations in the specified cluster on which the caller has the "workstations.workstation.create" permission.
- Throws:
io.grpc.StatusException
-
createWorkstationConfig
public Operation createWorkstationConfig(CreateWorkstationConfigRequest request) throws io.grpc.StatusException Creates a new workstation configuration.
- Throws:
io.grpc.StatusException
-
updateWorkstationConfig
public Operation updateWorkstationConfig(UpdateWorkstationConfigRequest request) throws io.grpc.StatusException Updates an existing workstation configuration.
- Throws:
io.grpc.StatusException
-
deleteWorkstationConfig
public Operation deleteWorkstationConfig(DeleteWorkstationConfigRequest request) throws io.grpc.StatusException Deletes the specified workstation configuration.
- Throws:
io.grpc.StatusException
-
getWorkstation
Returns the requested workstation.
- Throws:
io.grpc.StatusException
-
listWorkstations
public ListWorkstationsResponse listWorkstations(ListWorkstationsRequest request) throws io.grpc.StatusException Returns all Workstations using the specified workstation configuration.
- Throws:
io.grpc.StatusException
-
listUsableWorkstations
public ListUsableWorkstationsResponse listUsableWorkstations(ListUsableWorkstationsRequest request) throws io.grpc.StatusException Returns all workstations using the specified workstation configuration on which the caller has the "workstations.workstations.use" permission.
- Throws:
io.grpc.StatusException
-
createWorkstation
Creates a new workstation.
- Throws:
io.grpc.StatusException
-
updateWorkstation
Updates an existing workstation.
- Throws:
io.grpc.StatusException
-
deleteWorkstation
Deletes the specified workstation.
- Throws:
io.grpc.StatusException
-
startWorkstation
Starts running a workstation so that users can connect to it.
- Throws:
io.grpc.StatusException
-
stopWorkstation
Stops running a workstation, reducing costs.
- Throws:
io.grpc.StatusException
-
generateAccessToken
public GenerateAccessTokenResponse generateAccessToken(GenerateAccessTokenRequest request) throws io.grpc.StatusException Returns a short-lived credential that can be used to send authenticated and authorized traffic to a workstation.
- Throws:
io.grpc.StatusException
-