Google Cloud Dialogflow v2 API - Class CreateGeneratorRequest (4.22.0)

public sealed class CreateGeneratorRequest : IMessage<CreateGeneratorRequest>, IEquatable<CreateGeneratorRequest>, IDeepCloneable<CreateGeneratorRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Dialogflow v2 API class CreateGeneratorRequest.

Request message of CreateGenerator.

Inheritance

object > CreateGeneratorRequest

Namespace

Google.Cloud.Dialogflow.V2

Assembly

Google.Cloud.Dialogflow.V2.dll

Constructors

CreateGeneratorRequest()

public CreateGeneratorRequest()

CreateGeneratorRequest(CreateGeneratorRequest)

public CreateGeneratorRequest(CreateGeneratorRequest other)
Parameter
Name Description
other CreateGeneratorRequest

Properties

Generator

public Generator Generator { get; set; }

Required. The generator to create.

Property Value
Type Description
Generator

GeneratorId

public string GeneratorId { get; set; }

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.
Property Value
Type Description
string

Parent

public string Parent { get; set; }

Required. The project/location to create generator for. Format: projects/<Project ID>/locations/<Location ID>

Property Value
Type Description
string

ParentAsProjectName

public ProjectName ParentAsProjectName { get; set; }

ProjectName-typed view over the Parent resource name property.

Property Value
Type Description
ProjectName