Class ProjectsResource.LocationsResource.WorkerPoolsResource
The "workerPools" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.CloudBuild.v1beta1
Assembly: Google.Apis.CloudBuild.v1beta1.dll
Syntax
public class 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
to run the builds, and returns the new worker pool. NOTE: As of now, this
method returns an Operation
that is always complete.
Declaration
public virtual ProjectsResource.LocationsResource.WorkerPoolsResource.CreateRequest Create(WorkerPool body, string parent)
Parameters
Type | Name | Description |
---|---|---|
WorkerPool | body | The body of the request. |
System.String | parent | Required. The parent resource where this worker pool will be created. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.WorkerPoolsResource.CreateRequest |
Delete(String)
Deletes a WorkerPool
. NOTE: As of now, this method returns an Operation
that is always complete.
Declaration
public virtual ProjectsResource.LocationsResource.WorkerPoolsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Required. The name of the |
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 |
---|---|---|
System.String | name | Required. The name of the |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.WorkerPoolsResource.GetRequest |
List(String)
Lists WorkerPool
s in the given project.
Declaration
public virtual ProjectsResource.LocationsResource.WorkerPoolsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
System.String | parent | Required. The parent of the collection of |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.WorkerPoolsResource.ListRequest |
Patch(WorkerPool, String)
Updates a WorkerPool
. NOTE: As of now, this method returns an Operation
that is always complete.
Declaration
public virtual ProjectsResource.LocationsResource.WorkerPoolsResource.PatchRequest Patch(WorkerPool body, string name)
Parameters
Type | Name | Description |
---|---|---|
WorkerPool | body | The body of the request. |
System.String | name | Output only. The resource name of the |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.WorkerPoolsResource.PatchRequest |