Method: projects.locations.userStores.create

Creates a new User Store.

HTTP request

POST https://discoveryengine.googleapis.com/v1beta/{parent=projects/*/locations/*}/userStores

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent collection resource name, such as projects/{project}/locations/{location}.

Query parameters

Parameters
userStoreId

string

Required. The ID of the User 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.

Request body

The request body contains an instance of UserStore.

Response body

If successful, the response body contains a newly created instance of UserStore.

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/discoveryengine.readwrite

For more information, see the Authentication Overview.