Method: projects.locations.agents.environments.continuousTestResults.list

Fetches a list of continuous test results for a given environment.

HTTP request

GET https://{endpoint}/v3beta1/{parent=projects/*/locations/*/agents/*/environments/*}/continuousTestResults

Where {endpoint} is one of the supported service endpoints.

The URLs use gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The environment to list results for. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>.

Authorization requires the following IAM permission on the specified resource parent:

  • dialogflow.environments.get

Query parameters

Parameters
pageSize

integer

The maximum number of items to return in a single page. By default 100 and at most 1000.

pageToken

string

The nextPageToken value returned from a previous list request.

Request body

The request body must be empty.

Response body

The response message for [Environments.ListTestCaseResults][].

If successful, the response body contains data with the following structure:

JSON representation
{
  "continuousTestResults": [
    {
      object (ContinuousTestResult)
    }
  ],
  "nextPageToken": string
}
Fields
continuousTestResults[]

object (ContinuousTestResult)

The list of continuous test results.

nextPageToken

string

Token to retrieve the next page of results, or empty if there are no more results in the list.

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/dialogflow

For more information, see the Authentication Overview.

ContinuousTestResult

Represents a result from running a test case in an agent environment.

JSON representation
{
  "name": string,
  "result": enum (AggregatedTestResult),
  "testCaseResults": [
    string
  ],
  "runTime": string
}
Fields
name

string

The resource name for the continuous test result. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/continuousTestResults/<ContinuousTestResultID>.

result

enum (AggregatedTestResult)

The result of this continuous test run, i.e. whether all the tests in this continuous test run pass or not.

testCaseResults[]

string

A list of individual test case results names in this continuous test run.

runTime

string (Timestamp format)

Time when the continuous testing run starts.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

AggregatedTestResult

The overall result for a continuous test run in an agent environment.

Enums
AGGREGATED_TEST_RESULT_UNSPECIFIED Not specified. Should never be used.
PASSED All the tests passed.
FAILED At least one test did not pass.