Stay organized with collections
Save and categorize content based on your preferences.
Retrieve valid classifications to use when creating a support case.
Classifications are hierarchical. Each classification is a string containing all levels of the hierarchy separated by " > ". For example, "Technical Issue > Compute > Compute Engine".
Classification IDs returned by this endpoint are valid for at least six months. When a classification is deactivated, this endpoint immediately stops returning it. After six months, case.create requests using the classification will fail.
A token to retrieve the next page of results. Set this in the pageToken field of subsequent caseClassifications.list requests. 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: caseClassifications.search\n\nRetrieve valid classifications to use when creating a support case.\n\nClassifications are hierarchical. Each classification is a string containing all levels of the hierarchy separated by `\" \u003e \"`. For example, `\"Technical Issue \u003e Compute \u003e Compute Engine\"`.\n\nClassification IDs returned by this endpoint are valid for at least six months. When a classification is deactivated, this endpoint immediately stops returning it. After six months, `case.create` requests using the classification will fail.\n\nEXAMPLES:\n\ncURL: \n\n curl \\\n --header \"Authorization: Bearer $(gcloud auth print-access-token)\" \\\n 'https://cloudsupport.googleapis.com/v2/caseClassifications:search?query=displayName:\"*Compute%20Engine*\"'\n\nPython: \n\n import googleapiclient.discovery\n\n supportApiService = googleapiclient.discovery.build(\n serviceName=\"cloudsupport\",\n version=\"v2\",\n discoveryServiceUrl=f\"https://cloudsupport.googleapis.com/$discovery/rest?version=v2\",\n )\n request = supportApiService.caseClassifications().search(\n query='displayName:\"*Compute Engine*\"'\n )\n print(request.execute())\n\n### HTTP request\n\n`GET https://cloudsupport.googleapis.com/v2/caseClassifications:search`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Query parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nThe response message for caseClassifications.search 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)."]]