Creates an agent pool resource.
HTTP request
POST https://storagetransfer.googleapis.com/v1/projects/{projectId}/agentPools
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
projectId |
Required. The ID of the Google Cloud project that owns the agent pool. Authorization requires the following IAM permission on the specified resource
|
Query parameters
Parameters | |
---|---|
agentPoolId |
Required. The ID of the agent pool to create. The
As expressed by the regular expression: |
Request body
The request body contains an instance of AgentPool
.
Response body
If successful, the response body contains a newly created instance of AgentPool
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.