Class CreateGeneratorRequest (2.34.0)

CreateGeneratorRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request message of CreateGenerator.

Attributes

Name Description
parent str
Required. The project/location to create generator for. Format: projects/
generator google.cloud.dialogflow_v2.types.Generator
Required. The generator to create.
generator_id str
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 fomula ``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 resposible 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.