Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.WorkerPoolsResource

The "workerPools" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.WorkerPoolsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CloudBuild.v1
Assembly: Google.Apis.CloudBuild.v1.dll
Syntax
public class ProjectsResource.LocationsResource.WorkerPoolsResource

Constructors

WorkerPoolsResource(IClientService)

Constructs a new resource.

Declaration
public WorkerPoolsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Create(WorkerPool, string)

Creates a WorkerPool.

Declaration
public virtual ProjectsResource.LocationsResource.WorkerPoolsResource.CreateRequest Create(WorkerPool body, string parent)
Parameters
Type Name Description
WorkerPool body

The body of the request.

string parent

Required. The parent resource where this worker pool will be created. Format: projects/{project}/locations/{location}.

Returns
Type Description
ProjectsResource.LocationsResource.WorkerPoolsResource.CreateRequest

Delete(string)

Deletes a WorkerPool.

Declaration
public virtual ProjectsResource.LocationsResource.WorkerPoolsResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. The name of the WorkerPool to delete. Format: projects/{project}/locations/{location}/workerPools/{workerPool}.

Returns
Type Description
ProjectsResource.LocationsResource.WorkerPoolsResource.DeleteRequest

Get(string)

Returns details of a WorkerPool.

Declaration
public virtual ProjectsResource.LocationsResource.WorkerPoolsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. The name of the WorkerPool to retrieve. Format: projects/{project}/locations/{location}/workerPools/{workerPool}.

Returns
Type Description
ProjectsResource.LocationsResource.WorkerPoolsResource.GetRequest

List(string)

Lists WorkerPools.

Declaration
public virtual ProjectsResource.LocationsResource.WorkerPoolsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The parent of the collection of WorkerPools. Format: projects/{project}/locations/{location}.

Returns
Type Description
ProjectsResource.LocationsResource.WorkerPoolsResource.ListRequest

Patch(WorkerPool, string)

Updates a WorkerPool.

Declaration
public virtual ProjectsResource.LocationsResource.WorkerPoolsResource.PatchRequest Patch(WorkerPool body, string name)
Parameters
Type Name Description
WorkerPool body

The body of the request.

string name

Output only. The resource name of the WorkerPool, with format projects/{project}/locations/{location}/workerPools/{worker_pool}. The value of {worker_pool} is provided by worker_pool_id in CreateWorkerPool request and the value of {location} is determined by the endpoint accessed.

Returns
Type Description
ProjectsResource.LocationsResource.WorkerPoolsResource.PatchRequest
In This Article
Back to top Generated by DocFX