[BindServiceMethod(typeof(WorkerPools), "BindService")]
public abstract class WorkerPools.WorkerPoolsBaseReference documentation and code samples for the Cloud Run Admin v2 API class WorkerPools.WorkerPoolsBase.
Base class for server-side implementations of WorkerPools
Namespace
Google.Cloud.Run.V2Assembly
Google.Cloud.Run.V2.dll
Methods
CreateWorkerPool(CreateWorkerPoolRequest, ServerCallContext)
public virtual Task<Operation> CreateWorkerPool(CreateWorkerPoolRequest request, ServerCallContext context)Creates a new WorkerPool in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateWorkerPoolRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
DeleteWorkerPool(DeleteWorkerPoolRequest, ServerCallContext)
public virtual Task<Operation> DeleteWorkerPool(DeleteWorkerPoolRequest request, ServerCallContext context)Deletes a WorkerPool.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteWorkerPoolRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
GetIamPolicy(GetIamPolicyRequest, ServerCallContext)
public virtual Task<Policy> GetIamPolicy(GetIamPolicyRequest request, ServerCallContext context)Gets the IAM Access Control policy currently in effect for the given Cloud Run WorkerPool. This result does not include any inherited policies.
| Parameters | |
|---|---|
| Name | Description |
request |
GetIamPolicyRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskPolicy |
The response to send back to the client (wrapped by a task). |
GetWorkerPool(GetWorkerPoolRequest, ServerCallContext)
public virtual Task<WorkerPool> GetWorkerPool(GetWorkerPoolRequest request, ServerCallContext context)Gets information about a WorkerPool.
| Parameters | |
|---|---|
| Name | Description |
request |
GetWorkerPoolRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkerPool |
The response to send back to the client (wrapped by a task). |
ListWorkerPools(ListWorkerPoolsRequest, ServerCallContext)
public virtual Task<ListWorkerPoolsResponse> ListWorkerPools(ListWorkerPoolsRequest request, ServerCallContext context)Lists WorkerPools. Results are sorted by creation time, descending.
| Parameters | |
|---|---|
| Name | Description |
request |
ListWorkerPoolsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListWorkerPoolsResponse |
The response to send back to the client (wrapped by a task). |
SetIamPolicy(SetIamPolicyRequest, ServerCallContext)
public virtual Task<Policy> SetIamPolicy(SetIamPolicyRequest request, ServerCallContext context)Sets the IAM Access control policy for the specified WorkerPool. Overwrites any existing policy.
| Parameters | |
|---|---|
| Name | Description |
request |
SetIamPolicyRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskPolicy |
The response to send back to the client (wrapped by a task). |
TestIamPermissions(TestIamPermissionsRequest, ServerCallContext)
public virtual Task<TestIamPermissionsResponse> TestIamPermissions(TestIamPermissionsRequest request, ServerCallContext context)Returns permissions that a caller has on the specified Project.
There are no permissions required for making this API call.
| Parameters | |
|---|---|
| Name | Description |
request |
TestIamPermissionsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskTestIamPermissionsResponse |
The response to send back to the client (wrapped by a task). |
UpdateWorkerPool(UpdateWorkerPoolRequest, ServerCallContext)
public virtual Task<Operation> UpdateWorkerPool(UpdateWorkerPoolRequest request, ServerCallContext context)Updates a WorkerPool.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateWorkerPoolRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |