- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
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 |
Required. The test case to download. Format: projects/{project}/locations/{location}/integrations/{integration}/versions/{integrationVersion}/testCases/{testCaseId} |
Query parameters
Parameters | |
---|---|
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 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.