Google Cloud Dialogflow V2 Client - Class UpdateSipTrunkRequest (2.3.0)

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

The request message for SipTrunks.UpdateSipTrunk.

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

Namespace

Google \ Cloud \ Dialogflow \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ sip_trunk SipTrunk

Required. The SipTrunk to update.

↳ update_mask Google\Protobuf\FieldMask

Optional. The mask to control which fields get updated. If the mask is not present, all fields will be updated.

getSipTrunk

Required. The SipTrunk to update.

Returns
Type Description
SipTrunk|null

hasSipTrunk

clearSipTrunk

setSipTrunk

Required. The SipTrunk to update.

Parameter
Name Description
var SipTrunk
Returns
Type Description
$this

getUpdateMask

Optional. The mask to control which fields get updated. If the mask is not present, all fields will be updated.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Optional. The mask to control which fields get updated. If the mask is not present, all fields will be updated.

Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

static::build

Parameters
Name Description
sipTrunk SipTrunk

Required. The SipTrunk to update.

updateMask Google\Protobuf\FieldMask

Optional. The mask to control which fields get updated. If the mask is not present, all fields will be updated.

Returns
Type Description
UpdateSipTrunkRequest