Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SipTrunk
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SipTrunk
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb
Overview
SipTrunk is the resource that represents a SIP trunk to connect to Google Telephony platform SIP trunking service.
Instance Attribute Summary collapse
-
#connections ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Connection>
Output only.
-
#display_name ⇒ String
Optional.
-
#expected_hostname ⇒ Array<String>
Required.
-
#name ⇒ String
Identifier.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2SipTrunk
constructor
A new instance of GoogleCloudDialogflowV2SipTrunk.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2SipTrunk
Returns a new instance of GoogleCloudDialogflowV2SipTrunk.
17047 17048 17049 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17047 def initialize(**args) update!(**args) end |
Instance Attribute Details
#connections ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Connection>
Output only. Connections of the SIP trunk.
Corresponds to the JSON property connections
17028 17029 17030 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17028 def connections @connections end |
#display_name ⇒ String
Optional. Human readable alias for this trunk.
Corresponds to the JSON property displayName
17033 17034 17035 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17033 def display_name @display_name end |
#expected_hostname ⇒ Array<String>
Required. The expected hostnames in the peer certificate from partner that is
used for TLS authentication.
Corresponds to the JSON property expectedHostname
17039 17040 17041 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17039 def expected_hostname @expected_hostname end |
#name ⇒ String
Identifier. The unique identifier of the SIP trunk. Format: projects//
locations//sipTrunks/.
Corresponds to the JSON property name
17045 17046 17047 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17045 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17052 17053 17054 17055 17056 17057 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17052 def update!(**args) @connections = args[:connections] if args.key?(:connections) @display_name = args[:display_name] if args.key?(:display_name) @expected_hostname = args[:expected_hostname] if args.key?(:expected_hostname) @name = args[:name] if args.key?(:name) end |