By default 1000 controls are allowed for a data store. A request can be submitted to adjust this limit. If the Control to create already exists, an ALREADY_EXISTS error is returned.
HTTP request
POST https://discoveryengine.googleapis.com/v1/{parent=projects/*/locations/*/dataStores/*}/controls
Required. Full resource name of parent data store. Format: projects/{project}/locations/{location}/collections/{collectionId}/dataStores/{dataStoreId} or projects/{project}/locations/{location}/collections/{collectionId}/engines/{engineId}.
Query parameters
Parameters
controlId
string
Required. The ID to use for the Control, which will become the final component of the Control's resource name.
This value must be within 1-63 characters. Valid characters are /[a-z][0-9]-_/.
[[["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-02-28 UTC."],[[["This endpoint allows you to create a new Control within a specified data store, with a default limit of 1000 controls per store."],["The HTTP request uses a POST method with a specific URL format utilizing gRPC Transcoding syntax, and requires a parent resource path for identifying the data store."],["A unique `controlId` is required as a query parameter to define the Control's resource name, using a specific set of alphanumeric and symbolic characters, and must be between 1 and 63 characters."],["The request body should contain an instance of the Control resource, and a successful response returns the newly created Control object."],["Creating a Control requires OAuth scope `https://www.googleapis.com/auth/cloud-platform` and the `discoveryengine.controls.create` IAM permission on the parent resource."]]],[]]