Required. The name of the case for which attachments should be listed.
Query parameters
Parameters
pageSize
integer
The maximum number of attachments fetched with each request.
If not provided, the default is 10. The maximum page size that will be returned is 100.
The size of each page can be smaller than the requested page size and can include zero. For example, you could request 100 attachments on one page, receive 0, and then on the next page, receive 90.
pageToken
string
A token identifying the page of results to return. If unspecified, the first page is retrieved.
Request body
The request body must be empty.
Response body
The response message for the attachments.list endpoint.
If successful, the response body contains data with the following structure:
A token to retrieve the next page of results. Set this in thepageTokenfield of subsequentcases.attachments.listrequests. If unspecified, there are no more results to retrieve.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-30 UTC."],[],[],null,["# Method: cases.attachments.list\n\nList all the attachments associated with a support case.\n\nEXAMPLES:\n\ncURL: \n\n case=\"projects/some-project/cases/23598314\"\n curl \\\n --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\\n \"https://cloudsupport.googleapis.com/v2/$case/attachments\"\n\nPython: \n\n import googleapiclient.discovery\n\n apiVersion = \"v2\"\n supportApiService = googleapiclient.discovery.build(\n serviceName=\"cloudsupport\",\n version=apiVersion,\n discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version={apiVersion}\",\n )\n request = (\n supportApiService.cases()\n .attachments()\n .list(parent=\"projects/some-project/cases/43595344\")\n )\n print(request.execute())\n\n### HTTP request\n\n`GET https://cloudsupport.googleapis.com/v2/{parent=*/*/cases/*}/attachments`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nThe response message for the attachments.list endpoint.\n\nIf successful, the response body contains data with the following structure:\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/cloudsupport`\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp)."]]