Class ProjectsResource.ConversationsResource.ParticipantsResource.SuggestionsResource.ListRequest
Deprecated: Use inline suggestion, event based suggestion or Suggestion* API instead. See
HumanAgentAssistantConfig.name for more details. Removal Date: 2020-09-01. Retrieves suggestions
for live agents. This method should be used by human agent client software to fetch auto
generated suggestions in real-time, while the conversation with an end user is in progress. The
functionality is implemented in terms of the list
pagination design
pattern. The client app should use the next_page_token
field to fetch the next batch of
suggestions. suggestions
are sorted by create_time
in descending order. To fetch latest
suggestion, just set page_size
to 1. To fetch new suggestions without duplication, send
request with filter create_time_epoch_microseconds > [first item's create_time of previous request]
and empty page_token.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.Dialogflow.v2beta1
Assembly: Google.Apis.Dialogflow.v2beta1.dll
Syntax
public class ProjectsResource.ConversationsResource.ParticipantsResource.SuggestionsResource.ListRequest : DialogflowBaseServiceRequest<GoogleCloudDialogflowV2beta1ListSuggestionsResponse>, IClientServiceRequest<GoogleCloudDialogflowV2beta1ListSuggestionsResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService, string)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | parent |
Properties
Filter
Optional. Filter on suggestions fields. Currently predicates on create_time
and
create_time_epoch_microseconds
are supported. create_time
only support milliseconds
accuracy. E.g., create_time_epoch_microseconds > 1551790877964485
or create_time > "2017-01-15T01:30:15.01Z"
For more information about filtering, see API
Filtering.
Declaration
[RequestParameter("filter", RequestParameterType.Query)]
public virtual string Filter { get; set; }
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
PageSize
Optional. The maximum number of items to return in a single page. The default value is 100; the maximum value is 1000.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
PageToken
Optional. The next_page_token value returned from a previous list request.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type | Description |
---|---|
string |
Parent
Required. The name of the participant to fetch suggestions 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
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()