v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13154269.2 KB
projects

Creates an agent pool resource.

post/v1/projects/{+projectId}/agentPools

Path parameters

projectIdstring required

Required. The ID of the Google Cloud project that owns the agent pool.

Query parameters

agentPoolIdstring

Required. The ID of the agent pool to create. The agent_pool_id must meet the following requirements: * Length of 128 characters or less. * Not start with the string goog. * Start with a lowercase ASCII character, followed by: * Zero or more: lowercase Latin alphabet characters, numerals, hyphens (-), periods (.), underscores (_), or tildes (~). * One or more numerals or lowercase ASCII characters. As expressed by the regular expression: ^(?!goog)[a-z]([a-z0-9-._~]*[a-z0-9])?$.

Request body

state'STATE_UNSPECIFIED' | 'CREATING' | 'CREATED' | 'DELETING'

Output only. Specifies the state of the AgentPool.

displayNamestring

Specifies the client-specified AgentPool description.

namestring

Required. Specifies a unique string that identifies the agent pool. Format: projects/{project_id}/agentPools/{agent_pool_id}

Response

Successful response