Show / Hide Table of Contents

Class CaseClassificationsResource.SearchRequest

Retrieve valid classifications to be used when creating a support case. The classications are hierarchical, with each classification containing all levels of the hierarchy, separated by " > ". For example "Technical Issue > Compute > Compute Engine". Classification IDs returned by caseClassifications.search are guaranteed to be valid for at least six months. If a given classification is deactivated, it immediately stops being returned. After six months, case.create requests using the classification ID will fail. Here is an example of calling this endpoint using cURL:

shell curl \
--header "Authorization: Bearer $(gcloud auth print-access-token)" \
'https://cloudsupport.googleapis.com/v2/caseClassifications:search?query=display_name:"*Compute%20Engine*"'
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>.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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudSupport.v2beta.Data.SearchCaseClassificationsResponse>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudSupport.v2beta.Data.SearchCaseClassificationsResponse>.MethodName

PageSize

The maximum number of cases 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

Query

An expression written in the Google Cloud filter language. If non-empty, then only cases whose fields match the filter are returned. If empty, then no messages are filtered out.

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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudSupport.v2beta.Data.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