Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.SipTrunksResource

The "sipTrunks" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.SipTrunksResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Dialogflow.v2beta1
Assembly: Google.Apis.Dialogflow.v2beta1.dll
Syntax
public class ProjectsResource.LocationsResource.SipTrunksResource

Constructors

SipTrunksResource(IClientService)

Constructs a new resource.

Declaration
public SipTrunksResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Create(GoogleCloudDialogflowV2beta1SipTrunk, string)

Creates a SipTrunk for a specified location.

Declaration
public virtual ProjectsResource.LocationsResource.SipTrunksResource.CreateRequest Create(GoogleCloudDialogflowV2beta1SipTrunk body, string parent)
Parameters
Type Name Description
GoogleCloudDialogflowV2beta1SipTrunk body

The body of the request.

string parent

Required. The location to create a SIP trunk for. Format: projects//locations/.

Returns
Type Description
ProjectsResource.LocationsResource.SipTrunksResource.CreateRequest

Delete(string)

Deletes a specified SipTrunk.

Declaration
public virtual ProjectsResource.LocationsResource.SipTrunksResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. The name of the SIP trunk to delete. Format: projects//locations//sipTrunks/.

Returns
Type Description
ProjectsResource.LocationsResource.SipTrunksResource.DeleteRequest

Get(string)

Retrieves the specified SipTrunk.

Declaration
public virtual ProjectsResource.LocationsResource.SipTrunksResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. The name of the SIP trunk to delete. Format: projects//locations//sipTrunks/.

Returns
Type Description
ProjectsResource.LocationsResource.SipTrunksResource.GetRequest

List(string)

Returns a list of SipTrunks in the specified location.

Declaration
public virtual ProjectsResource.LocationsResource.SipTrunksResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The location to list SIP trunks from. Format: projects//locations/.

Returns
Type Description
ProjectsResource.LocationsResource.SipTrunksResource.ListRequest

Patch(GoogleCloudDialogflowV2beta1SipTrunk, string)

Updates the specified SipTrunk.

Declaration
public virtual ProjectsResource.LocationsResource.SipTrunksResource.PatchRequest Patch(GoogleCloudDialogflowV2beta1SipTrunk body, string name)
Parameters
Type Name Description
GoogleCloudDialogflowV2beta1SipTrunk body

The body of the request.

string name

Identifier. The unique identifier of the SIP trunk. Format: projects//locations//sipTrunks/.

Returns
Type Description
ProjectsResource.LocationsResource.SipTrunksResource.PatchRequest
In this article
Back to top Generated by DocFX