@@ -8773,6 +8773,12 @@ class GoogleCloudDialogflowV2Conversation
87738773 # @return [String]
87748774 attr_accessor :start_time
87758775
8776+ # The information about phone calls connected via phone gateway to the
8777+ # conversation.
8778+ # Corresponds to the JSON property `telephonyConnectionInfo`
8779+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationTelephonyConnectionInfo]
8780+ attr_accessor :telephony_connection_info
8781+
87768782 def initialize(**args)
87778783 update!(**args)
87788784 end
@@ -8786,6 +8792,7 @@ def update!(**args)
87868792 @name = args[:name] if args.key?(:name)
87878793 @phone_number = args[:phone_number] if args.key?(:phone_number)
87888794 @start_time = args[:start_time] if args.key?(:start_time)
8795+ @telephony_connection_info = args[:telephony_connection_info] if args.key?(:telephony_connection_info)
87898796 end
87908797 end
87918798
@@ -9124,6 +9131,11 @@ def update!(**args)
91249131 class GoogleCloudDialogflowV2ConversationPhoneNumber
91259132 include Google::Apis::Core::Hashable
91269133
9134+ # Output only. Desired country code for the phone number.
9135+ # Corresponds to the JSON property `countryCode`
9136+ # @return [Fixnum]
9137+ attr_accessor :country_code
9138+
91279139 # Output only. The phone number to connect to this conversation.
91289140 # Corresponds to the JSON property `phoneNumber`
91299141 # @return [String]
@@ -9135,6 +9147,7 @@ def initialize(**args)
91359147
91369148 # Update properties of this object
91379149 def update!(**args)
9150+ @country_code = args[:country_code] if args.key?(:country_code)
91389151 @phone_number = args[:phone_number] if args.key?(:phone_number)
91399152 end
91409153 end
@@ -9257,6 +9270,96 @@ def update!(**args)
92579270 end
92589271 end
92599272
9273+ # The information about phone calls connected via phone gateway to the
9274+ # conversation.
9275+ class GoogleCloudDialogflowV2ConversationTelephonyConnectionInfo
9276+ include Google::Apis::Core::Hashable
9277+
9278+ # Output only. The number dialed to connect this call in E.164 format.
9279+ # Corresponds to the JSON property `dialedNumber`
9280+ # @return [String]
9281+ attr_accessor :dialed_number
9282+
9283+ # Output only. The mime content from the initial SIP INVITE.
9284+ # Corresponds to the JSON property `extraMimeContents`
9285+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoMimeContent>]
9286+ attr_accessor :extra_mime_contents
9287+
9288+ # Optional. SDP of the call. It's initially the SDP answer to the endpoint, but
9289+ # maybe later updated for the purpose of making the link active, etc.
9290+ # Corresponds to the JSON property `sdp`
9291+ # @return [String]
9292+ attr_accessor :sdp
9293+
9294+ # Output only. The SIP headers from the initial SIP INVITE.
9295+ # Corresponds to the JSON property `sipHeaders`
9296+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoSipHeader>]
9297+ attr_accessor :sip_headers
9298+
9299+ def initialize(**args)
9300+ update!(**args)
9301+ end
9302+
9303+ # Update properties of this object
9304+ def update!(**args)
9305+ @dialed_number = args[:dialed_number] if args.key?(:dialed_number)
9306+ @extra_mime_contents = args[:extra_mime_contents] if args.key?(:extra_mime_contents)
9307+ @sdp = args[:sdp] if args.key?(:sdp)
9308+ @sip_headers = args[:sip_headers] if args.key?(:sip_headers)
9309+ end
9310+ end
9311+
9312+ # The mime content from the initial SIP INVITE.
9313+ class GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoMimeContent
9314+ include Google::Apis::Core::Hashable
9315+
9316+ # Optional. The content payload.
9317+ # Corresponds to the JSON property `content`
9318+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
9319+ # @return [String]
9320+ attr_accessor :content
9321+
9322+ # Optional. The mime type of the content.
9323+ # Corresponds to the JSON property `mimeType`
9324+ # @return [String]
9325+ attr_accessor :mime_type
9326+
9327+ def initialize(**args)
9328+ update!(**args)
9329+ end
9330+
9331+ # Update properties of this object
9332+ def update!(**args)
9333+ @content = args[:content] if args.key?(:content)
9334+ @mime_type = args[:mime_type] if args.key?(:mime_type)
9335+ end
9336+ end
9337+
9338+ # The SIP headers from the initial SIP INVITE.
9339+ class GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoSipHeader
9340+ include Google::Apis::Core::Hashable
9341+
9342+ # Optional. The name of the header.
9343+ # Corresponds to the JSON property `name`
9344+ # @return [String]
9345+ attr_accessor :name
9346+
9347+ # Optional. The value of the header.
9348+ # Corresponds to the JSON property `value`
9349+ # @return [String]
9350+ attr_accessor :value
9351+
9352+ def initialize(**args)
9353+ update!(**args)
9354+ end
9355+
9356+ # Update properties of this object
9357+ def update!(**args)
9358+ @name = args[:name] if args.key?(:name)
9359+ @value = args[:value] if args.key?(:value)
9360+ end
9361+ end
9362+
92609363 # Metadata for CreateConversationDataset.
92619364 class GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata
92629365 include Google::Apis::Core::Hashable
0 commit comments