Skip to content

Commit 772e6a7

Browse files
feat: Automated regeneration of dialogflow v3 client (#18473)
Auto-created at 2024-03-10 10:34:21 +0000 using the toys pull request generator.
1 parent a986b7d commit 772e6a7

5 files changed

Lines changed: 208 additions & 4 deletions

File tree

api_names_out.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182882,13 +182882,20 @@
182882182882
"/dialogflow:v3/GoogleCloudDialogflowCxV3AdvancedSettings/audioExportGcsDestination": audio_export_gcs_destination
182883182883
"/dialogflow:v3/GoogleCloudDialogflowCxV3AdvancedSettings/dtmfSettings": dtmf_settings
182884182884
"/dialogflow:v3/GoogleCloudDialogflowCxV3AdvancedSettings/loggingSettings": logging_settings
182885+
"/dialogflow:v3/GoogleCloudDialogflowCxV3AdvancedSettings/speechSettings": speech_settings
182885182886
"/dialogflow:v3/GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings": google_cloud_dialogflow_cx_v3_advanced_settings_dtmf_settings
182886182887
"/dialogflow:v3/GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings/enabled": enabled
182887182888
"/dialogflow:v3/GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings/finishDigit": finish_digit
182888182889
"/dialogflow:v3/GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings/maxDigits": max_digits
182889182890
"/dialogflow:v3/GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings": google_cloud_dialogflow_cx_v3_advanced_settings_logging_settings
182890182891
"/dialogflow:v3/GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings/enableInteractionLogging": enable_interaction_logging
182891182892
"/dialogflow:v3/GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings/enableStackdriverLogging": enable_stackdriver_logging
182893+
"/dialogflow:v3/GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings": google_cloud_dialogflow_cx_v3_advanced_settings_speech_settings
182894+
"/dialogflow:v3/GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings/endpointerSensitivity": endpointer_sensitivity
182895+
"/dialogflow:v3/GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings/models": models
182896+
"/dialogflow:v3/GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings/models/model": model
182897+
"/dialogflow:v3/GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings/noSpeechTimeout": no_speech_timeout
182898+
"/dialogflow:v3/GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings/useTimeoutBasedEndpointing": use_timeout_based_endpointing
182892182899
"/dialogflow:v3/GoogleCloudDialogflowCxV3Agent": google_cloud_dialogflow_cx_v3_agent
182893182900
"/dialogflow:v3/GoogleCloudDialogflowCxV3Agent/advancedSettings": advanced_settings
182894182901
"/dialogflow:v3/GoogleCloudDialogflowCxV3Agent/answerFeedbackSettings": answer_feedback_settings
@@ -182902,6 +182909,7 @@
182902182909
"/dialogflow:v3/GoogleCloudDialogflowCxV3Agent/gitIntegrationSettings": git_integration_settings
182903182910
"/dialogflow:v3/GoogleCloudDialogflowCxV3Agent/locked": locked
182904182911
"/dialogflow:v3/GoogleCloudDialogflowCxV3Agent/name": name
182912+
"/dialogflow:v3/GoogleCloudDialogflowCxV3Agent/personalizationSettings": personalization_settings
182905182913
"/dialogflow:v3/GoogleCloudDialogflowCxV3Agent/securitySettings": security_settings
182906182914
"/dialogflow:v3/GoogleCloudDialogflowCxV3Agent/speechToTextSettings": speech_to_text_settings
182907182915
"/dialogflow:v3/GoogleCloudDialogflowCxV3Agent/startFlow": start_flow
@@ -182922,6 +182930,9 @@
182922182930
"/dialogflow:v3/GoogleCloudDialogflowCxV3AgentGitIntegrationSettingsGithubSettings/displayName": display_name
182923182931
"/dialogflow:v3/GoogleCloudDialogflowCxV3AgentGitIntegrationSettingsGithubSettings/repositoryUri": repository_uri
182924182932
"/dialogflow:v3/GoogleCloudDialogflowCxV3AgentGitIntegrationSettingsGithubSettings/trackingBranch": tracking_branch
182933+
"/dialogflow:v3/GoogleCloudDialogflowCxV3AgentPersonalizationSettings": google_cloud_dialogflow_cx_v3_agent_personalization_settings
182934+
"/dialogflow:v3/GoogleCloudDialogflowCxV3AgentPersonalizationSettings/defaultEndUserMetadata": default_end_user_metadata
182935+
"/dialogflow:v3/GoogleCloudDialogflowCxV3AgentPersonalizationSettings/defaultEndUserMetadata/default_end_user_metadatum": default_end_user_metadatum
182925182936
"/dialogflow:v3/GoogleCloudDialogflowCxV3AgentValidationResult": google_cloud_dialogflow_cx_v3_agent_validation_result
182926182937
"/dialogflow:v3/GoogleCloudDialogflowCxV3AgentValidationResult/flowValidationResults": flow_validation_results
182927182938
"/dialogflow:v3/GoogleCloudDialogflowCxV3AgentValidationResult/flowValidationResults/flow_validation_result": flow_validation_result
@@ -183938,13 +183949,20 @@
183938183949
"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1AdvancedSettings/audioExportGcsDestination": audio_export_gcs_destination
183939183950
"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1AdvancedSettings/dtmfSettings": dtmf_settings
183940183951
"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1AdvancedSettings/loggingSettings": logging_settings
183952+
"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1AdvancedSettings/speechSettings": speech_settings
183941183953
"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings": google_cloud_dialogflow_cx_v3beta1_advanced_settings_dtmf_settings
183942183954
"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings/enabled": enabled
183943183955
"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings/finishDigit": finish_digit
183944183956
"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings/maxDigits": max_digits
183945183957
"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings": google_cloud_dialogflow_cx_v3beta1_advanced_settings_logging_settings
183946183958
"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings/enableInteractionLogging": enable_interaction_logging
183947183959
"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings/enableStackdriverLogging": enable_stackdriver_logging
183960+
"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings": google_cloud_dialogflow_cx_v3beta1_advanced_settings_speech_settings
183961+
"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings/endpointerSensitivity": endpointer_sensitivity
183962+
"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings/models": models
183963+
"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings/models/model": model
183964+
"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings/noSpeechTimeout": no_speech_timeout
183965+
"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings/useTimeoutBasedEndpointing": use_timeout_based_endpointing
183948183966
"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1AudioInput": google_cloud_dialogflow_cx_v3beta1_audio_input
183949183967
"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1AudioInput/audio": audio
183950183968
"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1AudioInput/config": config

generated/google-apis-dialogflow_v3/CHANGELOG.md

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

3+
### v0.82.0 (2024-03-10)
4+
5+
* Regenerated from discovery document revision 20240305
6+
37
### v0.81.0 (2024-02-23)
48

59
* Regenerated from discovery document revision 20240219

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

Lines changed: 133 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,11 @@ class GoogleCloudDialogflowCxV3AdvancedSettings
4949
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings]
5050
attr_accessor :logging_settings
5151

52+
# Define behaviors of speech to text detection.
53+
# Corresponds to the JSON property `speechSettings`
54+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings]
55+
attr_accessor :speech_settings
56+
5257
def initialize(**args)
5358
update!(**args)
5459
end
@@ -58,6 +63,7 @@ def update!(**args)
5863
@audio_export_gcs_destination = args[:audio_export_gcs_destination] if args.key?(:audio_export_gcs_destination)
5964
@dtmf_settings = args[:dtmf_settings] if args.key?(:dtmf_settings)
6065
@logging_settings = args[:logging_settings] if args.key?(:logging_settings)
66+
@speech_settings = args[:speech_settings] if args.key?(:speech_settings)
6167
end
6268
end
6369

@@ -124,6 +130,49 @@ def update!(**args)
124130
end
125131
end
126132

133+
# Define behaviors of speech to text detection.
134+
class GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings
135+
include Google::Apis::Core::Hashable
136+
137+
# Sensitivity of the speech model that detects the end of speech. Scale from 0
138+
# to 100.
139+
# Corresponds to the JSON property `endpointerSensitivity`
140+
# @return [Fixnum]
141+
attr_accessor :endpointer_sensitivity
142+
143+
# Mapping from language to Speech-to-Text model. The mapped Speech-to-Text model
144+
# will be selected for requests from its corresponding language. For more
145+
# information, see [Speech models](https://cloud.google.com/dialogflow/cx/docs/
146+
# concept/speech-models).
147+
# Corresponds to the JSON property `models`
148+
# @return [Hash<String,String>]
149+
attr_accessor :models
150+
151+
# Timeout before detecting no speech.
152+
# Corresponds to the JSON property `noSpeechTimeout`
153+
# @return [String]
154+
attr_accessor :no_speech_timeout
155+
156+
# Use timeout based endpointing, interpreting endpointer sensitivy as seconds of
157+
# timeout value.
158+
# Corresponds to the JSON property `useTimeoutBasedEndpointing`
159+
# @return [Boolean]
160+
attr_accessor :use_timeout_based_endpointing
161+
alias_method :use_timeout_based_endpointing?, :use_timeout_based_endpointing
162+
163+
def initialize(**args)
164+
update!(**args)
165+
end
166+
167+
# Update properties of this object
168+
def update!(**args)
169+
@endpointer_sensitivity = args[:endpointer_sensitivity] if args.key?(:endpointer_sensitivity)
170+
@models = args[:models] if args.key?(:models)
171+
@no_speech_timeout = args[:no_speech_timeout] if args.key?(:no_speech_timeout)
172+
@use_timeout_based_endpointing = args[:use_timeout_based_endpointing] if args.key?(:use_timeout_based_endpointing)
173+
end
174+
end
175+
127176
# Agents are best described as Natural Language Understanding (NLU) modules that
128177
# transform user requests into actionable data. You can include agents in your
129178
# app, product, or service to determine user intent and respond to the user in a
@@ -213,6 +262,11 @@ class GoogleCloudDialogflowCxV3Agent
213262
# @return [String]
214263
attr_accessor :name
215264

265+
# Settings for end user personalization.
266+
# Corresponds to the JSON property `personalizationSettings`
267+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AgentPersonalizationSettings]
268+
attr_accessor :personalization_settings
269+
216270
# Name of the SecuritySettings reference for the agent. Format: `projects//
217271
# locations//securitySettings/`.
218272
# Corresponds to the JSON property `securitySettings`
@@ -266,6 +320,7 @@ def update!(**args)
266320
@git_integration_settings = args[:git_integration_settings] if args.key?(:git_integration_settings)
267321
@locked = args[:locked] if args.key?(:locked)
268322
@name = args[:name] if args.key?(:name)
323+
@personalization_settings = args[:personalization_settings] if args.key?(:personalization_settings)
269324
@security_settings = args[:security_settings] if args.key?(:security_settings)
270325
@speech_to_text_settings = args[:speech_to_text_settings] if args.key?(:speech_to_text_settings)
271326
@start_flow = args[:start_flow] if args.key?(:start_flow)
@@ -380,6 +435,29 @@ def update!(**args)
380435
end
381436
end
382437

438+
# Settings for end user personalization.
439+
class GoogleCloudDialogflowCxV3AgentPersonalizationSettings
440+
include Google::Apis::Core::Hashable
441+
442+
# Optional. Default end user metadata, used when processing DetectIntent
443+
# requests. Recommended to be filled as a template instead of hard-coded value,
444+
# for example ` "age": "$session.params.age" `. The data will be merged with the
445+
# QueryParameters.end_user_metadata in DetectIntentRequest.query_params during
446+
# query processing.
447+
# Corresponds to the JSON property `defaultEndUserMetadata`
448+
# @return [Hash<String,Object>]
449+
attr_accessor :default_end_user_metadata
450+
451+
def initialize(**args)
452+
update!(**args)
453+
end
454+
455+
# Update properties of this object
456+
def update!(**args)
457+
@default_end_user_metadata = args[:default_end_user_metadata] if args.key?(:default_end_user_metadata)
458+
end
459+
end
460+
383461
# The response message for Agents.GetAgentValidationResult.
384462
class GoogleCloudDialogflowCxV3AgentValidationResult
385463
include Google::Apis::Core::Hashable
@@ -6524,7 +6602,10 @@ class GoogleCloudDialogflowCxV3SecuritySettings
65246602
# Retains the data for the specified number of days. User must set a value lower
65256603
# than Dialogflow's default 365d TTL (30 days for Agent Assist traffic), higher
65266604
# value will be ignored and use default. Setting a value higher than that has no
6527-
# effect. A missing value or setting to 0 also means we use default TTL.
6605+
# effect. A missing value or setting to 0 also means we use default TTL. When
6606+
# data retention configuration is changed, it only applies to the data created
6607+
# after the change; the TTL of existing data created before the change stays
6608+
# intact.
65286609
# Corresponds to the JSON property `retentionWindowDays`
65296610
# @return [Fixnum]
65306611
attr_accessor :retention_window_days
@@ -6563,7 +6644,8 @@ class GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettings
65636644
# @return [String]
65646645
attr_accessor :audio_format
65656646

6566-
# Enable audio redaction if it is true.
6647+
# Enable audio redaction if it is true. Note that this only redacts end-user
6648+
# audio data; Synthesised audio from the virtual agent is not redacted.
65676649
# Corresponds to the JSON property `enableAudioRedaction`
65686650
# @return [Boolean]
65696651
attr_accessor :enable_audio_redaction
@@ -8329,6 +8411,11 @@ class GoogleCloudDialogflowCxV3beta1AdvancedSettings
83298411
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings]
83308412
attr_accessor :logging_settings
83318413

8414+
# Define behaviors of speech to text detection.
8415+
# Corresponds to the JSON property `speechSettings`
8416+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings]
8417+
attr_accessor :speech_settings
8418+
83328419
def initialize(**args)
83338420
update!(**args)
83348421
end
@@ -8338,6 +8425,7 @@ def update!(**args)
83388425
@audio_export_gcs_destination = args[:audio_export_gcs_destination] if args.key?(:audio_export_gcs_destination)
83398426
@dtmf_settings = args[:dtmf_settings] if args.key?(:dtmf_settings)
83408427
@logging_settings = args[:logging_settings] if args.key?(:logging_settings)
8428+
@speech_settings = args[:speech_settings] if args.key?(:speech_settings)
83418429
end
83428430
end
83438431

@@ -8404,6 +8492,49 @@ def update!(**args)
84048492
end
84058493
end
84068494

8495+
# Define behaviors of speech to text detection.
8496+
class GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings
8497+
include Google::Apis::Core::Hashable
8498+
8499+
# Sensitivity of the speech model that detects the end of speech. Scale from 0
8500+
# to 100.
8501+
# Corresponds to the JSON property `endpointerSensitivity`
8502+
# @return [Fixnum]
8503+
attr_accessor :endpointer_sensitivity
8504+
8505+
# Mapping from language to Speech-to-Text model. The mapped Speech-to-Text model
8506+
# will be selected for requests from its corresponding language. For more
8507+
# information, see [Speech models](https://cloud.google.com/dialogflow/cx/docs/
8508+
# concept/speech-models).
8509+
# Corresponds to the JSON property `models`
8510+
# @return [Hash<String,String>]
8511+
attr_accessor :models
8512+
8513+
# Timeout before detecting no speech.
8514+
# Corresponds to the JSON property `noSpeechTimeout`
8515+
# @return [String]
8516+
attr_accessor :no_speech_timeout
8517+
8518+
# Use timeout based endpointing, interpreting endpointer sensitivy as seconds of
8519+
# timeout value.
8520+
# Corresponds to the JSON property `useTimeoutBasedEndpointing`
8521+
# @return [Boolean]
8522+
attr_accessor :use_timeout_based_endpointing
8523+
alias_method :use_timeout_based_endpointing?, :use_timeout_based_endpointing
8524+
8525+
def initialize(**args)
8526+
update!(**args)
8527+
end
8528+
8529+
# Update properties of this object
8530+
def update!(**args)
8531+
@endpointer_sensitivity = args[:endpointer_sensitivity] if args.key?(:endpointer_sensitivity)
8532+
@models = args[:models] if args.key?(:models)
8533+
@no_speech_timeout = args[:no_speech_timeout] if args.key?(:no_speech_timeout)
8534+
@use_timeout_based_endpointing = args[:use_timeout_based_endpointing] if args.key?(:use_timeout_based_endpointing)
8535+
end
8536+
end
8537+
84078538
# Represents the natural speech audio to be processed.
84088539
class GoogleCloudDialogflowCxV3beta1AudioInput
84098540
include Google::Apis::Core::Hashable

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module DialogflowV3
1818
# Version of the google-apis-dialogflow_v3 gem
19-
GEM_VERSION = "0.81.0"
19+
GEM_VERSION = "0.82.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.14.0"
2323

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

0 commit comments

Comments
 (0)