Class ProjectsResource.ConversationsResource.MessagesResource.ListRequest
Lists messages that belong to a given conversation. messages
are ordered by create_time
in
descending order. To fetch updates without duplication, send request with filter
create_time_epoch_microseconds > [first item's create_time of previous request]
and empty
page_token.
Inheritance
Inherited Members
Namespace: Google.Apis.Dialogflow.v2
Assembly: Google.Apis.Dialogflow.v2.dll
Syntax
public class ProjectsResource.ConversationsResource.MessagesResource.ListRequest : DialogflowBaseServiceRequest<GoogleCloudDialogflowV2ListMessagesResponse>, IClientServiceRequest<GoogleCloudDialogflowV2ListMessagesResponse>, 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 message 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. By default 100 and at most 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 conversation to list messages for. Format:
projects//locations//conversations/
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()