Class ProjectsResource.LocationsResource.WorkerPoolsResource
The "workerPools" collection of methods.
Inherited Members
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:
|
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 |
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 |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.WorkerPoolsResource.GetRequest |
List(string)
Lists WorkerPool
s.
Declaration
public virtual ProjectsResource.LocationsResource.WorkerPoolsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The parent of the collection of |
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 |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.WorkerPoolsResource.PatchRequest |