Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationTelephonyConnectionInfo
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationTelephonyConnectionInfo
- 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
The information about phone calls connected via phone gateway to the conversation.
Instance Attribute Summary collapse
-
#dialed_number ⇒ String
Output only.
-
#extra_mime_contents ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoMimeContent>
Output only.
-
#sdp ⇒ String
Optional.
-
#sip_headers ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoSipHeader>
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2ConversationTelephonyConnectionInfo
constructor
A new instance of GoogleCloudDialogflowV2ConversationTelephonyConnectionInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2ConversationTelephonyConnectionInfo
Returns a new instance of GoogleCloudDialogflowV2ConversationTelephonyConnectionInfo.
10161 10162 10163 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10161 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dialed_number ⇒ String
Output only. The number dialed to connect this call in E.164 format.
Corresponds to the JSON property dialedNumber
10143 10144 10145 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10143 def dialed_number @dialed_number end |
#extra_mime_contents ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoMimeContent>
Output only. The mime content from the initial SIP INVITE.
Corresponds to the JSON property extraMimeContents
10148 10149 10150 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10148 def extra_mime_contents @extra_mime_contents end |
#sdp ⇒ String
Optional. SDP of the call. It's initially the SDP answer to the incoming call,
but maybe later updated for the purpose of making the link active, etc.
Corresponds to the JSON property sdp
10154 10155 10156 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10154 def sdp @sdp end |
#sip_headers ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoSipHeader>
Output only. The SIP headers from the initial SIP INVITE.
Corresponds to the JSON property sipHeaders
10159 10160 10161 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10159 def sip_headers @sip_headers end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10166 10167 10168 10169 10170 10171 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10166 def update!(**args) @dialed_number = args[:dialed_number] if args.key?(:dialed_number) @extra_mime_contents = args[:extra_mime_contents] if args.key?(:extra_mime_contents) @sdp = args[:sdp] if args.key?(:sdp) @sip_headers = args[:sip_headers] if args.key?(:sip_headers) end |