Dialogflow API . projects . locations . agents . environments . continuousTestResults

Instance Methods

close()

Close httplib2 connections.

list(parent, pageSize=None, pageToken=None, x__xgafv=None)

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

list_next()

Retrieves the next page of results.

Method Details

close()
Close httplib2 connections.
list(parent, pageSize=None, pageToken=None, x__xgafv=None)
Fetches a list of continuous test results for a given environment.

Args:
  parent: string, Required. The environment to list results for. Format: `projects//locations//agents//environments/`. (required)
  pageSize: integer, The maximum number of items to return in a single page. By default 100 and at most 1000.
  pageToken: string, The next_page_token value returned from a previous list request.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # The response message for Environments.ListTestCaseResults.
  "continuousTestResults": [ # The list of continuous test results.
    { # Represents a result from running a test case in an agent environment.
      "name": "A String", # The resource name for the continuous test result. Format: `projects//locations//agents//environments//continuousTestResults/`.
      "result": "A String", # The result of this continuous test run, i.e. whether all the tests in this continuous test run pass or not.
      "runTime": "A String", # Time when the continuous testing run starts.
      "testCaseResults": [ # A list of individual test case results names in this continuous test run.
        "A String",
      ],
    },
  ],
  "nextPageToken": "A String", # Token to retrieve the next page of results, or empty if there are no more results in the list.
}
list_next()
Retrieves the next page of results.

        Args:
          previous_request: The request for the previous page. (required)
          previous_response: The response from the request for the previous page. (required)

        Returns:
          A request object that you can call 'execute()' on to request the next
          page. Returns None if there are no more items in the collection.