google-apis-dialogflow_v3 0.81.0 → 0.82.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7af1ac5670852f563187803cda5ed059f4c009ccd7b955c5e1b14fd1050563f1
4
- data.tar.gz: e8b812dea6b551ac691b630305ff58af50502b1c71e36f76faeb48c0ff865066
3
+ metadata.gz: 17ad83a5858d3141f01c6018482db59b7d0806c598861e4f2b7da03e65b3b4ba
4
+ data.tar.gz: d755ac8574d169f57dffa977abde38601c6ac4e553aee6a2e7b396c3d25cbbbd
5
5
  SHA512:
6
- metadata.gz: e3ac72d10bdf11892af285a0e39cb78e4f2df5985b001ae4fb3ebf8b959244c8f1cc47d6b7837d86f026626a9de3af18cd25e6c151916d574cced83af3480031
7
- data.tar.gz: faec3e89151759dbd6c9d0f3c6bebd9f0eb6a3c206f7093d6c3100ffa2d291e4fb0546d3867590e4d29e52b805962c1f074d157b206e888e53aed02da650c031
6
+ metadata.gz: af0bcb62db1e58be14f9e7391b83d245982eb5761e15035b4d194c1377fbf168a514e57191f3c2af636e7184ab775ad20958bedf25422bf012cbd8f2ca443f3e
7
+ data.tar.gz: d3a73c9037c6596ee3cc1cdd68c99c1352b923e465f0150765660062b03fb4687e8111e1a35f91837c80d28886c5f03a296a63b94aa2c9c0ee5dff812e2ad249
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dialogflow_v3
2
2
 
3
+ ### v0.82.0 (2024-03-10)
4
+
5
+ * Regenerated from discovery document revision 20240305
6
+
3
7
  ### v0.81.0 (2024-02-23)
4
8
 
5
9
  * Regenerated from discovery document revision 20240219
@@ -49,6 +49,11 @@ module Google
49
49
  # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings]
50
50
  attr_accessor :logging_settings
51
51
 
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
+
52
57
  def initialize(**args)
53
58
  update!(**args)
54
59
  end
@@ -58,6 +63,7 @@ module Google
58
63
  @audio_export_gcs_destination = args[:audio_export_gcs_destination] if args.key?(:audio_export_gcs_destination)
59
64
  @dtmf_settings = args[:dtmf_settings] if args.key?(:dtmf_settings)
60
65
  @logging_settings = args[:logging_settings] if args.key?(:logging_settings)
66
+ @speech_settings = args[:speech_settings] if args.key?(:speech_settings)
61
67
  end
62
68
  end
63
69
 
@@ -124,6 +130,49 @@ module Google
124
130
  end
125
131
  end
126
132
 
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
+
127
176
  # Agents are best described as Natural Language Understanding (NLU) modules that
128
177
  # transform user requests into actionable data. You can include agents in your
129
178
  # app, product, or service to determine user intent and respond to the user in a
@@ -213,6 +262,11 @@ module Google
213
262
  # @return [String]
214
263
  attr_accessor :name
215
264
 
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
+
216
270
  # Name of the SecuritySettings reference for the agent. Format: `projects//
217
271
  # locations//securitySettings/`.
218
272
  # Corresponds to the JSON property `securitySettings`
@@ -266,6 +320,7 @@ module Google
266
320
  @git_integration_settings = args[:git_integration_settings] if args.key?(:git_integration_settings)
267
321
  @locked = args[:locked] if args.key?(:locked)
268
322
  @name = args[:name] if args.key?(:name)
323
+ @personalization_settings = args[:personalization_settings] if args.key?(:personalization_settings)
269
324
  @security_settings = args[:security_settings] if args.key?(:security_settings)
270
325
  @speech_to_text_settings = args[:speech_to_text_settings] if args.key?(:speech_to_text_settings)
271
326
  @start_flow = args[:start_flow] if args.key?(:start_flow)
@@ -380,6 +435,29 @@ module Google
380
435
  end
381
436
  end
382
437
 
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
+
383
461
  # The response message for Agents.GetAgentValidationResult.
384
462
  class GoogleCloudDialogflowCxV3AgentValidationResult
385
463
  include Google::Apis::Core::Hashable
@@ -6524,7 +6602,10 @@ module Google
6524
6602
  # Retains the data for the specified number of days. User must set a value lower
6525
6603
  # than Dialogflow's default 365d TTL (30 days for Agent Assist traffic), higher
6526
6604
  # 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.
6528
6609
  # Corresponds to the JSON property `retentionWindowDays`
6529
6610
  # @return [Fixnum]
6530
6611
  attr_accessor :retention_window_days
@@ -6563,7 +6644,8 @@ module Google
6563
6644
  # @return [String]
6564
6645
  attr_accessor :audio_format
6565
6646
 
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.
6567
6649
  # Corresponds to the JSON property `enableAudioRedaction`
6568
6650
  # @return [Boolean]
6569
6651
  attr_accessor :enable_audio_redaction
@@ -8329,6 +8411,11 @@ module Google
8329
8411
  # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings]
8330
8412
  attr_accessor :logging_settings
8331
8413
 
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
+
8332
8419
  def initialize(**args)
8333
8420
  update!(**args)
8334
8421
  end
@@ -8338,6 +8425,7 @@ module Google
8338
8425
  @audio_export_gcs_destination = args[:audio_export_gcs_destination] if args.key?(:audio_export_gcs_destination)
8339
8426
  @dtmf_settings = args[:dtmf_settings] if args.key?(:dtmf_settings)
8340
8427
  @logging_settings = args[:logging_settings] if args.key?(:logging_settings)
8428
+ @speech_settings = args[:speech_settings] if args.key?(:speech_settings)
8341
8429
  end
8342
8430
  end
8343
8431
 
@@ -8404,6 +8492,49 @@ module Google
8404
8492
  end
8405
8493
  end
8406
8494
 
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
+
8407
8538
  # Represents the natural speech audio to be processed.
8408
8539
  class GoogleCloudDialogflowCxV3beta1AudioInput
8409
8540
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DialogflowV3
18
18
  # Version of the google-apis-dialogflow_v3 gem
19
- GEM_VERSION = "0.81.0"
19
+ GEM_VERSION = "0.82.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240219"
25
+ REVISION = "20240305"
26
26
  end
27
27
  end
28
28
  end
@@ -40,6 +40,12 @@ module Google
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
+ class GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
43
49
  class GoogleCloudDialogflowCxV3Agent
44
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
51
 
@@ -70,6 +76,12 @@ module Google
70
76
  include Google::Apis::Core::JsonObjectSupport
71
77
  end
72
78
 
79
+ class GoogleCloudDialogflowCxV3AgentPersonalizationSettings
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
73
85
  class GoogleCloudDialogflowCxV3AgentValidationResult
74
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
87
 
@@ -1396,6 +1408,12 @@ module Google
1396
1408
  include Google::Apis::Core::JsonObjectSupport
1397
1409
  end
1398
1410
 
1411
+ class GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings
1412
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1413
+
1414
+ include Google::Apis::Core::JsonObjectSupport
1415
+ end
1416
+
1399
1417
  class GoogleCloudDialogflowCxV3beta1AudioInput
1400
1418
  class Representation < Google::Apis::Core::JsonRepresentation; end
1401
1419
 
@@ -3079,6 +3097,8 @@ module Google
3079
3097
 
3080
3098
  property :logging_settings, as: 'loggingSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings::Representation
3081
3099
 
3100
+ property :speech_settings, as: 'speechSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings::Representation
3101
+
3082
3102
  end
3083
3103
  end
3084
3104
 
@@ -3099,6 +3119,16 @@ module Google
3099
3119
  end
3100
3120
  end
3101
3121
 
3122
+ class GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings
3123
+ # @private
3124
+ class Representation < Google::Apis::Core::JsonRepresentation
3125
+ property :endpointer_sensitivity, as: 'endpointerSensitivity'
3126
+ hash :models, as: 'models'
3127
+ property :no_speech_timeout, as: 'noSpeechTimeout'
3128
+ property :use_timeout_based_endpointing, as: 'useTimeoutBasedEndpointing'
3129
+ end
3130
+ end
3131
+
3102
3132
  class GoogleCloudDialogflowCxV3Agent
3103
3133
  # @private
3104
3134
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3118,6 +3148,8 @@ module Google
3118
3148
 
3119
3149
  property :locked, as: 'locked'
3120
3150
  property :name, as: 'name'
3151
+ property :personalization_settings, as: 'personalizationSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AgentPersonalizationSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AgentPersonalizationSettings::Representation
3152
+
3121
3153
  property :security_settings, as: 'securitySettings'
3122
3154
  property :speech_to_text_settings, as: 'speechToTextSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SpeechToTextSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SpeechToTextSettings::Representation
3123
3155
 
@@ -3162,6 +3194,13 @@ module Google
3162
3194
  end
3163
3195
  end
3164
3196
 
3197
+ class GoogleCloudDialogflowCxV3AgentPersonalizationSettings
3198
+ # @private
3199
+ class Representation < Google::Apis::Core::JsonRepresentation
3200
+ hash :default_end_user_metadata, as: 'defaultEndUserMetadata'
3201
+ end
3202
+ end
3203
+
3165
3204
  class GoogleCloudDialogflowCxV3AgentValidationResult
3166
3205
  # @private
3167
3206
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5331,6 +5370,8 @@ module Google
5331
5370
 
5332
5371
  property :logging_settings, as: 'loggingSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings::Representation
5333
5372
 
5373
+ property :speech_settings, as: 'speechSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings::Representation
5374
+
5334
5375
  end
5335
5376
  end
5336
5377
 
@@ -5351,6 +5392,16 @@ module Google
5351
5392
  end
5352
5393
  end
5353
5394
 
5395
+ class GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings
5396
+ # @private
5397
+ class Representation < Google::Apis::Core::JsonRepresentation
5398
+ property :endpointer_sensitivity, as: 'endpointerSensitivity'
5399
+ hash :models, as: 'models'
5400
+ property :no_speech_timeout, as: 'noSpeechTimeout'
5401
+ property :use_timeout_based_endpointing, as: 'useTimeoutBasedEndpointing'
5402
+ end
5403
+ end
5404
+
5354
5405
  class GoogleCloudDialogflowCxV3beta1AudioInput
5355
5406
  # @private
5356
5407
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dialogflow_v3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.81.0
4
+ version: 0.82.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-25 00:00:00.000000000 Z
11
+ date: 2024-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v3/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.81.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.82.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v3
63
63
  post_install_message:
64
64
  rdoc_options: []