Show / Hide Table of Contents

Class CaseClassificationsResource.SearchRequest

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())
Inheritance
object
ClientServiceRequest
ClientServiceRequest<SearchCaseClassificationsResponse>
CloudSupportBaseServiceRequest<SearchCaseClassificationsResponse>
CaseClassificationsResource.SearchRequest
Implements
IClientServiceRequest<SearchCaseClassificationsResponse>
IClientServiceRequest
Inherited Members
CloudSupportBaseServiceRequest<SearchCaseClassificationsResponse>.Xgafv
CloudSupportBaseServiceRequest<SearchCaseClassificationsResponse>.AccessToken
CloudSupportBaseServiceRequest<SearchCaseClassificationsResponse>.Alt
CloudSupportBaseServiceRequest<SearchCaseClassificationsResponse>.Callback
CloudSupportBaseServiceRequest<SearchCaseClassificationsResponse>.Fields
CloudSupportBaseServiceRequest<SearchCaseClassificationsResponse>.Key
CloudSupportBaseServiceRequest<SearchCaseClassificationsResponse>.OauthToken
CloudSupportBaseServiceRequest<SearchCaseClassificationsResponse>.PrettyPrint
CloudSupportBaseServiceRequest<SearchCaseClassificationsResponse>.QuotaUser
CloudSupportBaseServiceRequest<SearchCaseClassificationsResponse>.UploadType
CloudSupportBaseServiceRequest<SearchCaseClassificationsResponse>.UploadProtocol
ClientServiceRequest<SearchCaseClassificationsResponse>.Execute()
ClientServiceRequest<SearchCaseClassificationsResponse>.ExecuteAsStream()
ClientServiceRequest<SearchCaseClassificationsResponse>.ExecuteAsync()
ClientServiceRequest<SearchCaseClassificationsResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<SearchCaseClassificationsResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<SearchCaseClassificationsResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<SearchCaseClassificationsResponse>.CreateRequest(bool?)
ClientServiceRequest<SearchCaseClassificationsResponse>.GenerateRequestUri()
ClientServiceRequest<SearchCaseClassificationsResponse>.GetBody()
ClientServiceRequest<SearchCaseClassificationsResponse>.GetDefaultETagAction(string)
ClientServiceRequest<SearchCaseClassificationsResponse>.ETagAction
ClientServiceRequest<SearchCaseClassificationsResponse>.ModifyRequest
ClientServiceRequest<SearchCaseClassificationsResponse>.ValidateParameters
ClientServiceRequest<SearchCaseClassificationsResponse>.ApiVersion
ClientServiceRequest<SearchCaseClassificationsResponse>.RequestParameters
ClientServiceRequest<SearchCaseClassificationsResponse>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
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.SearchRequest : CloudSupportBaseServiceRequest<SearchCaseClassificationsResponse>, IClientServiceRequest<SearchCaseClassificationsResponse>, IClientServiceRequest

Constructors

SearchRequest(IClientService)

Constructs a new Search request.

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

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<SearchCaseClassificationsResponse>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<SearchCaseClassificationsResponse>.MethodName

PageSize

The maximum number of classifications fetched with each request.

Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type Description
int?

PageToken

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

Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type Description
string

ProductProductLine

The product line of the Product.

Declaration
[RequestParameter("product.productLine", RequestParameterType.Query)]
public virtual CaseClassificationsResource.SearchRequest.ProductProductLineEnum? ProductProductLine { get; set; }
Property Value
Type Description
CaseClassificationsResource.SearchRequest.ProductProductLineEnum?

Query

An expression used to filter case classifications. If it's an empty string, then no filtering happens. Otherwise, case classifications will be returned that match the filter.

Declaration
[RequestParameter("query", RequestParameterType.Query)]
public virtual string Query { get; set; }
Property Value
Type Description
string

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<SearchCaseClassificationsResponse>.RestPath

Methods

InitParameters()

Initializes Search parameter list.

Declaration
protected override void InitParameters()
Overrides
CloudSupportBaseServiceRequest<SearchCaseClassificationsResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX