Retrieve all attachments associated with a support case.
HTTP request
GET https://cloudsupport.googleapis.com/v2beta/{parent=*/*/cases/*}/attachments
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The resource name of Case object for which attachments should be listed. |
Query parameters
Parameters | |
---|---|
pageSize |
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. |
pageToken |
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
If successful, the response body contains data with the following structure:
The response message for the attachments.list endpoint.
JSON representation |
---|
{
"attachments": [
{
object ( |
Fields | |
---|---|
attachments[] |
The list of attachments associated with the given case. |
nextPageToken |
A token to retrieve the next page of results. This should be set in the |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloudsupport
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.