Class ProjectsResource.GeneratorsResource.CreateRequest
Creates a generator.
Inheritance
Inherited Members
Namespace: Google.Apis.Dialogflow.v2beta1
Assembly: Google.Apis.Dialogflow.v2beta1.dll
Syntax
public class ProjectsResource.GeneratorsResource.CreateRequest : DialogflowBaseServiceRequest<GoogleCloudDialogflowV2beta1Generator>, IClientServiceRequest<GoogleCloudDialogflowV2beta1Generator>, IClientServiceRequest
Constructors
CreateRequest(IClientService, GoogleCloudDialogflowV2beta1Generator, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, GoogleCloudDialogflowV2beta1Generator body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudDialogflowV2beta1Generator | body | |
string | parent |
Properties
GeneratorId
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*
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.
Declaration
[RequestParameter("generatorId", RequestParameterType.Query)]
public virtual string GeneratorId { get; set; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Parent
Required. The project/location to create generator for. Format: projects//locations/
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Create parameter list.
Declaration
protected override void InitParameters()