2025-08-07
▼ ▲ cloudsupport.cases.attachments.get
Path : v2beta/{+name}
Flat Path : v2beta/{v2betaId}/{v2betaId1}/cases/{casesId}/attachments/{attachmentsId}
HTTP Method : GET
Parameters :
name
Description : Required. The name of the attachment to get.
Pattern : ^[^/]+/[^/]+/cases/[^/]+/attachments/[^/]+$
Location : path
Required : Yes
Type : string
Parameter Order : name
Scopes : https://www.googleapis.com/auth/cloud-platform
Description : Retrieve an attachment associated with a support case. EXAMPLES: cURL: ```shell attachment="projects/some-project/cases/23598314/attachments/0684M00000P3h1fQAB" curl \ --header "Authorization: Bearer $(gcloud auth print-access-token)" \ "https://cloudsupport.googleapis.com/v2/$attachment" ``` Python: ```python import googleapiclient.discovery api_version = "v2beta" supportApiService = googleapiclient.discovery.build( serviceName="cloudsupport", version=api_version, discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}", ) request = ( supportApiService.cases() .attachments() .get(name="projects/some-project/cases/43595344/attachments/0684M00000P3h1fQAB") ) print(request.execute()) ```
▼ ▲ cloudsupport.cases.comments.get
Path : v2beta/{+name}
Flat Path : v2beta/{v2betaId}/{v2betaId1}/cases/{casesId}/comments/{commentsId}
HTTP Method : GET
Parameters :
name
Description : Required. The name of the comment to retrieve.
Pattern : ^[^/]+/[^/]+/cases/[^/]+/comments/[^/]+$
Location : path
Required : Yes
Type : string
Parameter Order : name
Scopes : https://www.googleapis.com/auth/cloud-platform
Description : Retrieve a comment. EXAMPLES: cURL: ```shell comment="projects/some-project/cases/43595344/comments/234567890" curl \ --header "Authorization: Bearer $(gcloud auth print-access-token)" \ "https://cloudsupport.googleapis.com/v2/$comment" ``` Python: ```python import googleapiclient.discovery api_version = "v2beta" supportApiService = googleapiclient.discovery.build( serviceName="cloudsupport", version=api_version, discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}", ) request = supportApiService.cases().comments().get( name="projects/some-project/cases/43595344/comments/234567890", ) print(request.execute()) ```