public sealed class SipTrunksClientImpl : SipTrunksClientReference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class SipTrunksClientImpl.
SipTrunks client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Dialogflow.V2Beta1Assembly
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 |
SipTrunksSipTrunksClientThe underlying gRPC client. |
settings |
SipTrunksSettingsThe base SipTrunksSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
GrpcClient
public override SipTrunks.SipTrunksClient GrpcClient { get; }The underlying gRPC SipTrunks client
| Property Value | |
|---|---|
| Type | Description |
SipTrunksSipTrunksClient |
|
LocationsClient
public override LocationsClient LocationsClient { get; }The LocationsClient associated with this client.
| Property Value | |
|---|---|
| Type | Description |
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 |
CreateSipTrunkRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
SipTrunk |
The RPC response. |
CreateSipTrunkAsync(CreateSipTrunkRequest, CallSettings)
public override Task<SipTrunk> CreateSipTrunkAsync(CreateSipTrunkRequest request, CallSettings callSettings = null)Creates a SipTrunk for a specified location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateSipTrunkRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskSipTrunk |
A Task containing the RPC response. |
DeleteSipTrunk(DeleteSipTrunkRequest, CallSettings)
public override void DeleteSipTrunk(DeleteSipTrunkRequest request, CallSettings callSettings = null)Deletes a specified SipTrunk.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteSipTrunkRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
DeleteSipTrunkAsync(DeleteSipTrunkRequest, CallSettings)
public override Task DeleteSipTrunkAsync(DeleteSipTrunkRequest request, CallSettings callSettings = null)Deletes a specified SipTrunk.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteSipTrunkRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
GetSipTrunk(GetSipTrunkRequest, CallSettings)
public override SipTrunk GetSipTrunk(GetSipTrunkRequest request, CallSettings callSettings = null)Retrieves the specified SipTrunk.
| Parameters | |
|---|---|
| Name | Description |
request |
GetSipTrunkRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
SipTrunk |
The RPC response. |
GetSipTrunkAsync(GetSipTrunkRequest, CallSettings)
public override Task<SipTrunk> GetSipTrunkAsync(GetSipTrunkRequest request, CallSettings callSettings = null)Retrieves the specified SipTrunk.
| Parameters | |
|---|---|
| Name | Description |
request |
GetSipTrunkRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskSipTrunk |
A Task containing the RPC response. |
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 |
ListSipTrunksRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListSipTrunksResponseSipTrunk |
A pageable sequence of SipTrunk resources. |
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 |
ListSipTrunksRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListSipTrunksResponseSipTrunk |
A pageable asynchronous sequence of SipTrunk resources. |
UpdateSipTrunk(UpdateSipTrunkRequest, CallSettings)
public override SipTrunk UpdateSipTrunk(UpdateSipTrunkRequest request, CallSettings callSettings = null)Updates the specified SipTrunk.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateSipTrunkRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
SipTrunk |
The RPC response. |
UpdateSipTrunkAsync(UpdateSipTrunkRequest, CallSettings)
public override Task<SipTrunk> UpdateSipTrunkAsync(UpdateSipTrunkRequest request, CallSettings callSettings = null)Updates the specified SipTrunk.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateSipTrunkRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskSipTrunk |
A Task containing the RPC response. |