Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.GeneratorsResource.CreateRequest

Creates a generator.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<GoogleCloudDialogflowV2Generator>
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2Generator>
ProjectsResource.LocationsResource.GeneratorsResource.CreateRequest
Implements
IClientServiceRequest<GoogleCloudDialogflowV2Generator>
IClientServiceRequest
Inherited Members
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2Generator>.Xgafv
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2Generator>.AccessToken
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2Generator>.Alt
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2Generator>.Callback
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2Generator>.Fields
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2Generator>.Key
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2Generator>.OauthToken
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2Generator>.PrettyPrint
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2Generator>.QuotaUser
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2Generator>.UploadType
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2Generator>.UploadProtocol
ClientServiceRequest<GoogleCloudDialogflowV2Generator>.Execute()
ClientServiceRequest<GoogleCloudDialogflowV2Generator>.ExecuteAsStream()
ClientServiceRequest<GoogleCloudDialogflowV2Generator>.ExecuteAsync()
ClientServiceRequest<GoogleCloudDialogflowV2Generator>.ExecuteAsync(CancellationToken)
ClientServiceRequest<GoogleCloudDialogflowV2Generator>.ExecuteAsStreamAsync()
ClientServiceRequest<GoogleCloudDialogflowV2Generator>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<GoogleCloudDialogflowV2Generator>.CreateRequest(bool?)
ClientServiceRequest<GoogleCloudDialogflowV2Generator>.GenerateRequestUri()
ClientServiceRequest<GoogleCloudDialogflowV2Generator>.GetDefaultETagAction(string)
ClientServiceRequest<GoogleCloudDialogflowV2Generator>.ETagAction
ClientServiceRequest<GoogleCloudDialogflowV2Generator>.ModifyRequest
ClientServiceRequest<GoogleCloudDialogflowV2Generator>.ValidateParameters
ClientServiceRequest<GoogleCloudDialogflowV2Generator>.ApiVersion
ClientServiceRequest<GoogleCloudDialogflowV2Generator>.RequestParameters
ClientServiceRequest<GoogleCloudDialogflowV2Generator>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Dialogflow.v2
Assembly: Google.Apis.Dialogflow.v2.dll
Syntax
public class ProjectsResource.LocationsResource.GeneratorsResource.CreateRequest : DialogflowBaseServiceRequest<GoogleCloudDialogflowV2Generator>, IClientServiceRequest<GoogleCloudDialogflowV2Generator>, IClientServiceRequest

Constructors

CreateRequest(IClientService, GoogleCloudDialogflowV2Generator, string)

Constructs a new Create request.

Declaration
public CreateRequest(IClientService service, GoogleCloudDialogflowV2Generator body, string parent)
Parameters
Type Name Description
IClientService service
GoogleCloudDialogflowV2Generator 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
ClientServiceRequest<GoogleCloudDialogflowV2Generator>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleCloudDialogflowV2Generator>.MethodName

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
ClientServiceRequest<GoogleCloudDialogflowV2Generator>.RestPath

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
ClientServiceRequest<GoogleCloudDialogflowV2Generator>.GetBody()

InitParameters()

Initializes Create parameter list.

Declaration
protected override void InitParameters()
Overrides
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2Generator>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX