Required. The project/location to create generator for. Format: projects/<Project ID>/locations/<Location ID>
Query parameters
Parameters
generatorId
string
Optional. The ID to use for the generator, which will become the final component of the generator's resource name.
The generator ID must be compliant with the regression formula [a-zA-Z][a-zA-Z0-9_-]* with the characters length in range of [3,64]. If the field is not provided, an Id will be auto-generated. If the field is provided, the caller is responsible for 1. the uniqueness of the ID, otherwise the request will be rejected. 2. the consistency for whether to use custom ID or not under a project to better ensure uniqueness.
Request body
The request body contains an instance of Generator.
Response body
If successful, the response body contains a newly created instance of Generator.
[[["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-03-05 UTC."],[[["This webpage details the process of creating a generator using an HTTP POST request to a specific endpoint, structured under gRPC Transcoding syntax."],["The `parent` path parameter is mandatory, defining the project and location for the generator, while the `generatorId` query parameter is optional, allowing for a custom or auto-generated ID with specific formatting constraints."],["The request and response bodies both utilize the `Generator` resource, with the request creating a new generator instance and the response returning the newly created instance."],["Authorization to create a generator requires either the `https://www.googleapis.com/auth/cloud-platform` or `https://www.googleapis.com/auth/dialogflow` OAuth scopes."]]],[]]