Optional. The ID to use for the pool, which becomes the final component of the resource name. The IDs must be a globally unique string of 6 to 63 lowercase letters, digits, or hyphens. It must start with a letter, and cannot have a trailing hyphen. The prefix gcp- is reserved for use by Google, and may not be specified.
Request body
The request body contains an instance of WorkforcePool.
Response body
If successful, the response body contains a newly created instance of Operation.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-21 UTC."],[[["\u003cp\u003eThis endpoint creates a new WorkforcePool resource within a specified location, but you cannot reuse the name of a deleted pool for 30 days.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request uses the \u003ccode\u003ePOST\u003c/code\u003e method to send a request to a URL following gRPC Transcoding syntax, where the location is a path parameter.\u003c/p\u003e\n"],["\u003cp\u003eA unique ID for the new pool must be provided in the \u003ccode\u003eworkforcePoolId\u003c/code\u003e query parameter, adhering to specific formatting rules and avoiding reserved prefixes.\u003c/p\u003e\n"],["\u003cp\u003eThe request body should contain the WorkforcePool instance details, and upon success, the response will contain an Operation instance.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization for this operation requires either the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/iam\u003c/code\u003e OAuth scopes.\u003c/p\u003e\n"]]],[],null,["# Method: locations.workforcePools.create\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Examples](#examples)\n- [Try it!](#try-it)\n\nCreates a new [WorkforcePool](/iam/docs/reference/rest/v1/locations.workforcePools#WorkforcePool).\n\nYou cannot reuse the name of a deleted pool until 30 days after deletion.\n\n### HTTP request\n\n`POST https://iam.googleapis.com/v1/{location=locations/*}/workforcePools`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body contains an instance of [WorkforcePool](/iam/docs/reference/rest/v1/locations.workforcePools#WorkforcePool).\n\n### Response body\n\nIf successful, the response body contains a newly created instance of [Operation](/iam/docs/reference/rest/Shared.Types/Operation).\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n- `\n https://www.googleapis.com/auth/iam`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp)."]]