Class ProjectsResource.AgentPoolsResource
The "agentPools" collection of methods.
Inherited Members
Namespace: Google.Apis.Storagetransfer.v1
Assembly: Google.Apis.Storagetransfer.v1.dll
Syntax
public class ProjectsResource.AgentPoolsResource
Constructors
AgentPoolsResource(IClientService)
Constructs a new resource.
Declaration
public AgentPoolsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(AgentPool, string)
Creates an agent pool resource.
Declaration
public virtual ProjectsResource.AgentPoolsResource.CreateRequest Create(AgentPool body, string projectId)
Parameters
Type | Name | Description |
---|---|---|
AgentPool | body | The body of the request. |
string | projectId | Required. The ID of the Google Cloud project that owns the agent pool. |
Returns
Type | Description |
---|---|
ProjectsResource.AgentPoolsResource.CreateRequest |
Delete(string)
Deletes an agent pool.
Declaration
public virtual ProjectsResource.AgentPoolsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the agent pool to delete. |
Returns
Type | Description |
---|---|
ProjectsResource.AgentPoolsResource.DeleteRequest |
Get(string)
Gets an agent pool.
Declaration
public virtual ProjectsResource.AgentPoolsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the agent pool to get. |
Returns
Type | Description |
---|---|
ProjectsResource.AgentPoolsResource.GetRequest |
List(string)
Lists agent pools.
Declaration
public virtual ProjectsResource.AgentPoolsResource.ListRequest List(string projectId)
Parameters
Type | Name | Description |
---|---|---|
string | projectId | Required. The ID of the Google Cloud project that owns the job. |
Returns
Type | Description |
---|---|
ProjectsResource.AgentPoolsResource.ListRequest |
Patch(AgentPool, string)
Updates an existing agent pool resource.
Declaration
public virtual ProjectsResource.AgentPoolsResource.PatchRequest Patch(AgentPool body, string name)
Parameters
Type | Name | Description |
---|---|---|
AgentPool | body | The body of the request. |
string | name | Required. Specifies a unique string that identifies the agent pool. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.AgentPoolsResource.PatchRequest |