Class WorkstationsGrpc.WorkstationsBlockingStub (0.20.0)

public static final class WorkstationsGrpc.WorkstationsBlockingStub extends AbstractBlockingStub<WorkstationsGrpc.WorkstationsBlockingStub>

A stub to allow clients to do synchronous rpc calls to service Workstations.

Service for interacting with Cloud Workstations.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > WorkstationsGrpc.WorkstationsBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

protected WorkstationsGrpc.WorkstationsBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
WorkstationsGrpc.WorkstationsBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createWorkstation(CreateWorkstationRequest request)

public Operation createWorkstation(CreateWorkstationRequest request)

Creates a new workstation.

Parameter
NameDescription
requestCreateWorkstationRequest
Returns
TypeDescription
Operation

createWorkstationCluster(CreateWorkstationClusterRequest request)

public Operation createWorkstationCluster(CreateWorkstationClusterRequest request)

Creates a new workstation cluster.

Parameter
NameDescription
requestCreateWorkstationClusterRequest
Returns
TypeDescription
Operation

createWorkstationConfig(CreateWorkstationConfigRequest request)

public Operation createWorkstationConfig(CreateWorkstationConfigRequest request)

Creates a new workstation configuration.

Parameter
NameDescription
requestCreateWorkstationConfigRequest
Returns
TypeDescription
Operation

deleteWorkstation(DeleteWorkstationRequest request)

public Operation deleteWorkstation(DeleteWorkstationRequest request)

Deletes the specified workstation.

Parameter
NameDescription
requestDeleteWorkstationRequest
Returns
TypeDescription
Operation

deleteWorkstationCluster(DeleteWorkstationClusterRequest request)

public Operation deleteWorkstationCluster(DeleteWorkstationClusterRequest request)

Deletes the specified workstation cluster.

Parameter
NameDescription
requestDeleteWorkstationClusterRequest
Returns
TypeDescription
Operation

deleteWorkstationConfig(DeleteWorkstationConfigRequest request)

public Operation deleteWorkstationConfig(DeleteWorkstationConfigRequest request)

Deletes the specified workstation configuration.

Parameter
NameDescription
requestDeleteWorkstationConfigRequest
Returns
TypeDescription
Operation

generateAccessToken(GenerateAccessTokenRequest request)

public GenerateAccessTokenResponse generateAccessToken(GenerateAccessTokenRequest request)

Returns a short-lived credential that can be used to send authenticated and authorized traffic to a workstation.

Parameter
NameDescription
requestGenerateAccessTokenRequest
Returns
TypeDescription
GenerateAccessTokenResponse

getWorkstation(GetWorkstationRequest request)

public Workstation getWorkstation(GetWorkstationRequest request)

Returns the requested workstation.

Parameter
NameDescription
requestGetWorkstationRequest
Returns
TypeDescription
Workstation

getWorkstationCluster(GetWorkstationClusterRequest request)

public WorkstationCluster getWorkstationCluster(GetWorkstationClusterRequest request)

Returns the requested workstation cluster.

Parameter
NameDescription
requestGetWorkstationClusterRequest
Returns
TypeDescription
WorkstationCluster

getWorkstationConfig(GetWorkstationConfigRequest request)

public WorkstationConfig getWorkstationConfig(GetWorkstationConfigRequest request)

Returns the requested workstation configuration.

Parameter
NameDescription
requestGetWorkstationConfigRequest
Returns
TypeDescription
WorkstationConfig

listUsableWorkstationConfigs(ListUsableWorkstationConfigsRequest request)

public ListUsableWorkstationConfigsResponse listUsableWorkstationConfigs(ListUsableWorkstationConfigsRequest request)

Returns all workstation configurations in the specified cluster on which the caller has the "workstations.workstation.create" permission.

Parameter
NameDescription
requestListUsableWorkstationConfigsRequest
Returns
TypeDescription
ListUsableWorkstationConfigsResponse

listUsableWorkstations(ListUsableWorkstationsRequest request)

public ListUsableWorkstationsResponse listUsableWorkstations(ListUsableWorkstationsRequest request)

Returns all workstations using the specified workstation configuration on which the caller has the "workstations.workstations.use" permission.

Parameter
NameDescription
requestListUsableWorkstationsRequest
Returns
TypeDescription
ListUsableWorkstationsResponse

listWorkstationClusters(ListWorkstationClustersRequest request)

public ListWorkstationClustersResponse listWorkstationClusters(ListWorkstationClustersRequest request)

Returns all workstation clusters in the specified location.

Parameter
NameDescription
requestListWorkstationClustersRequest
Returns
TypeDescription
ListWorkstationClustersResponse

listWorkstationConfigs(ListWorkstationConfigsRequest request)

public ListWorkstationConfigsResponse listWorkstationConfigs(ListWorkstationConfigsRequest request)

Returns all workstation configurations in the specified cluster.

Parameter
NameDescription
requestListWorkstationConfigsRequest
Returns
TypeDescription
ListWorkstationConfigsResponse

listWorkstations(ListWorkstationsRequest request)

public ListWorkstationsResponse listWorkstations(ListWorkstationsRequest request)

Returns all Workstations using the specified workstation configuration.

Parameter
NameDescription
requestListWorkstationsRequest
Returns
TypeDescription
ListWorkstationsResponse

startWorkstation(StartWorkstationRequest request)

public Operation startWorkstation(StartWorkstationRequest request)

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

Parameter
NameDescription
requestStartWorkstationRequest
Returns
TypeDescription
Operation

stopWorkstation(StopWorkstationRequest request)

public Operation stopWorkstation(StopWorkstationRequest request)

Stops running a workstation, reducing costs.

Parameter
NameDescription
requestStopWorkstationRequest
Returns
TypeDescription
Operation

updateWorkstation(UpdateWorkstationRequest request)

public Operation updateWorkstation(UpdateWorkstationRequest request)

Updates an existing workstation.

Parameter
NameDescription
requestUpdateWorkstationRequest
Returns
TypeDescription
Operation

updateWorkstationCluster(UpdateWorkstationClusterRequest request)

public Operation updateWorkstationCluster(UpdateWorkstationClusterRequest request)

Updates an existing workstation cluster.

Parameter
NameDescription
requestUpdateWorkstationClusterRequest
Returns
TypeDescription
Operation

updateWorkstationConfig(UpdateWorkstationConfigRequest request)

public Operation updateWorkstationConfig(UpdateWorkstationConfigRequest request)

Updates an existing workstation configuration.

Parameter
NameDescription
requestUpdateWorkstationConfigRequest
Returns
TypeDescription
Operation