Method: cases.close

Close a case.

EXAMPLES:

cURL:

case="projects/some-project/cases/43595344"
curl \
  --request POST \
  --header "Authorization: Bearer $(gcloud auth print-access-token)" \
  "https://cloudsupport.googleapis.com/v2/$case:close"

Python:

import googleapiclient.discovery


apiVersion = "v2"
supportApiService = googleapiclient.discovery.build(
    serviceName="cloudsupport",
    version=apiVersion,
    discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version={apiVersion}",
)
request = supportApiService.cases().close(
    name="projects/some-project/cases/43595344"
)
print(request.execute())

HTTP request

POST https://cloudsupport.googleapis.com/v2beta/{name=*/*/cases/*}:close

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the case to close.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Case.

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.