Class ProjectsResource.ConversationsResource.ParticipantsResource.SuggestionsResource.CompileRequest
Deprecated. use SuggestArticles and SuggestFaqAnswers instead. Gets suggestions for a participant based on specific historical messages. Note that ListSuggestions will only list the auto-generated suggestions, while CompileSuggestion will try to compile suggestion based on the provided conversation context in the real time.
Inheritance
ProjectsResource.ConversationsResource.ParticipantsResource.SuggestionsResource.CompileRequest
Implements
Inherited Members
Namespace: Google.Apis.Dialogflow.v2beta1
Assembly: Google.Apis.Dialogflow.v2beta1.dll
Syntax
public class ProjectsResource.ConversationsResource.ParticipantsResource.SuggestionsResource.CompileRequest : DialogflowBaseServiceRequest<GoogleCloudDialogflowV2beta1CompileSuggestionResponse>, IClientServiceRequest<GoogleCloudDialogflowV2beta1CompileSuggestionResponse>, IClientServiceRequest
Constructors
CompileRequest(IClientService, GoogleCloudDialogflowV2beta1CompileSuggestionRequest, string)
Constructs a new Compile request.
Declaration
public CompileRequest(IClientService service, GoogleCloudDialogflowV2beta1CompileSuggestionRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudDialogflowV2beta1CompileSuggestionRequest | body | |
string | parent |
Properties
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 name of the participant to fetch suggestion for. Format:
projects//locations//conversations//participants/
.
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 Compile parameter list.
Declaration
protected override void InitParameters()
Overrides
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2beta1CompileSuggestionResponse>.InitParameters()