1.0.0-beta05 (latest) 1.0.0-beta04

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

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

Base class for server-side implementations of CaseService

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> CaseService.CaseServiceBase

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Support.V2Beta](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta)

## Assembly

Google.Cloud.Support.V2Beta.dll

## Methods

### CloseCase(CloseCaseRequest, ServerCallContext)

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

Close a case.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.CloseCaseRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.Case` | 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 a parent.

It must have the following fields set: `display_name`, `description`,
`classification`, and `priority`. If you're just testing the API and don't
want to route your case to an agent, set `testCase=true`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.CreateCaseRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.Case` | 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, starting the Google Cloud Support escalation management
process.

This operation is only available for some support services. Go to
<https://cloud.google.com/support> and look for 'Technical support
escalations' in the feature list to find out which ones let you
do that.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.EscalateCaseRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.Case` | 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 a case.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.GetCaseRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.Case` | 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 a parent, but not its children.

For example, listing cases under an organization only returns the cases
that are directly parented by that organization. To retrieve cases
under an organization and its projects, use `cases.search`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.ListCasesRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.ListCasesResponse` | 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 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.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SearchCaseClassificationsRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SearchCaseClassificationsResponse` | 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 for cases using a query.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SearchCasesRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SearchCasesResponse` | 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 a case. Only some fields can be updated.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.UpdateCaseRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.Case` | The response to send back to the client (wrapped by a task). |