Google Cloud Dialogflow V2 Client - Class CreateSipTrunkRequest (2.4.0)

Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class CreateSipTrunkRequest.

The request message for SipTrunks.CreateSipTrunk .

Generated from protobuf message google.cloud.dialogflow.v2.CreateSipTrunkRequest

Namespace

Google \ Cloud \ Dialogflow \ V2

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ parent
string

Required. The location to create a SIP trunk for. Format: projects/<Project ID>/locations/<Location ID> .

↳ sip_trunk
SipTrunk

Required. The SIP trunk to create.

getParent

Required. The location to create a SIP trunk for.

Format: projects/<Project ID>/locations/<Location ID> .

Returns
Type
Description
string

setParent

Required. The location to create a SIP trunk for.

Format: projects/<Project ID>/locations/<Location ID> .

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getSipTrunk

Required. The SIP trunk to create.

Returns
Type
Description
SipTrunk |null

hasSipTrunk

clearSipTrunk

setSipTrunk

Required. The SIP trunk to create.

Parameter
Name
Description
var
Returns
Type
Description
$this

static::build

Parameters
Name
Description
parent
string

Required. The location to create a SIP trunk for. Format: projects/<Project ID>/locations/<Location ID> . Please see SipTrunksClient::locationName() for help formatting this field.

sipTrunk
SipTrunk

Required. The SIP trunk to create.

Returns
Type
Description
Create a Mobile Website
View Site in Mobile | Classic
Share by: