[BindServiceMethod(typeof(SipTrunks), "BindService")]
public abstract class SipTrunks.SipTrunksBaseReference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class SipTrunks.SipTrunksBase.
Base class for server-side implementations of SipTrunks
Namespace
Google.Cloud.Dialogflow.V2Beta1Assembly
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 |
CreateSipTrunkRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskSipTrunk |
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 |
DeleteSipTrunkRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskEmpty |
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 |
GetSipTrunkRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskSipTrunk |
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 |
ListSipTrunksRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListSipTrunksResponse |
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 |
UpdateSipTrunkRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskSipTrunk |
The response to send back to the client (wrapped by a task). |