Required. The ID to use for the principal access boundary policy, which will become the final component of the principal access boundary policy's resource name.
This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, hyphens, or dots. Pattern, /[a-z][a-z0-9-.]{2,62}/.
validateOnly
boolean
Optional. If set, validate the request and preview the creation, but do not actually post it.
[[["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 page details the process of creating a principal access boundary policy using a \u003ccode\u003ePOST\u003c/code\u003e request to the specified URL, which includes organization and location parameters.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eprincipalAccessBoundaryPolicyId\u003c/code\u003e is a mandatory query parameter for defining the ID of the policy, while \u003ccode\u003evalidateOnly\u003c/code\u003e allows for request validation without actual creation.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must contain an instance of \u003ccode\u003ePrincipalAccessBoundaryPolicy\u003c/code\u003e, and a successful response will return an \u003ccode\u003eOperation\u003c/code\u003e instance.\u003c/p\u003e\n"],["\u003cp\u003eCreating a principal access boundary policy requires the \u003ccode\u003eiam.principalaccessboundarypolicies.create\u003c/code\u003e IAM permission on the parent resource and the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"],["\u003cp\u003eThe provided content utilizes gRPC Transcoding syntax within the URL, where an HTTP request can be made.\u003c/p\u003e\n"]]],[],null,["# Method: organizations.locations.principalAccessBoundaryPolicies.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- [IAM Permissions](#body.aspect_1)\n- [Examples](#examples)\n- [Try it!](#try-it)\n\nCreates a principal access boundary policy, and returns a long running operation.\n\n### HTTP request\n\n`POST https://iam.googleapis.com/v3/{parent=organizations/*/locations/*}/principalAccessBoundaryPolicies`\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 [PrincipalAccessBoundaryPolicy](/iam/docs/reference/rest/v3/organizations.locations.principalAccessBoundaryPolicies#PrincipalAccessBoundaryPolicy).\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 the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp).\n\n### IAM Permissions\n\nRequires the following [IAM](https://cloud.google.com/iam/docs) permission on the `parent` resource:\n\n- `iam.principalaccessboundarypolicies.create`\n\nFor more information, see the [IAM documentation](https://cloud.google.com/iam/docs)."]]