Show / Hide Table of Contents

Class ProjectsResource.AgentResource.IntentsResource.CreateRequest

Creates an intent in the specified agent.

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

Constructors

CreateRequest(IClientService, GoogleCloudDialogflowV2Intent, String)

Constructs a new Create request.

Declaration
public CreateRequest(IClientService service, GoogleCloudDialogflowV2Intent body, string parent)
Parameters
Type Name Description
IClientService service
GoogleCloudDialogflowV2Intent body
System.String parent

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2Intent>.HttpMethod

IntentView

Optional. The resource view to apply to the returned intent.

Declaration
[RequestParameter("intentView", RequestParameterType.Query)]
public virtual ProjectsResource.AgentResource.IntentsResource.CreateRequest.IntentViewEnum? IntentView { get; set; }
Property Value
Type Description
System.Nullable<ProjectsResource.AgentResource.IntentsResource.CreateRequest.IntentViewEnum>

LanguageCode

Optional. The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see Multilingual intent and entity data.

Declaration
[RequestParameter("languageCode", RequestParameterType.Query)]
public virtual string LanguageCode { get; set; }
Property Value
Type Description
System.String

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2Intent>.MethodName

Parent

Required. The agent to create a intent for. Format: projects//agent.

Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type Description
System.String

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2Intent>.RestPath

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
System.Object
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2Intent>.GetBody()

InitParameters()

Initializes Create parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.Dialogflow.v2.DialogflowBaseServiceRequest<Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2Intent>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In This Article
Back to top