Google Cloud Dialogflow v2beta1 API - Class SipTrunksClientImpl (1.0.0-beta19)

public sealed class SipTrunksClientImpl : SipTrunksClient

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

SipTrunks client wrapper implementation, for convenient use.

Inheritance

object > SipTrunksClient > SipTrunksClientImpl

Namespace

Google.Cloud.Dialogflow.V2Beta1

Assembly

Google.Cloud.Dialogflow.V2Beta1.dll

Remarks

Service for managing [SipTrunks][google.cloud.dialogflow.v2beta1.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 SipTrunksSipTrunksClient

The underlying gRPC client.

settings SipTrunksSettings

The base SipTrunksSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override SipTrunks.SipTrunksClient GrpcClient { get; }

The underlying gRPC SipTrunks client

Property Value
Type Description
SipTrunksSipTrunksClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
Type Description
LocationsClient
Overrides

Methods

CreateSipTrunk(CreateSipTrunkRequest, CallSettings)

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

Creates a SipTrunk for a specified location.

Parameters
Name Description
request CreateSipTrunkRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
SipTrunk

The RPC response.

Overrides

CreateSipTrunkAsync(CreateSipTrunkRequest, CallSettings)

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

Creates a SipTrunk for a specified location.

Parameters
Name Description
request CreateSipTrunkRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskSipTrunk

A Task containing the RPC response.

Overrides

DeleteSipTrunk(DeleteSipTrunkRequest, CallSettings)

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

Deletes a specified SipTrunk.

Parameters
Name Description
request DeleteSipTrunkRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Overrides

DeleteSipTrunkAsync(DeleteSipTrunkRequest, CallSettings)

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

Deletes a specified SipTrunk.

Parameters
Name Description
request DeleteSipTrunkRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task

A Task containing the RPC response.

Overrides

GetSipTrunk(GetSipTrunkRequest, CallSettings)

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

Retrieves the specified SipTrunk.

Parameters
Name Description
request GetSipTrunkRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
SipTrunk

The RPC response.

Overrides

GetSipTrunkAsync(GetSipTrunkRequest, CallSettings)

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

Retrieves the specified SipTrunk.

Parameters
Name Description
request GetSipTrunkRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskSipTrunk

A Task containing the RPC response.

Overrides

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 ListSipTrunksRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListSipTrunksResponseSipTrunk

A pageable sequence of SipTrunk resources.

Overrides

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 ListSipTrunksRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListSipTrunksResponseSipTrunk

A pageable asynchronous sequence of SipTrunk resources.

Overrides

UpdateSipTrunk(UpdateSipTrunkRequest, CallSettings)

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

Updates the specified SipTrunk.

Parameters
Name Description
request UpdateSipTrunkRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
SipTrunk

The RPC response.

Overrides

UpdateSipTrunkAsync(UpdateSipTrunkRequest, CallSettings)

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

Updates the specified SipTrunk.

Parameters
Name Description
request UpdateSipTrunkRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskSipTrunk

A Task containing the RPC response.

Overrides