Class ProjectsResource.LocationsResource.AgentsResource.TestCasesResource.ResultsResource.ListRequest
Fetches the list of run results for the given test case. A maximum of 100 results are kept for each test case.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.Dialogflow.v3
Assembly: Google.Apis.Dialogflow.v3.dll
Syntax
public class ProjectsResource.LocationsResource.AgentsResource.TestCasesResource.ResultsResource.ListRequest : DialogflowBaseServiceRequest<GoogleCloudDialogflowCxV3ListTestCaseResultsResponse>, IClientServiceRequest<GoogleCloudDialogflowCxV3ListTestCaseResultsResponse>, 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
Filter
The filter expression used to filter test case results. See API
Filtering. The expression is case insensitive. Only 'AND' is
supported for logical operators. The supported syntax is listed below in detail: [AND ]
... [AND latest] The supported fields and operators are: field operator environment
=
, IN
(Use value draft
for draft environment) test_time
>
, <
latest
only returns the latest test result in all results for each test case.
Examples: * "environment=draft AND latest" matches the latest test result for each test
case in the draft environment. * "environment IN (e1,e2)" matches any test case results
with an environment resource name of either "e1" or "e2". * "test_time >
1602540713" matches any test case results with test time later than a unix timestamp in
seconds 1602540713.
Declaration
[RequestParameter("filter", RequestParameterType.Query)]
public virtual string Filter { get; set; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
PageSize
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
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 test case to list results for. Format:
projects//locations//agents//testCases/
. Specify a -
as a wildcard for TestCase ID
to list results across multiple test cases.
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()