public sealed class ListContextsRequest : IMessage<ListContextsRequest>, IEquatable<ListContextsRequest>, IDeepCloneable<ListContextsRequest>, IBufferMessage, IMessage, IPageRequest
Reference documentation and code samples for the Google Cloud Dialogflow v2 API class ListContextsRequest.
The request message for [Contexts.ListContexts][google.cloud.dialogflow.v2.Contexts.ListContexts].
Implements
IMessage<ListContextsRequest>, IEquatable<ListContextsRequest>, IDeepCloneable<ListContextsRequest>, IBufferMessage, IMessage, IPageRequestNamespace
Google.Cloud.Dialogflow.V2Assembly
Google.Cloud.Dialogflow.V2.dll
Constructors
ListContextsRequest()
public ListContextsRequest()
ListContextsRequest(ListContextsRequest)
public ListContextsRequest(ListContextsRequest other)
Parameter | |
---|---|
Name | Description |
other | ListContextsRequest |
Properties
PageSize
public int PageSize { get; set; }
Optional. The maximum number of items to return in a single page. By default 100 and at most 1000.
Property Value | |
---|---|
Type | Description |
Int32 |
PageToken
public string PageToken { get; set; }
Optional. The next_page_token value returned from a previous list request.
Property Value | |
---|---|
Type | Description |
String |
Parent
public string Parent { get; set; }
Required. The session to list all contexts from.
Format: projects/<Project ID>/agent/sessions/<Session ID>
or
projects/<Project ID>/agent/environments/<Environment ID>/users/<User
ID>/sessions/<Session ID>
.
If Environment ID
is not specified, we assume default 'draft'
environment. If User ID
is not specified, we assume default '-' user.
Property Value | |
---|---|
Type | Description |
String |
ParentAsSessionName
public SessionName ParentAsSessionName { get; set; }
SessionName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
SessionName |