Class ProjectsResource.ConversationsResource.SuggestionsResource.GenerateRequest
Generates all the suggestions using generators configured in the conversation profile. A generator is used only if its trigger event is matched.
Inheritance
ProjectsResource.ConversationsResource.SuggestionsResource.GenerateRequest
Implements
Inherited Members
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse>.UploadProtocol
Namespace: Google.Apis.Dialogflow.v2beta1
Assembly: Google.Apis.Dialogflow.v2beta1.dll
Syntax
public class ProjectsResource.ConversationsResource.SuggestionsResource.GenerateRequest : DialogflowBaseServiceRequest<GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse>, IClientServiceRequest<GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse>, IClientServiceRequest
Constructors
GenerateRequest(IClientService, GoogleCloudDialogflowV2beta1GenerateSuggestionsRequest, string)
Constructs a new Generate request.
Declaration
public GenerateRequest(IClientService service, GoogleCloudDialogflowV2beta1GenerateSuggestionsRequest body, string conversation)
Parameters
Type | Name | Description |
---|---|---|
IClient |
service | |
Google |
body | |
string | conversation |
Properties
Conversation
Required. The conversation for which the suggestions are generated. Format:
projects//locations//conversations/
. The conversation must be created with a conversation
profile which has generators configured in it to be able to get suggestions.
Declaration
[RequestParameter("conversation", RequestParameterType.Path)]
public virtual string Conversation { get; }
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
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 Generate parameter list.
Declaration
protected override void InitParameters()