# Google Cloud Dialogflow v2beta1 API - Class SipTrunks.SipTrunksBase (1.0.0-beta30)

1.0.0-beta30 (latest) 1.0.0-beta29

    [BindServiceMethod(typeof(SipTrunks), "BindService")]
    public abstract class SipTrunks.SipTrunksBase

Reference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class SipTrunks.SipTrunksBase.

Base class for server-side implementations of SipTrunks

## Inheritance

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

## 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.Dialogflow.V2Beta1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1)

## Assembly

Google.Cloud.Dialogflow.V2Beta1.dll

## Methods

### CreateSipTrunk(CreateSipTrunkRequest, ServerCallContext)

    public virtual Task<SipTrunk> CreateSipTrunk(CreateSipTrunkRequest request, ServerCallContext context)

Creates a SipTrunk for a specified location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.CreateSipTrunkRequest` 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.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.SipTrunk` | The response to send back to the client (wrapped by a task). |

### DeleteSipTrunk(DeleteSipTrunkRequest, ServerCallContext)

    public virtual Task<Empty> DeleteSipTrunk(DeleteSipTrunkRequest request, ServerCallContext context)

Deletes a specified SipTrunk.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.DeleteSipTrunkRequest` 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://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.html` | The response to send back to the client (wrapped by a task). |

### GetSipTrunk(GetSipTrunkRequest, ServerCallContext)

    public virtual Task<SipTrunk> GetSipTrunk(GetSipTrunkRequest request, ServerCallContext context)

Retrieves the specified SipTrunk.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.GetSipTrunkRequest` 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.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.SipTrunk` | The response to send back to the client (wrapped by a task). |

### ListSipTrunks(ListSipTrunksRequest, ServerCallContext)

    public virtual Task<ListSipTrunksResponse> ListSipTrunks(ListSipTrunksRequest request, ServerCallContext context)

Returns a list of SipTrunks in the specified location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.ListSipTrunksRequest` 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.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.ListSipTrunksResponse` | The response to send back to the client (wrapped by a task). |

### UpdateSipTrunk(UpdateSipTrunkRequest, ServerCallContext)

    public virtual Task<SipTrunk> UpdateSipTrunk(UpdateSipTrunkRequest request, ServerCallContext context)

Updates the specified SipTrunk.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.UpdateSipTrunkRequest` 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.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.SipTrunk` | The response to send back to the client (wrapped by a task). |