public sealed class ListContextsRequest : IMessage<ListContextsRequest>, IEquatable<ListContextsRequest>, IDeepCloneable<ListContextsRequest>, IBufferMessage, IMessage, IPageRequest
Reference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class ListContextsRequest.
The request message for [Contexts.ListContexts][google.cloud.dialogflow.v2beta1.Contexts.ListContexts].
Implements
IMessageListContextsRequest, IEquatableListContextsRequest, IDeepCloneableListContextsRequest, IBufferMessage, IMessage, IPageRequestNamespace
Google.Cloud.Dialogflow.V2Beta1Assembly
Google.Cloud.Dialogflow.V2Beta1.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 |
int |
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. Supported formats:
- `projects/<Project ID>/agent/sessions/<Session ID>,
projects/<Project ID>/locations/<Location ID>/agent/sessions/<Session ID>
,projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session ID>
,projects/<Project ID>/locations/<Location ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session ID>
,
If Location ID
is not specified we assume default 'us' location. 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 |