v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13183063.3 KB
cases

List all the comments associated with a case. EXAMPLES: cURL: shell case="projects/some-project/cases/43595344" curl \ --header "Authorization: Bearer $(gcloud auth print-access-token)" \ "https://cloudsupport.googleapis.com/v2/$case/comments" Python: python import googleapiclient.discovery api_version = "v2" supportApiService = googleapiclient.discovery.build( serviceName="cloudsupport", version=api_version, discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}", ) request = ( supportApiService.cases() .comments() .list(parent="projects/some-project/cases/43595344") ) print(request.execute())

get/v2/{+parent}/comments

Path parameters

parentstring required

Required. The name of the case for which to list comments.

Query parameters

pageSizeinteger

The maximum number of comments to fetch. Defaults to 10.

pageTokenstring

A token identifying the page of results to return. If unspecified, the first page is returned.

Response

Successful response