Google Cloud Dialogflow V2 Client - Class SipHostname (2.8.0)

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

Represents a peer hostname for SIP Trunk.

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

Namespace

Google \ Cloud \ Dialogflow \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ peer_hostname string

Required. Peer hostname name.

↳ enabled_sip_ping bool

Output only. Peer hostname enabled for SIP ping.

↳ ping_interval Google\Protobuf\Duration

Output only. How often the sip ping should occur.

↳ peer_socket_address string

Output only. The peer_socket address of the partner SBC pinged.

↳ probe_details ProbeDetails

Output only. The details from the options probe.

↳ connection_state int

Output only. State of the connection.

↳ error_details SipHostname\HostnameErrorDetails

Output only. The error details for the connection. Only populated when authentication errors occur.

getPeerHostname

Required. Peer hostname name.

Returns
Type Description
string

setPeerHostname

Required. Peer hostname name.

Parameter
Name Description
var string
Returns
Type Description
$this

getEnabledSipPing

Output only. Peer hostname enabled for SIP ping.

Returns
Type Description
bool

setEnabledSipPing

Output only. Peer hostname enabled for SIP ping.

Parameter
Name Description
var bool
Returns
Type Description
$this

getPingInterval

Output only. How often the sip ping should occur.

Returns
Type Description
Google\Protobuf\Duration|null

hasPingInterval

clearPingInterval

setPingInterval

Output only. How often the sip ping should occur.

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

getPeerSocketAddress

Output only. The peer_socket address of the partner SBC pinged.

Returns
Type Description
string

setPeerSocketAddress

Output only. The peer_socket address of the partner SBC pinged.

Parameter
Name Description
var string
Returns
Type Description
$this

getProbeDetails

Output only. The details from the options probe.

Returns
Type Description
ProbeDetails|null

hasProbeDetails

clearProbeDetails

setProbeDetails

Output only. The details from the options probe.

Parameter
Name Description
var ProbeDetails
Returns
Type Description
$this

getConnectionState

Output only. State of the connection.

Returns
Type Description
int Enum of type ConnectionState.

setConnectionState

Output only. State of the connection.

Parameter
Name Description
var int

Enum of type ConnectionState.

Returns
Type Description
$this

getErrorDetails

Output only. The error details for the connection. Only populated when authentication errors occur.

Returns
Type Description
SipHostname\HostnameErrorDetails|null

hasErrorDetails

clearErrorDetails

setErrorDetails

Output only. The error details for the connection. Only populated when authentication errors occur.

Parameter
Name Description
var SipHostname\HostnameErrorDetails
Returns
Type Description
$this