Show / Hide Table of Contents

Class CaseClassificationsResource

The "caseClassifications" collection of methods.

Inheritance
object
CaseClassificationsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CloudSupport.v2beta
Assembly: Google.Apis.CloudSupport.v2beta.dll
Syntax
public class CaseClassificationsResource

Constructors

CaseClassificationsResource(IClientService)

Constructs a new resource.

Declaration
public CaseClassificationsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Search()

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. EXAMPLES: cURL:

shell curl \ --header "Authorization: Bearer $(gcloud auth print-access-token)" \
'https://cloudsupport.googleapis.com/v2/caseClassifications:search?query=display_name:"*Compute%20Engine*"'

Python:

python import googleapiclient.discovery supportApiService = googleapiclient.discovery.build(
serviceName="cloudsupport", version="v2",
discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version=v2", ) request =
supportApiService.caseClassifications().search( query='display_name:"*Compute Engine*"' )
print(request.execute())
Declaration
public virtual CaseClassificationsResource.SearchRequest Search()
Returns
Type Description
CaseClassificationsResource.SearchRequest
In this article
Back to top Generated by DocFX