Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfo

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfo

Returns a new instance of GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfo.



14202
14203
14204
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14202

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#dialed_numberString

Output only. The number dialed to connect this call in E.164 format. Corresponds to the JSON property dialedNumber

Returns:

  • (String)


14184
14185
14186
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14184

def dialed_number
  @dialed_number
end

#extra_mime_contentsArray<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfoMimeContent>

Output only. The mime content from the initial SIP INVITE. Corresponds to the JSON property extraMimeContents



14189
14190
14191
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14189

def extra_mime_contents
  @extra_mime_contents
end

#sdpString

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

Returns:

  • (String)


14195
14196
14197
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14195

def sdp
  @sdp
end

#sip_headersArray<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfoSipHeader>

Output only. The SIP headers from the initial SIP INVITE. Corresponds to the JSON property sipHeaders



14200
14201
14202
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14200

def sip_headers
  @sip_headers
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14207
14208
14209
14210
14211
14212
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14207

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