Method: projects.locations.integrations.versions.testCases.download

Downloads a test case. Retrieves the TestCase for a given testCaseId and returns the response as a string.

HTTP request

GET https://integrations.googleapis.com/v1/{name=projects/*/locations/*/integrations/*/versions/*/testCases/*}:download

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The test case to download. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{integrationVersion}/testCases/{testCaseId}

Query parameters

Parameters
fileFormat

enum (FileFormat)

File format for download request.

Request body

The request body must be empty.

Response body

Response for testCases.download.

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

JSON representation
{
  "content": string
}
Fields
content

string

String representation of the test case.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • integrations.testCases.get

For more information, see the IAM documentation.