Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.ConversationsResource.CreateRequest

Creates a new conversation. Conversations are auto-completed after 24 hours. Conversation Lifecycle: There are two stages during a conversation: Automated Agent Stage and Assist Stage. For Automated Agent Stage, there will be a dialogflow agent responding to user queries. For Assist Stage, there's no dialogflow agent responding to user queries. But we will provide suggestions which are generated from conversation. If Conversation.conversation_profile is configured for a dialogflow agent, conversation will start from Automated Agent Stage, otherwise, it will start from Assist Stage. And during Automated Agent Stage, once an Intent with Intent.live_agent_handoff is triggered, conversation will transfer to Assist Stage.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<GoogleCloudDialogflowV2Conversation>
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2Conversation>
ProjectsResource.LocationsResource.ConversationsResource.CreateRequest
Implements
IClientServiceRequest<GoogleCloudDialogflowV2Conversation>
IClientServiceRequest
Inherited Members
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2Conversation>.Xgafv
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2Conversation>.AccessToken
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2Conversation>.Alt
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2Conversation>.Callback
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2Conversation>.Fields
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2Conversation>.Key
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2Conversation>.OauthToken
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2Conversation>.PrettyPrint
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2Conversation>.QuotaUser
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2Conversation>.UploadType
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2Conversation>.UploadProtocol
ClientServiceRequest<GoogleCloudDialogflowV2Conversation>.Execute()
ClientServiceRequest<GoogleCloudDialogflowV2Conversation>.ExecuteAsStream()
ClientServiceRequest<GoogleCloudDialogflowV2Conversation>.ExecuteAsync()
ClientServiceRequest<GoogleCloudDialogflowV2Conversation>.ExecuteAsync(CancellationToken)
ClientServiceRequest<GoogleCloudDialogflowV2Conversation>.ExecuteAsStreamAsync()
ClientServiceRequest<GoogleCloudDialogflowV2Conversation>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<GoogleCloudDialogflowV2Conversation>.CreateRequest(bool?)
ClientServiceRequest<GoogleCloudDialogflowV2Conversation>.GenerateRequestUri()
ClientServiceRequest<GoogleCloudDialogflowV2Conversation>.GetDefaultETagAction(string)
ClientServiceRequest<GoogleCloudDialogflowV2Conversation>.ETagAction
ClientServiceRequest<GoogleCloudDialogflowV2Conversation>.ModifyRequest
ClientServiceRequest<GoogleCloudDialogflowV2Conversation>.ValidateParameters
ClientServiceRequest<GoogleCloudDialogflowV2Conversation>.ApiVersion
ClientServiceRequest<GoogleCloudDialogflowV2Conversation>.RequestParameters
ClientServiceRequest<GoogleCloudDialogflowV2Conversation>.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.ConversationsResource.CreateRequest : DialogflowBaseServiceRequest<GoogleCloudDialogflowV2Conversation>, IClientServiceRequest<GoogleCloudDialogflowV2Conversation>, IClientServiceRequest

Constructors

CreateRequest(IClientService, GoogleCloudDialogflowV2Conversation, string)

Constructs a new Create request.

Declaration
public CreateRequest(IClientService service, GoogleCloudDialogflowV2Conversation body, string parent)
Parameters
Type Name Description
IClientService service
GoogleCloudDialogflowV2Conversation body
string parent

Properties

ConversationId

Optional. Identifier of the conversation. Generally it's auto generated by Google. Only set it if you cannot wait for the response to return a auto-generated one to you. The conversation ID must be compliant with the regression formula a-zA-Z* with the characters length in range of [3,64]. 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("conversationId", RequestParameterType.Query)]
public virtual string ConversationId { 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<GoogleCloudDialogflowV2Conversation>.HttpMethod

MethodName

Gets the method name.

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

Parent

Required. Resource identifier of the project creating the conversation. 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<GoogleCloudDialogflowV2Conversation>.RestPath

Methods

GetBody()

Returns the body of the request.

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

InitParameters()

Initializes Create parameter list.

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

Implements

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