# Google Cloud Dialogflow v2 API - Class SipTrunksClientImpl (4.30.0)

4.30.0 (latest) 4.29.0 4.28.0 4.27.0 4.26.0 4.25.0 4.24.0 4.23.0 4.22.0 4.21.0 4.20.0 4.19.0 4.18.0 4.17.0 4.16.0 4.15.0 4.14.0 4.13.0 4.12.0 4.11.0 4.10.0 4.9.0 4.8.0 4.7.0 4.6.0 4.5.0 4.4.0 4.3.0 4.2.0 4.1.0 4.0.0 3.11.0 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0

    public sealed class SipTrunksClientImpl : SipTrunksClient

Reference documentation and code samples for the Google Cloud Dialogflow v2 API class SipTrunksClientImpl.

SipTrunks client wrapper implementation, for convenient use.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> [SipTrunksClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.SipTrunksClient) \> SipTrunksClientImpl

## Inherited Members

[SipTrunksClient.DefaultEndpoint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.SipTrunksClient#Google_Cloud_Dialogflow_V2_SipTrunksClient_DefaultEndpoint) [SipTrunksClient.DefaultScopes](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.SipTrunksClient#Google_Cloud_Dialogflow_V2_SipTrunksClient_DefaultScopes) [SipTrunksClient.ServiceMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.SipTrunksClient#Google_Cloud_Dialogflow_V2_SipTrunksClient_ServiceMetadata) [SipTrunksClient.CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.SipTrunksClient#Google_Cloud_Dialogflow_V2_SipTrunksClient_CreateAsync_System_Threading_CancellationToken_) [SipTrunksClient.Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.SipTrunksClient#Google_Cloud_Dialogflow_V2_SipTrunksClient_Create) [SipTrunksClient.ShutdownDefaultChannelsAsync()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.SipTrunksClient#Google_Cloud_Dialogflow_V2_SipTrunksClient_ShutdownDefaultChannelsAsync) [SipTrunksClient.CreateSipTrunkAsync(CreateSipTrunkRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.SipTrunksClient#Google_Cloud_Dialogflow_V2_SipTrunksClient_CreateSipTrunkAsync_Google_Cloud_Dialogflow_V2_CreateSipTrunkRequest_System_Threading_CancellationToken_) [SipTrunksClient.CreateSipTrunk(string, SipTrunk, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.SipTrunksClient#Google_Cloud_Dialogflow_V2_SipTrunksClient_CreateSipTrunk_System_String_Google_Cloud_Dialogflow_V2_SipTrunk_Google_Api_Gax_Grpc_CallSettings_) [SipTrunksClient.CreateSipTrunkAsync(string, SipTrunk, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.SipTrunksClient#Google_Cloud_Dialogflow_V2_SipTrunksClient_CreateSipTrunkAsync_System_String_Google_Cloud_Dialogflow_V2_SipTrunk_Google_Api_Gax_Grpc_CallSettings_) [SipTrunksClient.CreateSipTrunkAsync(string, SipTrunk, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.SipTrunksClient#Google_Cloud_Dialogflow_V2_SipTrunksClient_CreateSipTrunkAsync_System_String_Google_Cloud_Dialogflow_V2_SipTrunk_System_Threading_CancellationToken_) [SipTrunksClient.CreateSipTrunk(LocationName, SipTrunk, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.SipTrunksClient#Google_Cloud_Dialogflow_V2_SipTrunksClient_CreateSipTrunk_Google_Api_Gax_ResourceNames_LocationName_Google_Cloud_Dialogflow_V2_SipTrunk_Google_Api_Gax_Grpc_CallSettings_) [SipTrunksClient.CreateSipTrunkAsync(LocationName, SipTrunk, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.SipTrunksClient#Google_Cloud_Dialogflow_V2_SipTrunksClient_CreateSipTrunkAsync_Google_Api_Gax_ResourceNames_LocationName_Google_Cloud_Dialogflow_V2_SipTrunk_Google_Api_Gax_Grpc_CallSettings_) [SipTrunksClient.CreateSipTrunkAsync(LocationName, SipTrunk, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.SipTrunksClient#Google_Cloud_Dialogflow_V2_SipTrunksClient_CreateSipTrunkAsync_Google_Api_Gax_ResourceNames_LocationName_Google_Cloud_Dialogflow_V2_SipTrunk_System_Threading_CancellationToken_) [SipTrunksClient.DeleteSipTrunkAsync(DeleteSipTrunkRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.SipTrunksClient#Google_Cloud_Dialogflow_V2_SipTrunksClient_DeleteSipTrunkAsync_Google_Cloud_Dialogflow_V2_DeleteSipTrunkRequest_System_Threading_CancellationToken_) [SipTrunksClient.DeleteSipTrunk(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.SipTrunksClient#Google_Cloud_Dialogflow_V2_SipTrunksClient_DeleteSipTrunk_System_String_Google_Api_Gax_Grpc_CallSettings_) [SipTrunksClient.DeleteSipTrunkAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.SipTrunksClient#Google_Cloud_Dialogflow_V2_SipTrunksClient_DeleteSipTrunkAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [SipTrunksClient.DeleteSipTrunkAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.SipTrunksClient#Google_Cloud_Dialogflow_V2_SipTrunksClient_DeleteSipTrunkAsync_System_String_System_Threading_CancellationToken_) [SipTrunksClient.DeleteSipTrunk(SipTrunkName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.SipTrunksClient#Google_Cloud_Dialogflow_V2_SipTrunksClient_DeleteSipTrunk_Google_Cloud_Dialogflow_V2_SipTrunkName_Google_Api_Gax_Grpc_CallSettings_) [SipTrunksClient.DeleteSipTrunkAsync(SipTrunkName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.SipTrunksClient#Google_Cloud_Dialogflow_V2_SipTrunksClient_DeleteSipTrunkAsync_Google_Cloud_Dialogflow_V2_SipTrunkName_Google_Api_Gax_Grpc_CallSettings_) [SipTrunksClient.DeleteSipTrunkAsync(SipTrunkName, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.SipTrunksClient#Google_Cloud_Dialogflow_V2_SipTrunksClient_DeleteSipTrunkAsync_Google_Cloud_Dialogflow_V2_SipTrunkName_System_Threading_CancellationToken_) [SipTrunksClient.ListSipTrunks(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.SipTrunksClient#Google_Cloud_Dialogflow_V2_SipTrunksClient_ListSipTrunks_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [SipTrunksClient.ListSipTrunksAsync(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.SipTrunksClient#Google_Cloud_Dialogflow_V2_SipTrunksClient_ListSipTrunksAsync_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [SipTrunksClient.ListSipTrunks(LocationName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.SipTrunksClient#Google_Cloud_Dialogflow_V2_SipTrunksClient_ListSipTrunks_Google_Api_Gax_ResourceNames_LocationName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [SipTrunksClient.ListSipTrunksAsync(LocationName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.SipTrunksClient#Google_Cloud_Dialogflow_V2_SipTrunksClient_ListSipTrunksAsync_Google_Api_Gax_ResourceNames_LocationName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [SipTrunksClient.GetSipTrunkAsync(GetSipTrunkRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.SipTrunksClient#Google_Cloud_Dialogflow_V2_SipTrunksClient_GetSipTrunkAsync_Google_Cloud_Dialogflow_V2_GetSipTrunkRequest_System_Threading_CancellationToken_) [SipTrunksClient.GetSipTrunk(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.SipTrunksClient#Google_Cloud_Dialogflow_V2_SipTrunksClient_GetSipTrunk_System_String_Google_Api_Gax_Grpc_CallSettings_) [SipTrunksClient.GetSipTrunkAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.SipTrunksClient#Google_Cloud_Dialogflow_V2_SipTrunksClient_GetSipTrunkAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [SipTrunksClient.GetSipTrunkAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.SipTrunksClient#Google_Cloud_Dialogflow_V2_SipTrunksClient_GetSipTrunkAsync_System_String_System_Threading_CancellationToken_) [SipTrunksClient.GetSipTrunk(SipTrunkName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.SipTrunksClient#Google_Cloud_Dialogflow_V2_SipTrunksClient_GetSipTrunk_Google_Cloud_Dialogflow_V2_SipTrunkName_Google_Api_Gax_Grpc_CallSettings_) [SipTrunksClient.GetSipTrunkAsync(SipTrunkName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.SipTrunksClient#Google_Cloud_Dialogflow_V2_SipTrunksClient_GetSipTrunkAsync_Google_Cloud_Dialogflow_V2_SipTrunkName_Google_Api_Gax_Grpc_CallSettings_) [SipTrunksClient.GetSipTrunkAsync(SipTrunkName, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.SipTrunksClient#Google_Cloud_Dialogflow_V2_SipTrunksClient_GetSipTrunkAsync_Google_Cloud_Dialogflow_V2_SipTrunkName_System_Threading_CancellationToken_) [SipTrunksClient.UpdateSipTrunkAsync(UpdateSipTrunkRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.SipTrunksClient#Google_Cloud_Dialogflow_V2_SipTrunksClient_UpdateSipTrunkAsync_Google_Cloud_Dialogflow_V2_UpdateSipTrunkRequest_System_Threading_CancellationToken_) [SipTrunksClient.UpdateSipTrunk(SipTrunk, FieldMask, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.SipTrunksClient#Google_Cloud_Dialogflow_V2_SipTrunksClient_UpdateSipTrunk_Google_Cloud_Dialogflow_V2_SipTrunk_Google_Protobuf_WellKnownTypes_FieldMask_Google_Api_Gax_Grpc_CallSettings_) [SipTrunksClient.UpdateSipTrunkAsync(SipTrunk, FieldMask, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.SipTrunksClient#Google_Cloud_Dialogflow_V2_SipTrunksClient_UpdateSipTrunkAsync_Google_Cloud_Dialogflow_V2_SipTrunk_Google_Protobuf_WellKnownTypes_FieldMask_Google_Api_Gax_Grpc_CallSettings_) [SipTrunksClient.UpdateSipTrunkAsync(SipTrunk, FieldMask, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.SipTrunksClient#Google_Cloud_Dialogflow_V2_SipTrunksClient_UpdateSipTrunkAsync_Google_Cloud_Dialogflow_V2_SipTrunk_Google_Protobuf_WellKnownTypes_FieldMask_System_Threading_CancellationToken_) [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

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

## Assembly

Google.Cloud.Dialogflow.V2.dll

## Remarks

Service for managing \[SipTrunks\]\[google.cloud.dialogflow.v2.SipTrunk\].

## Constructors

### SipTrunksClientImpl(SipTrunksClient, SipTrunksSettings, ILogger)

    public SipTrunksClientImpl(SipTrunks.SipTrunksClient grpcClient, SipTrunksSettings settings, ILogger logger)

Constructs a client wrapper for the SipTrunks service, with the specified gRPC client and settings.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `grpcClient` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.SipTrunkshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.SipTrunks.SipTrunksClient` The underlying gRPC client. |
| `settings` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.SipTrunksSettings` The base [SipTrunksSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.SipTrunksSettings) used within this client. |
| `logger` | `https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger` Optional [ILogger](https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger) to use within this client. |

## Properties

### GrpcClient

    public override SipTrunks.SipTrunksClient GrpcClient { get; }

The underlying gRPC SipTrunks client

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.SipTrunkshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.SipTrunks.SipTrunksClient` |   |

**Overrides** [SipTrunksClient.GrpcClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.SipTrunksClient#Google_Cloud_Dialogflow_V2_SipTrunksClient_GrpcClient)

### LocationsClient

    public override LocationsClient LocationsClient { get; }

The [LocationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.LocationsClient.html) associated with this client.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.LocationsClient.html` |   |

**Overrides** [SipTrunksClient.LocationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.SipTrunksClient#Google_Cloud_Dialogflow_V2_SipTrunksClient_LocationsClient)

## Methods

### CreateSipTrunk(CreateSipTrunkRequest, CallSettings)

    public override SipTrunk CreateSipTrunk(CreateSipTrunkRequest request, CallSettings callSettings = null)

Creates a SipTrunk for a specified location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.CreateSipTrunkRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.SipTrunk` | The RPC response. |

**Overrides** [SipTrunksClient.CreateSipTrunk(CreateSipTrunkRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.SipTrunksClient#Google_Cloud_Dialogflow_V2_SipTrunksClient_CreateSipTrunk_Google_Cloud_Dialogflow_V2_CreateSipTrunkRequest_Google_Api_Gax_Grpc_CallSettings_)

### CreateSipTrunkAsync(CreateSipTrunkRequest, CallSettings)

    public override Task<SipTrunk> CreateSipTrunkAsync(CreateSipTrunkRequest request, CallSettings callSettings = null)

Creates a SipTrunk for a specified location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.CreateSipTrunkRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.SipTrunk` | A Task containing the RPC response. |

**Overrides** [SipTrunksClient.CreateSipTrunkAsync(CreateSipTrunkRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.SipTrunksClient#Google_Cloud_Dialogflow_V2_SipTrunksClient_CreateSipTrunkAsync_Google_Cloud_Dialogflow_V2_CreateSipTrunkRequest_Google_Api_Gax_Grpc_CallSettings_)

### DeleteSipTrunk(DeleteSipTrunkRequest, CallSettings)

    public override void DeleteSipTrunk(DeleteSipTrunkRequest request, CallSettings callSettings = null)

Deletes a specified SipTrunk.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.DeleteSipTrunkRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

**Overrides** [SipTrunksClient.DeleteSipTrunk(DeleteSipTrunkRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.SipTrunksClient#Google_Cloud_Dialogflow_V2_SipTrunksClient_DeleteSipTrunk_Google_Cloud_Dialogflow_V2_DeleteSipTrunkRequest_Google_Api_Gax_Grpc_CallSettings_)

### DeleteSipTrunkAsync(DeleteSipTrunkRequest, CallSettings)

    public override Task DeleteSipTrunkAsync(DeleteSipTrunkRequest request, CallSettings callSettings = null)

Deletes a specified SipTrunk.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.DeleteSipTrunkRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task` | A Task containing the RPC response. |

**Overrides** [SipTrunksClient.DeleteSipTrunkAsync(DeleteSipTrunkRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.SipTrunksClient#Google_Cloud_Dialogflow_V2_SipTrunksClient_DeleteSipTrunkAsync_Google_Cloud_Dialogflow_V2_DeleteSipTrunkRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetSipTrunk(GetSipTrunkRequest, CallSettings)

    public override SipTrunk GetSipTrunk(GetSipTrunkRequest request, CallSettings callSettings = null)

Retrieves the specified SipTrunk.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GetSipTrunkRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.SipTrunk` | The RPC response. |

**Overrides** [SipTrunksClient.GetSipTrunk(GetSipTrunkRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.SipTrunksClient#Google_Cloud_Dialogflow_V2_SipTrunksClient_GetSipTrunk_Google_Cloud_Dialogflow_V2_GetSipTrunkRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetSipTrunkAsync(GetSipTrunkRequest, CallSettings)

    public override Task<SipTrunk> GetSipTrunkAsync(GetSipTrunkRequest request, CallSettings callSettings = null)

Retrieves the specified SipTrunk.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GetSipTrunkRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.SipTrunk` | A Task containing the RPC response. |

**Overrides** [SipTrunksClient.GetSipTrunkAsync(GetSipTrunkRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.SipTrunksClient#Google_Cloud_Dialogflow_V2_SipTrunksClient_GetSipTrunkAsync_Google_Cloud_Dialogflow_V2_GetSipTrunkRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListSipTrunks(ListSipTrunksRequest, CallSettings)

    public override PagedEnumerable<ListSipTrunksResponse, SipTrunk> ListSipTrunks(ListSipTrunksRequest request, CallSettings callSettings = null)

Returns a list of SipTrunks in the specified location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.ListSipTrunksRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.ListSipTrunksResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.SipTrunk` | A pageable sequence of [SipTrunk](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.SipTrunk) resources. |

**Overrides** [SipTrunksClient.ListSipTrunks(ListSipTrunksRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.SipTrunksClient#Google_Cloud_Dialogflow_V2_SipTrunksClient_ListSipTrunks_Google_Cloud_Dialogflow_V2_ListSipTrunksRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListSipTrunksAsync(ListSipTrunksRequest, CallSettings)

    public override PagedAsyncEnumerable<ListSipTrunksResponse, SipTrunk> ListSipTrunksAsync(ListSipTrunksRequest request, CallSettings callSettings = null)

Returns a list of SipTrunks in the specified location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.ListSipTrunksRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.ListSipTrunksResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.SipTrunk` | A pageable asynchronous sequence of [SipTrunk](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.SipTrunk) resources. |

**Overrides** [SipTrunksClient.ListSipTrunksAsync(ListSipTrunksRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.SipTrunksClient#Google_Cloud_Dialogflow_V2_SipTrunksClient_ListSipTrunksAsync_Google_Cloud_Dialogflow_V2_ListSipTrunksRequest_Google_Api_Gax_Grpc_CallSettings_)

### UpdateSipTrunk(UpdateSipTrunkRequest, CallSettings)

    public override SipTrunk UpdateSipTrunk(UpdateSipTrunkRequest request, CallSettings callSettings = null)

Updates the specified SipTrunk.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.UpdateSipTrunkRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.SipTrunk` | The RPC response. |

**Overrides** [SipTrunksClient.UpdateSipTrunk(UpdateSipTrunkRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.SipTrunksClient#Google_Cloud_Dialogflow_V2_SipTrunksClient_UpdateSipTrunk_Google_Cloud_Dialogflow_V2_UpdateSipTrunkRequest_Google_Api_Gax_Grpc_CallSettings_)

### UpdateSipTrunkAsync(UpdateSipTrunkRequest, CallSettings)

    public override Task<SipTrunk> UpdateSipTrunkAsync(UpdateSipTrunkRequest request, CallSettings callSettings = null)

Updates the specified SipTrunk.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.UpdateSipTrunkRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.SipTrunk` | A Task containing the RPC response. |

**Overrides** [SipTrunksClient.UpdateSipTrunkAsync(UpdateSipTrunkRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.SipTrunksClient#Google_Cloud_Dialogflow_V2_SipTrunksClient_UpdateSipTrunkAsync_Google_Cloud_Dialogflow_V2_UpdateSipTrunkRequest_Google_Api_Gax_Grpc_CallSettings_)