Required. The parent collection resource name, such as projects/{project}/locations/{location}.
Query parameters
Parameters
identityMappingStoreId
string
Required. The ID of the Identity Mapping Store to create.
The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 63 characters.
Union parameter cmek_options. CMEK options for the Identity Mapping Store. Setting this field will override the default CmekConfig if one is set for the project. cmek_options can be only one of the following:
cmekConfigName
string
Resource name of the CmekConfig to use for protecting this Identity Mapping Store.
disableCmek
boolean
Identity Mapping Store without CMEK protections. If a default CmekConfig is set for the project, setting this field will override the default CmekConfig as well.
[[["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-07-30 UTC."],[[["\u003cp\u003eThis API creates a new Identity Mapping Store using a POST request to a specified URL, including the project and location.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eparent\u003c/code\u003e path parameter is required, specifying the collection resource name, while the \u003ccode\u003eidentityMappingStoreId\u003c/code\u003e query parameter is also required, dictating the ID for the new store.\u003c/p\u003e\n"],["\u003cp\u003eCMEK options are available, allowing for configuration either through a specified \u003ccode\u003ecmekConfigName\u003c/code\u003e or by disabling CMEK entirely via \u003ccode\u003edisableCmek\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must include an instance of \u003ccode\u003eIdentityMappingStore\u003c/code\u003e, and a successful request will return a newly created \u003ccode\u003eIdentityMappingStore\u003c/code\u003e instance.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization requires the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.identityMappingStores.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\nCreates a new Identity Mapping Store.\n\n### HTTP request\n\n`POST https://discoveryengine.googleapis.com/v1/{parent=projects/*/locations/*}/identityMappingStores`\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 [IdentityMappingStore](/generative-ai-app-builder/docs/reference/rest/v1/projects.locations.identityMappingStores#IdentityMappingStore).\n\n### Response body\n\nIf successful, the response body contains a newly created instance of [IdentityMappingStore](/generative-ai-app-builder/docs/reference/rest/v1/projects.locations.identityMappingStores#IdentityMappingStore).\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- `discoveryengine.identityMappingStores.create`\n\nFor more information, see the [IAM documentation](https://cloud.google.com/iam/docs)."]]