Skip to content

Commit 15f1492

Browse files
feat: Automated regeneration of dialogflow v2 client (googleapis#21379)
Auto-created at 2025-01-12 10:39:47 +0000 using the toys pull request generator.
1 parent 99be3bd commit 15f1492

File tree

5 files changed

+175
-3
lines changed

5 files changed

+175
-3
lines changed

api_names_out.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174624,6 +174624,7 @@
174624174624
"/dialogflow:v2/GoogleCloudDialogflowV2Conversation/name": name
174625174625
"/dialogflow:v2/GoogleCloudDialogflowV2Conversation/phoneNumber": phone_number
174626174626
"/dialogflow:v2/GoogleCloudDialogflowV2Conversation/startTime": start_time
174627+
"/dialogflow:v2/GoogleCloudDialogflowV2Conversation/telephonyConnectionInfo": telephony_connection_info
174627174628
"/dialogflow:v2/GoogleCloudDialogflowV2ConversationContext": google_cloud_dialogflow_v2_conversation_context
174628174629
"/dialogflow:v2/GoogleCloudDialogflowV2ConversationContext/messageEntries": message_entries
174629174630
"/dialogflow:v2/GoogleCloudDialogflowV2ConversationContext/messageEntries/message_entry": message_entry
@@ -174665,6 +174666,7 @@
174665174666
"/dialogflow:v2/GoogleCloudDialogflowV2ConversationModelEvaluation/rawHumanEvalTemplateCsv": raw_human_eval_template_csv
174666174667
"/dialogflow:v2/GoogleCloudDialogflowV2ConversationModelEvaluation/smartReplyMetrics": smart_reply_metrics
174667174668
"/dialogflow:v2/GoogleCloudDialogflowV2ConversationPhoneNumber": google_cloud_dialogflow_v2_conversation_phone_number
174669+
"/dialogflow:v2/GoogleCloudDialogflowV2ConversationPhoneNumber/countryCode": country_code
174668174670
"/dialogflow:v2/GoogleCloudDialogflowV2ConversationPhoneNumber/phoneNumber": phone_number
174669174671
"/dialogflow:v2/GoogleCloudDialogflowV2ConversationProfile": google_cloud_dialogflow_v2_conversation_profile
174670174672
"/dialogflow:v2/GoogleCloudDialogflowV2ConversationProfile/automatedAgentConfig": automated_agent_config
@@ -174683,6 +174685,19 @@
174683174685
"/dialogflow:v2/GoogleCloudDialogflowV2ConversationProfile/timeZone": time_zone
174684174686
"/dialogflow:v2/GoogleCloudDialogflowV2ConversationProfile/ttsConfig": tts_config
174685174687
"/dialogflow:v2/GoogleCloudDialogflowV2ConversationProfile/updateTime": update_time
174688+
"/dialogflow:v2/GoogleCloudDialogflowV2ConversationTelephonyConnectionInfo": google_cloud_dialogflow_v2_conversation_telephony_connection_info
174689+
"/dialogflow:v2/GoogleCloudDialogflowV2ConversationTelephonyConnectionInfo/dialedNumber": dialed_number
174690+
"/dialogflow:v2/GoogleCloudDialogflowV2ConversationTelephonyConnectionInfo/extraMimeContents": extra_mime_contents
174691+
"/dialogflow:v2/GoogleCloudDialogflowV2ConversationTelephonyConnectionInfo/extraMimeContents/extra_mime_content": extra_mime_content
174692+
"/dialogflow:v2/GoogleCloudDialogflowV2ConversationTelephonyConnectionInfo/sdp": sdp
174693+
"/dialogflow:v2/GoogleCloudDialogflowV2ConversationTelephonyConnectionInfo/sipHeaders": sip_headers
174694+
"/dialogflow:v2/GoogleCloudDialogflowV2ConversationTelephonyConnectionInfo/sipHeaders/sip_header": sip_header
174695+
"/dialogflow:v2/GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoMimeContent": google_cloud_dialogflow_v2_conversation_telephony_connection_info_mime_content
174696+
"/dialogflow:v2/GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoMimeContent/content": content
174697+
"/dialogflow:v2/GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoMimeContent/mimeType": mime_type
174698+
"/dialogflow:v2/GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoSipHeader": google_cloud_dialogflow_v2_conversation_telephony_connection_info_sip_header
174699+
"/dialogflow:v2/GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoSipHeader/name": name
174700+
"/dialogflow:v2/GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoSipHeader/value": value
174686174701
"/dialogflow:v2/GoogleCloudDialogflowV2CreateCallMatcherRequest": google_cloud_dialogflow_v2_create_call_matcher_request
174687174702
"/dialogflow:v2/GoogleCloudDialogflowV2CreateCallMatcherRequest/callMatcher": call_matcher
174688174703
"/dialogflow:v2/GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata": google_cloud_dialogflow_v2_create_conversation_dataset_operation_metadata

generated/google-apis-dialogflow_v2/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Release history for google-apis-dialogflow_v2
22

3+
### v0.97.0 (2025-01-12)
4+
5+
* Regenerated from discovery document revision 20250103
6+
* Regenerated using generator version 0.16.0
7+
38
### v0.96.0 (2024-12-22)
49

510
* Regenerated from discovery document revision 20241216

generated/google-apis-dialogflow_v2/lib/google/apis/dialogflow_v2/classes.rb

Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

generated/google-apis-dialogflow_v2/lib/google/apis/dialogflow_v2/gem_version.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module DialogflowV2
1818
# Version of the google-apis-dialogflow_v2 gem
19-
GEM_VERSION = "0.96.0"
19+
GEM_VERSION = "0.97.0"
2020

2121
# Version of the code generator used to generate this client
22-
GENERATOR_VERSION = "0.15.1"
22+
GENERATOR_VERSION = "0.16.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20241216"
25+
REVISION = "20250103"
2626
end
2727
end
2828
end

generated/google-apis-dialogflow_v2/lib/google/apis/dialogflow_v2/representations.rb

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1468,6 +1468,24 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
14681468
include Google::Apis::Core::JsonObjectSupport
14691469
end
14701470

1471+
class GoogleCloudDialogflowV2ConversationTelephonyConnectionInfo
1472+
class Representation < Google::Apis::Core::JsonRepresentation; end
1473+
1474+
include Google::Apis::Core::JsonObjectSupport
1475+
end
1476+
1477+
class GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoMimeContent
1478+
class Representation < Google::Apis::Core::JsonRepresentation; end
1479+
1480+
include Google::Apis::Core::JsonObjectSupport
1481+
end
1482+
1483+
class GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoSipHeader
1484+
class Representation < Google::Apis::Core::JsonRepresentation; end
1485+
1486+
include Google::Apis::Core::JsonObjectSupport
1487+
end
1488+
14711489
class GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata
14721490
class Representation < Google::Apis::Core::JsonRepresentation; end
14731491

@@ -5727,6 +5745,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
57275745
property :phone_number, as: 'phoneNumber', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationPhoneNumber, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationPhoneNumber::Representation
57285746

57295747
property :start_time, as: 'startTime'
5748+
property :telephony_connection_info, as: 'telephonyConnectionInfo', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationTelephonyConnectionInfo, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationTelephonyConnectionInfo::Representation
5749+
57305750
end
57315751
end
57325752

@@ -5812,6 +5832,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
58125832
class GoogleCloudDialogflowV2ConversationPhoneNumber
58135833
# @private
58145834
class Representation < Google::Apis::Core::JsonRepresentation
5835+
property :country_code, as: 'countryCode'
58155836
property :phone_number, as: 'phoneNumber'
58165837
end
58175838
end
@@ -5847,6 +5868,34 @@ class Representation < Google::Apis::Core::JsonRepresentation
58475868
end
58485869
end
58495870

5871+
class GoogleCloudDialogflowV2ConversationTelephonyConnectionInfo
5872+
# @private
5873+
class Representation < Google::Apis::Core::JsonRepresentation
5874+
property :dialed_number, as: 'dialedNumber'
5875+
collection :extra_mime_contents, as: 'extraMimeContents', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoMimeContent, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoMimeContent::Representation
5876+
5877+
property :sdp, as: 'sdp'
5878+
collection :sip_headers, as: 'sipHeaders', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoSipHeader, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoSipHeader::Representation
5879+
5880+
end
5881+
end
5882+
5883+
class GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoMimeContent
5884+
# @private
5885+
class Representation < Google::Apis::Core::JsonRepresentation
5886+
property :content, :base64 => true, as: 'content'
5887+
property :mime_type, as: 'mimeType'
5888+
end
5889+
end
5890+
5891+
class GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoSipHeader
5892+
# @private
5893+
class Representation < Google::Apis::Core::JsonRepresentation
5894+
property :name, as: 'name'
5895+
property :value, as: 'value'
5896+
end
5897+
end
5898+
58505899
class GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata
58515900
# @private
58525901
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)