Class ProjectsResource.AgentResource.EnvironmentsResource.IntentsResource.ListRequest
Returns the list of all intents in the specified agent.
Inheritance
Inherited Members
Namespace: Google.Apis.Dialogflow.v2
Assembly: Google.Apis.Dialogflow.v2.dll
Syntax
public class ProjectsResource.AgentResource.EnvironmentsResource.IntentsResource.ListRequest : DialogflowBaseServiceRequest<GoogleCloudDialogflowV2ListIntentsResponse>, IClientServiceRequest<GoogleCloudDialogflowV2ListIntentsResponse>, 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
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
IntentView
Optional. The resource view to apply to the returned intent.
Declaration
[RequestParameter("intentView", RequestParameterType.Query)]
public virtual ProjectsResource.AgentResource.EnvironmentsResource.IntentsResource.ListRequest.IntentViewEnum? IntentView { get; set; }
Property Value
Type | Description |
---|---|
ProjectsResource.AgentResource.EnvironmentsResource.IntentsResource.ListRequest.IntentViewEnum? |
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
[RequestParameter("languageCode", RequestParameterType.Query)]
public virtual string LanguageCode { get; set; }
Property Value
Type | Description |
---|---|
string |
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 agent to list all intents from. Format: projects//agent
or
projects//locations//agent
. Alternatively, you can specify the environment to list intents
for. Format: projects//agent/environments/
or projects//locations//agent/environments/
.
Note: training phrases of the intents will not be returned for non-draft environment.
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()