Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfo
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/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::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfoMimeContent>
Output only.
-
#sdp ⇒ String
Optional.
-
#sip_headers ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfoSipHeader>
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfo
constructor
A new instance of GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfo
Returns a new instance of GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfo.
12800 12801 12802 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12800 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
12782 12783 12784 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12782 def dialed_number @dialed_number end |
#extra_mime_contents ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfoMimeContent>
Output only. The mime content from the initial SIP INVITE.
Corresponds to the JSON property extraMimeContents
12787 12788 12789 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12787 def extra_mime_contents @extra_mime_contents end |
#sdp ⇒ String
Optional. SDP of the call. It's initially the SDP answer to the endpoint, but
maybe later updated for the purpose of making the link active, etc.
Corresponds to the JSON property sdp
12793 12794 12795 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12793 def sdp @sdp end |
#sip_headers ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfoSipHeader>
Output only. The SIP headers from the initial SIP INVITE.
Corresponds to the JSON property sipHeaders
12798 12799 12800 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12798 def sip_headers @sip_headers end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12805 12806 12807 12808 12809 12810 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12805 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 |