Dialogflow V2 API - Class Google::Cloud::Dialogflow::V2::SipTrunk (v1.13.0)

Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::SipTrunk.

SipTrunk is the resource that represents a SIP trunk to connect to Google Telephony platform SIP trunking service.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#connections

def connections() -> ::Array<::Google::Cloud::Dialogflow::V2::Connection>
Returns

#display_name

def display_name() -> ::String
Returns
  • (::String) — Optional. Human readable alias for this trunk.

#display_name=

def display_name=(value) -> ::String
Parameter
  • value (::String) — Optional. Human readable alias for this trunk.
Returns
  • (::String) — Optional. Human readable alias for this trunk.

#expected_hostname

def expected_hostname() -> ::Array<::String>
Returns
  • (::Array<::String>) — Required. The expected hostnames in the peer certificate from partner that is used for TLS authentication.

#expected_hostname=

def expected_hostname=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Required. The expected hostnames in the peer certificate from partner that is used for TLS authentication.
Returns
  • (::Array<::String>) — Required. The expected hostnames in the peer certificate from partner that is used for TLS authentication.

#name

def name() -> ::String
Returns
  • (::String) — Identifier. The unique identifier of the SIP trunk. Format: projects/<Project ID>/locations/<Location ID>/sipTrunks/<SipTrunk ID>.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Identifier. The unique identifier of the SIP trunk. Format: projects/<Project ID>/locations/<Location ID>/sipTrunks/<SipTrunk ID>.
Returns
  • (::String) — Identifier. The unique identifier of the SIP trunk. Format: projects/<Project ID>/locations/<Location ID>/sipTrunks/<SipTrunk ID>.