Class ProjectsResource.InstancesResource.WorkerpoolsResource
The "workerpools" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.RemoteBuildExecution.v1alpha
Assembly: Google.Apis.RemoteBuildExecution.v1alpha.dll
Syntax
public class WorkerpoolsResource
Constructors
WorkerpoolsResource(IClientService)
Constructs a new resource.
Declaration
public WorkerpoolsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
Google.Apis.Services.IClientService | service |
Methods
Create(GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateWorkerPoolRequest, String)
Creates a new worker pool with a specified size and configuration. Returns a long running operation
which contains a worker pool on completion. While the long running operation is in progress, any
call to GetWorkerPool
returns a worker pool in state CREATING
.
Declaration
public virtual ProjectsResource.InstancesResource.WorkerpoolsResource.CreateRequest Create(GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateWorkerPoolRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateWorkerPoolRequest | body | The body of the request. |
System.String | parent | Resource name of the instance in which to create the new worker pool. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.InstancesResource.WorkerpoolsResource.CreateRequest |
Delete(String)
Deletes the specified worker pool. Returns a long running operation, which contains a
google.protobuf.Empty
response on completion. While the long running operation is in progress, any
call to GetWorkerPool
returns a worker pool in state DELETING
.
Declaration
public virtual ProjectsResource.InstancesResource.WorkerpoolsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Name of the worker pool to delete. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.InstancesResource.WorkerpoolsResource.DeleteRequest |
Get(String)
Returns the specified worker pool.
Declaration
public virtual ProjectsResource.InstancesResource.WorkerpoolsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Name of the worker pool to retrieve. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.InstancesResource.WorkerpoolsResource.GetRequest |
List(String)
Lists worker pools in an instance.
Declaration
public virtual ProjectsResource.InstancesResource.WorkerpoolsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
System.String | parent | Resource name of the instance. Format: |
Returns
Type | Description |
---|---|
ProjectsResource.InstancesResource.WorkerpoolsResource.ListRequest |
Patch(GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateWorkerPoolRequest, String)
Updates an existing worker pool with a specified size and/or configuration. Returns a long running
operation, which contains a worker pool on completion. While the long running operation is in
progress, any call to GetWorkerPool
returns a worker pool in state UPDATING
.
Declaration
public virtual ProjectsResource.InstancesResource.WorkerpoolsResource.PatchRequest Patch(GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateWorkerPoolRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateWorkerPoolRequest | body | The body of the request. |
System.String | name | WorkerPool resource name formatted as:
|
Returns
Type | Description |
---|---|
ProjectsResource.InstancesResource.WorkerpoolsResource.PatchRequest |