Class ListContextsRequest
The request message for [Contexts.ListContexts][google.cloud.dialogflow.v2.Contexts.ListContexts].
Implements
Namespace: Google.Cloud.Dialogflow.V2
Assembly: Google.Cloud.Dialogflow.V2.dll
Syntax
public sealed class ListContextsRequest : IMessage<ListContextsRequest>, IEquatable<ListContextsRequest>, IDeepCloneable<ListContextsRequest>, IBufferMessage, IMessage, IPageRequest
Constructors
ListContextsRequest()
Declaration
public ListContextsRequest()
ListContextsRequest(ListContextsRequest)
Declaration
public ListContextsRequest(ListContextsRequest other)
Parameters
Type | Name | Description |
---|---|---|
ListContextsRequest | other |
Properties
PageSize
Optional. The maximum number of items to return in a single page. By default 100 and at most 1000.
Declaration
public int PageSize { get; set; }
Property Value
Type | Description |
---|---|
int |
Implements
PageToken
Optional. The next_page_token value returned from a previous list request.
Declaration
public string PageToken { get; set; }
Property Value
Type | Description |
---|---|
string |
Implements
Parent
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.
Declaration
public string Parent { get; set; }
Property Value
Type | Description |
---|---|
string |
ParentAsSessionName
SessionName-typed view over the Parent resource name property.
Declaration
public SessionName ParentAsSessionName { get; set; }
Property Value
Type | Description |
---|---|
SessionName |