Google Cloud Support v2 API - Class CaseService.CaseServiceBase (1.0.0)

[BindServiceMethod(typeof(CaseService), "BindService")]
public abstract class CaseService.CaseServiceBase

Reference documentation and code samples for the Google Cloud Support v2 API class CaseService.CaseServiceBase.

Base class for server-side implementations of CaseService

Inheritance

object > CaseService.CaseServiceBase

Namespace

Google.Cloud.Support.V2

Assembly

Google.Cloud.Support.V2.dll

Methods

CloseCase(CloseCaseRequest, ServerCallContext)

public virtual Task<Case> CloseCase(CloseCaseRequest request, ServerCallContext context)

Close the specified case.

Parameters
NameDescription
requestCloseCaseRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskCase

The response to send back to the client (wrapped by a task).

CreateCase(CreateCaseRequest, ServerCallContext)

public virtual Task<Case> CreateCase(CreateCaseRequest request, ServerCallContext context)

Create a new case and associate it with the given Google Cloud Resource. The case object must have the following fields set: display_name, description, classification, and priority.

Parameters
NameDescription
requestCreateCaseRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskCase

The response to send back to the client (wrapped by a task).

EscalateCase(EscalateCaseRequest, ServerCallContext)

public virtual Task<Case> EscalateCase(EscalateCaseRequest request, ServerCallContext context)

Escalate a case. Escalating a case will initiate the Google Cloud Support escalation management process.

This operation is only available to certain Customer Care tiers. Go to https://cloud.google.com/support and look for 'Technical support escalations' in the feature list to find out which tiers are able to perform escalations.

Parameters
NameDescription
requestEscalateCaseRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskCase

The response to send back to the client (wrapped by a task).

GetCase(GetCaseRequest, ServerCallContext)

public virtual Task<Case> GetCase(GetCaseRequest request, ServerCallContext context)

Retrieve the specified case.

Parameters
NameDescription
requestGetCaseRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskCase

The response to send back to the client (wrapped by a task).

ListCases(ListCasesRequest, ServerCallContext)

public virtual Task<ListCasesResponse> ListCases(ListCasesRequest request, ServerCallContext context)

Retrieve all cases under the specified parent.

Note: Listing cases under an Organization returns only the cases directly parented by that organization. To retrieve all cases under an organization, including cases parented by projects under that organization, use cases.search.

Parameters
NameDescription
requestListCasesRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskListCasesResponse

The response to send back to the client (wrapped by a task).

SearchCaseClassifications(SearchCaseClassificationsRequest, ServerCallContext)

public virtual Task<SearchCaseClassificationsResponse> SearchCaseClassifications(SearchCaseClassificationsRequest request, ServerCallContext context)

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".

Parameters
NameDescription
requestSearchCaseClassificationsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskSearchCaseClassificationsResponse

The response to send back to the client (wrapped by a task).

SearchCases(SearchCasesRequest, ServerCallContext)

public virtual Task<SearchCasesResponse> SearchCases(SearchCasesRequest request, ServerCallContext context)

Search cases using the specified query.

Parameters
NameDescription
requestSearchCasesRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskSearchCasesResponse

The response to send back to the client (wrapped by a task).

UpdateCase(UpdateCaseRequest, ServerCallContext)

public virtual Task<Case> UpdateCase(UpdateCaseRequest request, ServerCallContext context)

Update the specified case. Only a subset of fields can be updated.

Parameters
NameDescription
requestUpdateCaseRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskCase

The response to send back to the client (wrapped by a task).