Class ListIntentsRequest
The request message for [Intents.ListIntents][google.cloud.dialogflow.v2.Intents.ListIntents].
Implements
Namespace: Google.Cloud.Dialogflow.V2
Assembly: Google.Cloud.Dialogflow.V2.dll
Syntax
public sealed class ListIntentsRequest : IMessage<ListIntentsRequest>, IEquatable<ListIntentsRequest>, IDeepCloneable<ListIntentsRequest>, IBufferMessage, IMessage, IPageRequest
Constructors
ListIntentsRequest()
Declaration
public ListIntentsRequest()
ListIntentsRequest(ListIntentsRequest)
Declaration
public ListIntentsRequest(ListIntentsRequest other)
Parameters
Type | Name | Description |
---|---|---|
List |
other |
Properties
IntentView
Optional. The resource view to apply to the returned intent.
Declaration
public IntentView IntentView { get; set; }
Property Value
Type | Description |
---|---|
Intent |
LanguageCode
Optional. The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see Multilingual intent and entity data.
Declaration
public string LanguageCode { get; set; }
Property Value
Type | Description |
---|---|
string |
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 agent to list all intents from.
Format: projects/<Project ID>/agent
or projects/<Project ID>/locations/<Location ID>/agent
.
Alternatively, you can specify the environment to list intents for.
Format: projects/<Project ID>/agent/environments/<Environment ID>
or projects/<Project ID>/locations/<Location ID>/agent/environments/<Environment ID>
.
Note: training phrases of the intents will not be returned for non-draft
environment.
Declaration
public string Parent { get; set; }
Property Value
Type | Description |
---|---|
string |
ParentAsAgentName
Declaration
public AgentName ParentAsAgentName { get; set; }
Property Value
Type | Description |
---|---|
Agent |