Skip to content

Commit

Permalink
feat: Automated regeneration of dialogflow v2 client (#21379)
Browse files Browse the repository at this point in the history
Auto-created at 2025-01-12 10:39:47 +0000 using the toys pull request generator.
  • Loading branch information
yoshi-code-bot authored Jan 12, 2025
1 parent 99be3bd commit 15f1492
Show file tree
Hide file tree
Showing 5 changed files with 175 additions and 3 deletions.
15 changes: 15 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -174624,6 +174624,7 @@
"/dialogflow:v2/GoogleCloudDialogflowV2Conversation/name": name
"/dialogflow:v2/GoogleCloudDialogflowV2Conversation/phoneNumber": phone_number
"/dialogflow:v2/GoogleCloudDialogflowV2Conversation/startTime": start_time
"/dialogflow:v2/GoogleCloudDialogflowV2Conversation/telephonyConnectionInfo": telephony_connection_info
"/dialogflow:v2/GoogleCloudDialogflowV2ConversationContext": google_cloud_dialogflow_v2_conversation_context
"/dialogflow:v2/GoogleCloudDialogflowV2ConversationContext/messageEntries": message_entries
"/dialogflow:v2/GoogleCloudDialogflowV2ConversationContext/messageEntries/message_entry": message_entry
Expand Down Expand Up @@ -174665,6 +174666,7 @@
"/dialogflow:v2/GoogleCloudDialogflowV2ConversationModelEvaluation/rawHumanEvalTemplateCsv": raw_human_eval_template_csv
"/dialogflow:v2/GoogleCloudDialogflowV2ConversationModelEvaluation/smartReplyMetrics": smart_reply_metrics
"/dialogflow:v2/GoogleCloudDialogflowV2ConversationPhoneNumber": google_cloud_dialogflow_v2_conversation_phone_number
"/dialogflow:v2/GoogleCloudDialogflowV2ConversationPhoneNumber/countryCode": country_code
"/dialogflow:v2/GoogleCloudDialogflowV2ConversationPhoneNumber/phoneNumber": phone_number
"/dialogflow:v2/GoogleCloudDialogflowV2ConversationProfile": google_cloud_dialogflow_v2_conversation_profile
"/dialogflow:v2/GoogleCloudDialogflowV2ConversationProfile/automatedAgentConfig": automated_agent_config
Expand All @@ -174683,6 +174685,19 @@
"/dialogflow:v2/GoogleCloudDialogflowV2ConversationProfile/timeZone": time_zone
"/dialogflow:v2/GoogleCloudDialogflowV2ConversationProfile/ttsConfig": tts_config
"/dialogflow:v2/GoogleCloudDialogflowV2ConversationProfile/updateTime": update_time
"/dialogflow:v2/GoogleCloudDialogflowV2ConversationTelephonyConnectionInfo": google_cloud_dialogflow_v2_conversation_telephony_connection_info
"/dialogflow:v2/GoogleCloudDialogflowV2ConversationTelephonyConnectionInfo/dialedNumber": dialed_number
"/dialogflow:v2/GoogleCloudDialogflowV2ConversationTelephonyConnectionInfo/extraMimeContents": extra_mime_contents
"/dialogflow:v2/GoogleCloudDialogflowV2ConversationTelephonyConnectionInfo/extraMimeContents/extra_mime_content": extra_mime_content
"/dialogflow:v2/GoogleCloudDialogflowV2ConversationTelephonyConnectionInfo/sdp": sdp
"/dialogflow:v2/GoogleCloudDialogflowV2ConversationTelephonyConnectionInfo/sipHeaders": sip_headers
"/dialogflow:v2/GoogleCloudDialogflowV2ConversationTelephonyConnectionInfo/sipHeaders/sip_header": sip_header
"/dialogflow:v2/GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoMimeContent": google_cloud_dialogflow_v2_conversation_telephony_connection_info_mime_content
"/dialogflow:v2/GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoMimeContent/content": content
"/dialogflow:v2/GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoMimeContent/mimeType": mime_type
"/dialogflow:v2/GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoSipHeader": google_cloud_dialogflow_v2_conversation_telephony_connection_info_sip_header
"/dialogflow:v2/GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoSipHeader/name": name
"/dialogflow:v2/GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoSipHeader/value": value
"/dialogflow:v2/GoogleCloudDialogflowV2CreateCallMatcherRequest": google_cloud_dialogflow_v2_create_call_matcher_request
"/dialogflow:v2/GoogleCloudDialogflowV2CreateCallMatcherRequest/callMatcher": call_matcher
"/dialogflow:v2/GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata": google_cloud_dialogflow_v2_create_conversation_dataset_operation_metadata
Expand Down
5 changes: 5 additions & 0 deletions generated/google-apis-dialogflow_v2/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Release history for google-apis-dialogflow_v2

### v0.97.0 (2025-01-12)

* Regenerated from discovery document revision 20250103
* Regenerated using generator version 0.16.0

### v0.96.0 (2024-12-22)

* Regenerated from discovery document revision 20241216
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8773,6 +8773,12 @@ class GoogleCloudDialogflowV2Conversation
# @return [String]
attr_accessor :start_time

# The information about phone calls connected via phone gateway to the
# conversation.
# Corresponds to the JSON property `telephonyConnectionInfo`
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationTelephonyConnectionInfo]
attr_accessor :telephony_connection_info

def initialize(**args)
update!(**args)
end
Expand All @@ -8786,6 +8792,7 @@ def update!(**args)
@name = args[:name] if args.key?(:name)
@phone_number = args[:phone_number] if args.key?(:phone_number)
@start_time = args[:start_time] if args.key?(:start_time)
@telephony_connection_info = args[:telephony_connection_info] if args.key?(:telephony_connection_info)
end
end

Expand Down Expand Up @@ -9124,6 +9131,11 @@ def update!(**args)
class GoogleCloudDialogflowV2ConversationPhoneNumber
include Google::Apis::Core::Hashable

# Output only. Desired country code for the phone number.
# Corresponds to the JSON property `countryCode`
# @return [Fixnum]
attr_accessor :country_code

# Output only. The phone number to connect to this conversation.
# Corresponds to the JSON property `phoneNumber`
# @return [String]
Expand All @@ -9135,6 +9147,7 @@ def initialize(**args)

# Update properties of this object
def update!(**args)
@country_code = args[:country_code] if args.key?(:country_code)
@phone_number = args[:phone_number] if args.key?(:phone_number)
end
end
Expand Down Expand Up @@ -9257,6 +9270,96 @@ def update!(**args)
end
end

# The information about phone calls connected via phone gateway to the
# conversation.
class GoogleCloudDialogflowV2ConversationTelephonyConnectionInfo
include Google::Apis::Core::Hashable

# Output only. The number dialed to connect this call in E.164 format.
# Corresponds to the JSON property `dialedNumber`
# @return [String]
attr_accessor :dialed_number

# Output only. The mime content from the initial SIP INVITE.
# Corresponds to the JSON property `extraMimeContents`
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoMimeContent>]
attr_accessor :extra_mime_contents

# 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`
# @return [String]
attr_accessor :sdp

# Output only. The SIP headers from the initial SIP INVITE.
# Corresponds to the JSON property `sipHeaders`
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoSipHeader>]
attr_accessor :sip_headers

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

# Update properties of this object
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
end

# The mime content from the initial SIP INVITE.
class GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoMimeContent
include Google::Apis::Core::Hashable

# Optional. The content payload.
# Corresponds to the JSON property `content`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :content

# Optional. The mime type of the content.
# Corresponds to the JSON property `mimeType`
# @return [String]
attr_accessor :mime_type

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

# Update properties of this object
def update!(**args)
@content = args[:content] if args.key?(:content)
@mime_type = args[:mime_type] if args.key?(:mime_type)
end
end

# The SIP headers from the initial SIP INVITE.
class GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoSipHeader
include Google::Apis::Core::Hashable

# Optional. The name of the header.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name

# Optional. The value of the header.
# Corresponds to the JSON property `value`
# @return [String]
attr_accessor :value

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

# Update properties of this object
def update!(**args)
@name = args[:name] if args.key?(:name)
@value = args[:value] if args.key?(:value)
end
end

# Metadata for CreateConversationDataset.
class GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata
include Google::Apis::Core::Hashable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module DialogflowV2
# Version of the google-apis-dialogflow_v2 gem
GEM_VERSION = "0.96.0"
GEM_VERSION = "0.97.0"

# Version of the code generator used to generate this client
GENERATOR_VERSION = "0.15.1"
GENERATOR_VERSION = "0.16.0"

# Revision of the discovery document this client was generated from
REVISION = "20241216"
REVISION = "20250103"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -1468,6 +1468,24 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end

class GoogleCloudDialogflowV2ConversationTelephonyConnectionInfo
class Representation < Google::Apis::Core::JsonRepresentation; end

include Google::Apis::Core::JsonObjectSupport
end

class GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoMimeContent
class Representation < Google::Apis::Core::JsonRepresentation; end

include Google::Apis::Core::JsonObjectSupport
end

class GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoSipHeader
class Representation < Google::Apis::Core::JsonRepresentation; end

include Google::Apis::Core::JsonObjectSupport
end

class GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end

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

property :start_time, as: 'startTime'
property :telephony_connection_info, as: 'telephonyConnectionInfo', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationTelephonyConnectionInfo, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationTelephonyConnectionInfo::Representation

end
end

Expand Down Expand Up @@ -5812,6 +5832,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
class GoogleCloudDialogflowV2ConversationPhoneNumber
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :country_code, as: 'countryCode'
property :phone_number, as: 'phoneNumber'
end
end
Expand Down Expand Up @@ -5847,6 +5868,34 @@ class Representation < Google::Apis::Core::JsonRepresentation
end
end

class GoogleCloudDialogflowV2ConversationTelephonyConnectionInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :dialed_number, as: 'dialedNumber'
collection :extra_mime_contents, as: 'extraMimeContents', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoMimeContent, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoMimeContent::Representation

property :sdp, as: 'sdp'
collection :sip_headers, as: 'sipHeaders', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoSipHeader, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoSipHeader::Representation

end
end

class GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoMimeContent
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :content, :base64 => true, as: 'content'
property :mime_type, as: 'mimeType'
end
end

class GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoSipHeader
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :name, as: 'name'
property :value, as: 'value'
end
end

class GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
Expand Down

0 comments on commit 15f1492

Please sign in to comment.