google-apis-dialogflow_v3 0.70.0 → 0.71.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: e3104145e1bcc801ad5484a6d250ebf652a6e1f3cc915425b67628de35d775d3
4
- data.tar.gz: 13ec5b666e407637ad2f30ebee9685a5c41d21835e49011480c650fd9ada7633
3
+ metadata.gz: 21aa38953137fb2bdff37a89bed8ea6da173f873b4ec4c6bbd2601737421843d
4
+ data.tar.gz: 8d6c8a39fa10a920a8f28f7b01b2655074b4b7973e4adf7a9515c22a73eb7e5b
5
5
  SHA512:
6
- metadata.gz: 1890df9f3ca2b527055a2d828dfa0bea51f5df5138b44ab9f94318bf971baa1ec89f88505b2b3a9c9511c6f75b250bfa4b377031e679444b539dbfc2d557ee31
7
- data.tar.gz: dd022028c6dbb75016b6ed4d2c043ee29abaa6ac7f84e576ec56e11b249d78f744d7a881c9ad6aa287931108dc4c75c52c3dea26256b81925e435a8283b4cc5b
6
+ metadata.gz: a4df14a01caef3c7cd2057b356083bd50e26f9f0817fe0970226239a437fac7b954320c5f05b105b51ea6204b99f28ac78cbef6eac16698e9ea75fe80acf84e0
7
+ data.tar.gz: 5db03a49200f6547c51c7b2866b581661627e394afe5095222961b6d0f9e9d206f22434138ac44043ad4fbe2fd8f704d3ea798c65b445eda56838ea669dbe58e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dialogflow_v3
2
2
 
3
+ ### v0.71.0 (2023-11-19)
4
+
5
+ * Regenerated from discovery document revision 20231109
6
+
3
7
  ### v0.70.0 (2023-10-29)
4
8
 
5
9
  * Regenerated from discovery document revision 20231019
@@ -145,6 +145,11 @@ module Google
145
145
  # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AdvancedSettings]
146
146
  attr_accessor :advanced_settings
147
147
 
148
+ # Settings for answer feedback collection.
149
+ # Corresponds to the JSON property `answerFeedbackSettings`
150
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AgentAnswerFeedbackSettings]
151
+ attr_accessor :answer_feedback_settings
152
+
148
153
  # The URI of the agent's avatar. Avatars are used throughout the Dialogflow
149
154
  # console and in the self-hosted [Web Demo](https://cloud.google.com/dialogflow/
150
155
  # docs/integrations/web-demo) integration.
@@ -250,6 +255,7 @@ module Google
250
255
  # Update properties of this object
251
256
  def update!(**args)
252
257
  @advanced_settings = args[:advanced_settings] if args.key?(:advanced_settings)
258
+ @answer_feedback_settings = args[:answer_feedback_settings] if args.key?(:answer_feedback_settings)
253
259
  @avatar_uri = args[:avatar_uri] if args.key?(:avatar_uri)
254
260
  @default_language_code = args[:default_language_code] if args.key?(:default_language_code)
255
261
  @description = args[:description] if args.key?(:description)
@@ -269,6 +275,28 @@ module Google
269
275
  end
270
276
  end
271
277
 
278
+ # Settings for answer feedback collection.
279
+ class GoogleCloudDialogflowCxV3AgentAnswerFeedbackSettings
280
+ include Google::Apis::Core::Hashable
281
+
282
+ # Optional. If enabled, end users will be able to provide answer feedback to
283
+ # Dialogflow responses. Feature works only if interaction logging is enabled in
284
+ # the Dialogflow agent.
285
+ # Corresponds to the JSON property `enableAnswerFeedback`
286
+ # @return [Boolean]
287
+ attr_accessor :enable_answer_feedback
288
+ alias_method :enable_answer_feedback?, :enable_answer_feedback
289
+
290
+ def initialize(**args)
291
+ update!(**args)
292
+ end
293
+
294
+ # Update properties of this object
295
+ def update!(**args)
296
+ @enable_answer_feedback = args[:enable_answer_feedback] if args.key?(:enable_answer_feedback)
297
+ end
298
+ end
299
+
272
300
  # Settings for Gen App Builder.
273
301
  class GoogleCloudDialogflowCxV3AgentGenAppBuilderSettings
274
302
  include Google::Apis::Core::Hashable
@@ -378,6 +406,67 @@ module Google
378
406
  end
379
407
  end
380
408
 
409
+ # Stores information about feedback provided by users about a response.
410
+ class GoogleCloudDialogflowCxV3AnswerFeedback
411
+ include Google::Apis::Core::Hashable
412
+
413
+ # Optional. Custom rating from the user about the provided answer, with maximum
414
+ # length of 1024 characters. For example, client could use a customized JSON
415
+ # object to indicate the rating.
416
+ # Corresponds to the JSON property `customRating`
417
+ # @return [String]
418
+ attr_accessor :custom_rating
419
+
420
+ # Optional. Rating from user for the specific Dialogflow response.
421
+ # Corresponds to the JSON property `rating`
422
+ # @return [String]
423
+ attr_accessor :rating
424
+
425
+ # Stores extra information about why users provided thumbs down rating.
426
+ # Corresponds to the JSON property `ratingReason`
427
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AnswerFeedbackRatingReason]
428
+ attr_accessor :rating_reason
429
+
430
+ def initialize(**args)
431
+ update!(**args)
432
+ end
433
+
434
+ # Update properties of this object
435
+ def update!(**args)
436
+ @custom_rating = args[:custom_rating] if args.key?(:custom_rating)
437
+ @rating = args[:rating] if args.key?(:rating)
438
+ @rating_reason = args[:rating_reason] if args.key?(:rating_reason)
439
+ end
440
+ end
441
+
442
+ # Stores extra information about why users provided thumbs down rating.
443
+ class GoogleCloudDialogflowCxV3AnswerFeedbackRatingReason
444
+ include Google::Apis::Core::Hashable
445
+
446
+ # Optional. Additional feedback about the rating. This field can be populated
447
+ # without choosing a predefined `reason`.
448
+ # Corresponds to the JSON property `feedback`
449
+ # @return [String]
450
+ attr_accessor :feedback
451
+
452
+ # Optional. Custom reason labels for thumbs down rating provided by the user.
453
+ # The maximum number of labels allowed is 10 and the maximum length of a single
454
+ # label is 128 characters.
455
+ # Corresponds to the JSON property `reasonLabels`
456
+ # @return [Array<String>]
457
+ attr_accessor :reason_labels
458
+
459
+ def initialize(**args)
460
+ update!(**args)
461
+ end
462
+
463
+ # Update properties of this object
464
+ def update!(**args)
465
+ @feedback = args[:feedback] if args.key?(:feedback)
466
+ @reason_labels = args[:reason_labels] if args.key?(:reason_labels)
467
+ end
468
+ end
469
+
381
470
  # Represents the natural speech audio to be processed.
382
471
  class GoogleCloudDialogflowCxV3AudioInput
383
472
  include Google::Apis::Core::Hashable
@@ -409,6 +498,49 @@ module Google
409
498
  end
410
499
  end
411
500
 
501
+ # Configuration of the barge-in behavior. Barge-in instructs the API to return a
502
+ # detected utterance at a proper time while the client is playing back the
503
+ # response audio from a previous request. When the client sees the utterance, it
504
+ # should stop the playback and immediately get ready for receiving the responses
505
+ # for the current request. The barge-in handling requires the client to start
506
+ # streaming audio input as soon as it starts playing back the audio from the
507
+ # previous response. The playback is modeled into two phases: * No barge-in
508
+ # phase: which goes first and during which speech detection should not be
509
+ # carried out. * Barge-in phase: which follows the no barge-in phase and during
510
+ # which the API starts speech detection and may inform the client that an
511
+ # utterance has been detected. Note that no-speech event is not expected in this
512
+ # phase. The client provides this configuration in terms of the durations of
513
+ # those two phases. The durations are measured in terms of the audio length
514
+ # fromt the the start of the input audio. The flow goes like below: --> Time
515
+ # without speech detection | utterance only | utterance or no-speech event | | +-
516
+ # ------------+ | +------------+ | +---------------+ ----------+ no barge-in +-|-
517
+ # + barge-in +-|-+ normal period +----------- +-------------+ | +------------+ |
518
+ # +---------------+ No-speech event is a response with END_OF_UTTERANCE without
519
+ # any transcript following up.
520
+ class GoogleCloudDialogflowCxV3BargeInConfig
521
+ include Google::Apis::Core::Hashable
522
+
523
+ # Duration that is not eligible for barge-in at the beginning of the input audio.
524
+ # Corresponds to the JSON property `noBargeInDuration`
525
+ # @return [String]
526
+ attr_accessor :no_barge_in_duration
527
+
528
+ # Total duration for the playback at the beginning of the input audio.
529
+ # Corresponds to the JSON property `totalDuration`
530
+ # @return [String]
531
+ attr_accessor :total_duration
532
+
533
+ def initialize(**args)
534
+ update!(**args)
535
+ end
536
+
537
+ # Update properties of this object
538
+ def update!(**args)
539
+ @no_barge_in_duration = args[:no_barge_in_duration] if args.key?(:no_barge_in_duration)
540
+ @total_duration = args[:total_duration] if args.key?(:total_duration)
541
+ end
542
+ end
543
+
412
544
  # The request message for TestCases.BatchDeleteTestCases.
413
545
  class GoogleCloudDialogflowCxV3BatchDeleteTestCasesRequest
414
546
  include Google::Apis::Core::Hashable
@@ -494,6 +626,97 @@ module Google
494
626
  end
495
627
  end
496
628
 
629
+ # Boost specification to boost certain documents. A copy of google.cloud.
630
+ # discoveryengine.v1main.BoostSpec, field documentation is available at https://
631
+ # cloud.google.com/generative-ai-app-builder/docs/reference/rest/v1alpha/
632
+ # BoostSpec
633
+ class GoogleCloudDialogflowCxV3BoostSpec
634
+ include Google::Apis::Core::Hashable
635
+
636
+ # Optional. Condition boost specifications. If a document matches multiple
637
+ # conditions in the specifictions, boost scores from these specifications are
638
+ # all applied and combined in a non-linear way. Maximum number of specifications
639
+ # is 20.
640
+ # Corresponds to the JSON property `conditionBoostSpecs`
641
+ # @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpec>]
642
+ attr_accessor :condition_boost_specs
643
+
644
+ def initialize(**args)
645
+ update!(**args)
646
+ end
647
+
648
+ # Update properties of this object
649
+ def update!(**args)
650
+ @condition_boost_specs = args[:condition_boost_specs] if args.key?(:condition_boost_specs)
651
+ end
652
+ end
653
+
654
+ # Boost applies to documents which match a condition.
655
+ class GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpec
656
+ include Google::Apis::Core::Hashable
657
+
658
+ # Optional. Strength of the condition boost, which should be in [-1, 1].
659
+ # Negative boost means demotion. Default is 0.0. Setting to 1.0 gives the
660
+ # document a big promotion. However, it does not necessarily mean that the
661
+ # boosted document will be the top result at all times, nor that other documents
662
+ # will be excluded. Results could still be shown even when none of them matches
663
+ # the condition. And results that are significantly more relevant to the search
664
+ # query can still trump your heavily favored but irrelevant documents. Setting
665
+ # to -1.0 gives the document a big demotion. However, results that are deeply
666
+ # relevant might still be shown. The document will have an upstream battle to
667
+ # get a fairly high ranking, but it is not blocked out completely. Setting to 0.
668
+ # 0 means no boost applied. The boosting condition is ignored.
669
+ # Corresponds to the JSON property `boost`
670
+ # @return [Float]
671
+ attr_accessor :boost
672
+
673
+ # Optional. An expression which specifies a boost condition. The syntax and
674
+ # supported fields are the same as a filter expression. Examples: * To boost
675
+ # documents with document ID "doc_1" or "doc_2", and color "Red" or "Blue": * (
676
+ # id: ANY("doc_1", "doc_2")) AND (color: ANY("Red","Blue"))
677
+ # Corresponds to the JSON property `condition`
678
+ # @return [String]
679
+ attr_accessor :condition
680
+
681
+ def initialize(**args)
682
+ update!(**args)
683
+ end
684
+
685
+ # Update properties of this object
686
+ def update!(**args)
687
+ @boost = args[:boost] if args.key?(:boost)
688
+ @condition = args[:condition] if args.key?(:condition)
689
+ end
690
+ end
691
+
692
+ # Boost specifications for data stores.
693
+ class GoogleCloudDialogflowCxV3BoostSpecs
694
+ include Google::Apis::Core::Hashable
695
+
696
+ # Optional. Data Stores where the boosting configuration is applied. The full
697
+ # names of the referenced data stores. Formats: `projects/`project`/locations/`
698
+ # location`/collections/`collection`/dataStores/`data_store`` `projects/`project`
699
+ # /locations/`location`/dataStores/`data_store`
700
+ # Corresponds to the JSON property `dataStores`
701
+ # @return [Array<String>]
702
+ attr_accessor :data_stores
703
+
704
+ # Optional. A list of boosting specifications.
705
+ # Corresponds to the JSON property `spec`
706
+ # @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3BoostSpec>]
707
+ attr_accessor :spec
708
+
709
+ def initialize(**args)
710
+ update!(**args)
711
+ end
712
+
713
+ # Update properties of this object
714
+ def update!(**args)
715
+ @data_stores = args[:data_stores] if args.key?(:data_stores)
716
+ @spec = args[:spec] if args.key?(:spec)
717
+ end
718
+ end
719
+
497
720
  # The response message for TestCases.CalculateCoverage.
498
721
  class GoogleCloudDialogflowCxV3CalculateCoverageResponse
499
722
  include Google::Apis::Core::Hashable
@@ -2194,6 +2417,36 @@ module Google
2194
2417
  end
2195
2418
  end
2196
2419
 
2420
+ # Filter specifications for data stores.
2421
+ class GoogleCloudDialogflowCxV3FilterSpecs
2422
+ include Google::Apis::Core::Hashable
2423
+
2424
+ # Optional. Data Stores where the boosting configuration is applied. The full
2425
+ # names of the referenced data stores. Formats: `projects/`project`/locations/`
2426
+ # location`/collections/`collection`/dataStores/`data_store`` `projects/`project`
2427
+ # /locations/`location`/dataStores/`data_store`
2428
+ # Corresponds to the JSON property `dataStores`
2429
+ # @return [Array<String>]
2430
+ attr_accessor :data_stores
2431
+
2432
+ # Optional. The filter expression to be applied. Expression syntax is documented
2433
+ # at https://cloud.google.com/generative-ai-app-builder/docs/filter-search-
2434
+ # metadata#filter-expression-syntax
2435
+ # Corresponds to the JSON property `filter`
2436
+ # @return [String]
2437
+ attr_accessor :filter
2438
+
2439
+ def initialize(**args)
2440
+ update!(**args)
2441
+ end
2442
+
2443
+ # Update properties of this object
2444
+ def update!(**args)
2445
+ @data_stores = args[:data_stores] if args.key?(:data_stores)
2446
+ @filter = args[:filter] if args.key?(:filter)
2447
+ end
2448
+ end
2449
+
2197
2450
  # Flows represents the conversation flows when you build your chatbot agent. A
2198
2451
  # flow consists of many pages connected by the transition routes. Conversations
2199
2452
  # always start with the built-in Start Flow (with an all-0 ID). Transition
@@ -3308,6 +3561,29 @@ module Google
3308
3561
  # @return [String]
3309
3562
  attr_accessor :audio_encoding
3310
3563
 
3564
+ # Configuration of the barge-in behavior. Barge-in instructs the API to return a
3565
+ # detected utterance at a proper time while the client is playing back the
3566
+ # response audio from a previous request. When the client sees the utterance, it
3567
+ # should stop the playback and immediately get ready for receiving the responses
3568
+ # for the current request. The barge-in handling requires the client to start
3569
+ # streaming audio input as soon as it starts playing back the audio from the
3570
+ # previous response. The playback is modeled into two phases: * No barge-in
3571
+ # phase: which goes first and during which speech detection should not be
3572
+ # carried out. * Barge-in phase: which follows the no barge-in phase and during
3573
+ # which the API starts speech detection and may inform the client that an
3574
+ # utterance has been detected. Note that no-speech event is not expected in this
3575
+ # phase. The client provides this configuration in terms of the durations of
3576
+ # those two phases. The durations are measured in terms of the audio length
3577
+ # fromt the the start of the input audio. The flow goes like below: --> Time
3578
+ # without speech detection | utterance only | utterance or no-speech event | | +-
3579
+ # ------------+ | +------------+ | +---------------+ ----------+ no barge-in +-|-
3580
+ # + barge-in +-|-+ normal period +----------- +-------------+ | +------------+ |
3581
+ # +---------------+ No-speech event is a response with END_OF_UTTERANCE without
3582
+ # any transcript following up.
3583
+ # Corresponds to the JSON property `bargeInConfig`
3584
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3BargeInConfig]
3585
+ attr_accessor :barge_in_config
3586
+
3311
3587
  # Optional. If `true`, Dialogflow returns SpeechWordInfo in
3312
3588
  # StreamingRecognitionResult with information about the recognized speech words,
3313
3589
  # e.g. start and end time offsets. If false or unspecified, Speech doesn't
@@ -3370,6 +3646,7 @@ module Google
3370
3646
  # Update properties of this object
3371
3647
  def update!(**args)
3372
3648
  @audio_encoding = args[:audio_encoding] if args.key?(:audio_encoding)
3649
+ @barge_in_config = args[:barge_in_config] if args.key?(:barge_in_config)
3373
3650
  @enable_word_info = args[:enable_word_info] if args.key?(:enable_word_info)
3374
3651
  @model = args[:model] if args.key?(:model)
3375
3652
  @model_variant = args[:model_variant] if args.key?(:model_variant)
@@ -4825,6 +5102,11 @@ module Google
4825
5102
  # @return [Hash<String,Object>]
4826
5103
  attr_accessor :payload
4827
5104
 
5105
+ # Search configuration for UCS search queries.
5106
+ # Corresponds to the JSON property `searchConfig`
5107
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SearchConfig]
5108
+ attr_accessor :search_config
5109
+
4828
5110
  # Additional session entity types to replace or extend developer entity types
4829
5111
  # with. The entity synonyms apply to all languages and persist for the session
4830
5112
  # of this query.
@@ -4873,6 +5155,7 @@ module Google
4873
5155
  @geo_location = args[:geo_location] if args.key?(:geo_location)
4874
5156
  @parameters = args[:parameters] if args.key?(:parameters)
4875
5157
  @payload = args[:payload] if args.key?(:payload)
5158
+ @search_config = args[:search_config] if args.key?(:search_config)
4876
5159
  @session_entity_types = args[:session_entity_types] if args.key?(:session_entity_types)
4877
5160
  @session_ttl = args[:session_ttl] if args.key?(:session_ttl)
4878
5161
  @time_zone = args[:time_zone] if args.key?(:time_zone)
@@ -4896,6 +5179,13 @@ module Google
4896
5179
  # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AdvancedSettings]
4897
5180
  attr_accessor :advanced_settings
4898
5181
 
5182
+ # Indicates whether the Thumbs up/Thumbs down rating controls are need to be
5183
+ # shown for the response in the Dialogflow Messenger widget.
5184
+ # Corresponds to the JSON property `allowAnswerFeedback`
5185
+ # @return [Boolean]
5186
+ attr_accessor :allow_answer_feedback
5187
+ alias_method :allow_answer_feedback?, :allow_answer_feedback
5188
+
4899
5189
  # A Dialogflow CX conversation (session) can be described and visualized as a
4900
5190
  # state machine. The states of a CX session are represented by pages. For each
4901
5191
  # flow, you define many pages, where your combined pages can handle a complete
@@ -5033,6 +5323,7 @@ module Google
5033
5323
  # Update properties of this object
5034
5324
  def update!(**args)
5035
5325
  @advanced_settings = args[:advanced_settings] if args.key?(:advanced_settings)
5326
+ @allow_answer_feedback = args[:allow_answer_feedback] if args.key?(:allow_answer_feedback)
5036
5327
  @current_page = args[:current_page] if args.key?(:current_page)
5037
5328
  @diagnostic_info = args[:diagnostic_info] if args.key?(:diagnostic_info)
5038
5329
  @dtmf = args[:dtmf] if args.key?(:dtmf)
@@ -5781,6 +6072,31 @@ module Google
5781
6072
  end
5782
6073
  end
5783
6074
 
6075
+ # Search configuration for UCS search queries.
6076
+ class GoogleCloudDialogflowCxV3SearchConfig
6077
+ include Google::Apis::Core::Hashable
6078
+
6079
+ # Optional. Boosting configuration for the datastores.
6080
+ # Corresponds to the JSON property `boostSpecs`
6081
+ # @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3BoostSpecs>]
6082
+ attr_accessor :boost_specs
6083
+
6084
+ # Optional. Filter configuration for the datastores.
6085
+ # Corresponds to the JSON property `filterSpecs`
6086
+ # @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3FilterSpecs>]
6087
+ attr_accessor :filter_specs
6088
+
6089
+ def initialize(**args)
6090
+ update!(**args)
6091
+ end
6092
+
6093
+ # Update properties of this object
6094
+ def update!(**args)
6095
+ @boost_specs = args[:boost_specs] if args.key?(:boost_specs)
6096
+ @filter_specs = args[:filter_specs] if args.key?(:filter_specs)
6097
+ end
6098
+ end
6099
+
5784
6100
  # Represents the settings related to security issues, such as data redaction and
5785
6101
  # data retention. It may take hours for updates on the settings to propagate to
5786
6102
  # all the related components and take effect.
@@ -6099,6 +6415,39 @@ module Google
6099
6415
  end
6100
6416
  end
6101
6417
 
6418
+ # The request to set the feedback for a bot answer.
6419
+ class GoogleCloudDialogflowCxV3SubmitAnswerFeedbackRequest
6420
+ include Google::Apis::Core::Hashable
6421
+
6422
+ # Stores information about feedback provided by users about a response.
6423
+ # Corresponds to the JSON property `answerFeedback`
6424
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AnswerFeedback]
6425
+ attr_accessor :answer_feedback
6426
+
6427
+ # Required. ID of the response to update its feedback. This is the same as
6428
+ # DetectIntentResponse.response_id.
6429
+ # Corresponds to the JSON property `responseId`
6430
+ # @return [String]
6431
+ attr_accessor :response_id
6432
+
6433
+ # Optional. The mask to control which fields to update. If the mask is not
6434
+ # present, all fields will be updated.
6435
+ # Corresponds to the JSON property `updateMask`
6436
+ # @return [String]
6437
+ attr_accessor :update_mask
6438
+
6439
+ def initialize(**args)
6440
+ update!(**args)
6441
+ end
6442
+
6443
+ # Update properties of this object
6444
+ def update!(**args)
6445
+ @answer_feedback = args[:answer_feedback] if args.key?(:answer_feedback)
6446
+ @response_id = args[:response_id] if args.key?(:response_id)
6447
+ @update_mask = args[:update_mask] if args.key?(:update_mask)
6448
+ end
6449
+ end
6450
+
6102
6451
  # Configuration of how speech should be synthesized.
6103
6452
  class GoogleCloudDialogflowCxV3SynthesizeSpeechConfig
6104
6453
  include Google::Apis::Core::Hashable
@@ -7741,6 +8090,49 @@ module Google
7741
8090
  end
7742
8091
  end
7743
8092
 
8093
+ # Configuration of the barge-in behavior. Barge-in instructs the API to return a
8094
+ # detected utterance at a proper time while the client is playing back the
8095
+ # response audio from a previous request. When the client sees the utterance, it
8096
+ # should stop the playback and immediately get ready for receiving the responses
8097
+ # for the current request. The barge-in handling requires the client to start
8098
+ # streaming audio input as soon as it starts playing back the audio from the
8099
+ # previous response. The playback is modeled into two phases: * No barge-in
8100
+ # phase: which goes first and during which speech detection should not be
8101
+ # carried out. * Barge-in phase: which follows the no barge-in phase and during
8102
+ # which the API starts speech detection and may inform the client that an
8103
+ # utterance has been detected. Note that no-speech event is not expected in this
8104
+ # phase. The client provides this configuration in terms of the durations of
8105
+ # those two phases. The durations are measured in terms of the audio length
8106
+ # fromt the the start of the input audio. The flow goes like below: --> Time
8107
+ # without speech detection | utterance only | utterance or no-speech event | | +-
8108
+ # ------------+ | +------------+ | +---------------+ ----------+ no barge-in +-|-
8109
+ # + barge-in +-|-+ normal period +----------- +-------------+ | +------------+ |
8110
+ # +---------------+ No-speech event is a response with END_OF_UTTERANCE without
8111
+ # any transcript following up.
8112
+ class GoogleCloudDialogflowCxV3beta1BargeInConfig
8113
+ include Google::Apis::Core::Hashable
8114
+
8115
+ # Duration that is not eligible for barge-in at the beginning of the input audio.
8116
+ # Corresponds to the JSON property `noBargeInDuration`
8117
+ # @return [String]
8118
+ attr_accessor :no_barge_in_duration
8119
+
8120
+ # Total duration for the playback at the beginning of the input audio.
8121
+ # Corresponds to the JSON property `totalDuration`
8122
+ # @return [String]
8123
+ attr_accessor :total_duration
8124
+
8125
+ def initialize(**args)
8126
+ update!(**args)
8127
+ end
8128
+
8129
+ # Update properties of this object
8130
+ def update!(**args)
8131
+ @no_barge_in_duration = args[:no_barge_in_duration] if args.key?(:no_barge_in_duration)
8132
+ @total_duration = args[:total_duration] if args.key?(:total_duration)
8133
+ end
8134
+ end
8135
+
7744
8136
  # Metadata returned for the TestCases.BatchRunTestCases long running operation.
7745
8137
  class GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata
7746
8138
  include Google::Apis::Core::Hashable
@@ -9098,6 +9490,29 @@ module Google
9098
9490
  # @return [String]
9099
9491
  attr_accessor :audio_encoding
9100
9492
 
9493
+ # Configuration of the barge-in behavior. Barge-in instructs the API to return a
9494
+ # detected utterance at a proper time while the client is playing back the
9495
+ # response audio from a previous request. When the client sees the utterance, it
9496
+ # should stop the playback and immediately get ready for receiving the responses
9497
+ # for the current request. The barge-in handling requires the client to start
9498
+ # streaming audio input as soon as it starts playing back the audio from the
9499
+ # previous response. The playback is modeled into two phases: * No barge-in
9500
+ # phase: which goes first and during which speech detection should not be
9501
+ # carried out. * Barge-in phase: which follows the no barge-in phase and during
9502
+ # which the API starts speech detection and may inform the client that an
9503
+ # utterance has been detected. Note that no-speech event is not expected in this
9504
+ # phase. The client provides this configuration in terms of the durations of
9505
+ # those two phases. The durations are measured in terms of the audio length
9506
+ # fromt the the start of the input audio. The flow goes like below: --> Time
9507
+ # without speech detection | utterance only | utterance or no-speech event | | +-
9508
+ # ------------+ | +------------+ | +---------------+ ----------+ no barge-in +-|-
9509
+ # + barge-in +-|-+ normal period +----------- +-------------+ | +------------+ |
9510
+ # +---------------+ No-speech event is a response with END_OF_UTTERANCE without
9511
+ # any transcript following up.
9512
+ # Corresponds to the JSON property `bargeInConfig`
9513
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1BargeInConfig]
9514
+ attr_accessor :barge_in_config
9515
+
9101
9516
  # Optional. If `true`, Dialogflow returns SpeechWordInfo in
9102
9517
  # StreamingRecognitionResult with information about the recognized speech words,
9103
9518
  # e.g. start and end time offsets. If false or unspecified, Speech doesn't
@@ -9160,6 +9575,7 @@ module Google
9160
9575
  # Update properties of this object
9161
9576
  def update!(**args)
9162
9577
  @audio_encoding = args[:audio_encoding] if args.key?(:audio_encoding)
9578
+ @barge_in_config = args[:barge_in_config] if args.key?(:barge_in_config)
9163
9579
  @enable_word_info = args[:enable_word_info] if args.key?(:enable_word_info)
9164
9580
  @model = args[:model] if args.key?(:model)
9165
9581
  @model_variant = args[:model_variant] if args.key?(:model_variant)
@@ -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.70.0"
19
+ GEM_VERSION = "0.71.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231019"
25
+ REVISION = "20231109"
26
26
  end
27
27
  end
28
28
  end
@@ -46,6 +46,12 @@ module Google
46
46
  include Google::Apis::Core::JsonObjectSupport
47
47
  end
48
48
 
49
+ class GoogleCloudDialogflowCxV3AgentAnswerFeedbackSettings
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
49
55
  class GoogleCloudDialogflowCxV3AgentGenAppBuilderSettings
50
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
57
 
@@ -70,12 +76,30 @@ module Google
70
76
  include Google::Apis::Core::JsonObjectSupport
71
77
  end
72
78
 
79
+ class GoogleCloudDialogflowCxV3AnswerFeedback
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class GoogleCloudDialogflowCxV3AnswerFeedbackRatingReason
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
73
91
  class GoogleCloudDialogflowCxV3AudioInput
74
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
93
 
76
94
  include Google::Apis::Core::JsonObjectSupport
77
95
  end
78
96
 
97
+ class GoogleCloudDialogflowCxV3BargeInConfig
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
79
103
  class GoogleCloudDialogflowCxV3BatchDeleteTestCasesRequest
80
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
105
 
@@ -100,6 +124,24 @@ module Google
100
124
  include Google::Apis::Core::JsonObjectSupport
101
125
  end
102
126
 
127
+ class GoogleCloudDialogflowCxV3BoostSpec
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpec
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class GoogleCloudDialogflowCxV3BoostSpecs
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
103
145
  class GoogleCloudDialogflowCxV3CalculateCoverageResponse
104
146
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
147
 
@@ -382,6 +424,12 @@ module Google
382
424
  include Google::Apis::Core::JsonObjectSupport
383
425
  end
384
426
 
427
+ class GoogleCloudDialogflowCxV3FilterSpecs
428
+ class Representation < Google::Apis::Core::JsonRepresentation; end
429
+
430
+ include Google::Apis::Core::JsonObjectSupport
431
+ end
432
+
385
433
  class GoogleCloudDialogflowCxV3Flow
386
434
  class Representation < Google::Apis::Core::JsonRepresentation; end
387
435
 
@@ -970,6 +1018,12 @@ module Google
970
1018
  include Google::Apis::Core::JsonObjectSupport
971
1019
  end
972
1020
 
1021
+ class GoogleCloudDialogflowCxV3SearchConfig
1022
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1023
+
1024
+ include Google::Apis::Core::JsonObjectSupport
1025
+ end
1026
+
973
1027
  class GoogleCloudDialogflowCxV3SecuritySettings
974
1028
  class Representation < Google::Apis::Core::JsonRepresentation; end
975
1029
 
@@ -1024,6 +1078,12 @@ module Google
1024
1078
  include Google::Apis::Core::JsonObjectSupport
1025
1079
  end
1026
1080
 
1081
+ class GoogleCloudDialogflowCxV3SubmitAnswerFeedbackRequest
1082
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1083
+
1084
+ include Google::Apis::Core::JsonObjectSupport
1085
+ end
1086
+
1027
1087
  class GoogleCloudDialogflowCxV3SynthesizeSpeechConfig
1028
1088
  class Representation < Google::Apis::Core::JsonRepresentation; end
1029
1089
 
@@ -1276,6 +1336,12 @@ module Google
1276
1336
  include Google::Apis::Core::JsonObjectSupport
1277
1337
  end
1278
1338
 
1339
+ class GoogleCloudDialogflowCxV3beta1BargeInConfig
1340
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1341
+
1342
+ include Google::Apis::Core::JsonObjectSupport
1343
+ end
1344
+
1279
1345
  class GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata
1280
1346
  class Representation < Google::Apis::Core::JsonRepresentation; end
1281
1347
 
@@ -2978,6 +3044,8 @@ module Google
2978
3044
  class Representation < Google::Apis::Core::JsonRepresentation
2979
3045
  property :advanced_settings, as: 'advancedSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AdvancedSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AdvancedSettings::Representation
2980
3046
 
3047
+ property :answer_feedback_settings, as: 'answerFeedbackSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AgentAnswerFeedbackSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AgentAnswerFeedbackSettings::Representation
3048
+
2981
3049
  property :avatar_uri, as: 'avatarUri'
2982
3050
  property :default_language_code, as: 'defaultLanguageCode'
2983
3051
  property :description, as: 'description'
@@ -3001,6 +3069,13 @@ module Google
3001
3069
  end
3002
3070
  end
3003
3071
 
3072
+ class GoogleCloudDialogflowCxV3AgentAnswerFeedbackSettings
3073
+ # @private
3074
+ class Representation < Google::Apis::Core::JsonRepresentation
3075
+ property :enable_answer_feedback, as: 'enableAnswerFeedback'
3076
+ end
3077
+ end
3078
+
3004
3079
  class GoogleCloudDialogflowCxV3AgentGenAppBuilderSettings
3005
3080
  # @private
3006
3081
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3036,6 +3111,24 @@ module Google
3036
3111
  end
3037
3112
  end
3038
3113
 
3114
+ class GoogleCloudDialogflowCxV3AnswerFeedback
3115
+ # @private
3116
+ class Representation < Google::Apis::Core::JsonRepresentation
3117
+ property :custom_rating, as: 'customRating'
3118
+ property :rating, as: 'rating'
3119
+ property :rating_reason, as: 'ratingReason', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AnswerFeedbackRatingReason, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AnswerFeedbackRatingReason::Representation
3120
+
3121
+ end
3122
+ end
3123
+
3124
+ class GoogleCloudDialogflowCxV3AnswerFeedbackRatingReason
3125
+ # @private
3126
+ class Representation < Google::Apis::Core::JsonRepresentation
3127
+ property :feedback, as: 'feedback'
3128
+ collection :reason_labels, as: 'reasonLabels'
3129
+ end
3130
+ end
3131
+
3039
3132
  class GoogleCloudDialogflowCxV3AudioInput
3040
3133
  # @private
3041
3134
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3045,6 +3138,14 @@ module Google
3045
3138
  end
3046
3139
  end
3047
3140
 
3141
+ class GoogleCloudDialogflowCxV3BargeInConfig
3142
+ # @private
3143
+ class Representation < Google::Apis::Core::JsonRepresentation
3144
+ property :no_barge_in_duration, as: 'noBargeInDuration'
3145
+ property :total_duration, as: 'totalDuration'
3146
+ end
3147
+ end
3148
+
3048
3149
  class GoogleCloudDialogflowCxV3BatchDeleteTestCasesRequest
3049
3150
  # @private
3050
3151
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3076,6 +3177,31 @@ module Google
3076
3177
  end
3077
3178
  end
3078
3179
 
3180
+ class GoogleCloudDialogflowCxV3BoostSpec
3181
+ # @private
3182
+ class Representation < Google::Apis::Core::JsonRepresentation
3183
+ collection :condition_boost_specs, as: 'conditionBoostSpecs', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpec, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpec::Representation
3184
+
3185
+ end
3186
+ end
3187
+
3188
+ class GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpec
3189
+ # @private
3190
+ class Representation < Google::Apis::Core::JsonRepresentation
3191
+ property :boost, as: 'boost'
3192
+ property :condition, as: 'condition'
3193
+ end
3194
+ end
3195
+
3196
+ class GoogleCloudDialogflowCxV3BoostSpecs
3197
+ # @private
3198
+ class Representation < Google::Apis::Core::JsonRepresentation
3199
+ collection :data_stores, as: 'dataStores'
3200
+ collection :spec, as: 'spec', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3BoostSpec, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3BoostSpec::Representation
3201
+
3202
+ end
3203
+ end
3204
+
3079
3205
  class GoogleCloudDialogflowCxV3CalculateCoverageResponse
3080
3206
  # @private
3081
3207
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3545,6 +3671,14 @@ module Google
3545
3671
  end
3546
3672
  end
3547
3673
 
3674
+ class GoogleCloudDialogflowCxV3FilterSpecs
3675
+ # @private
3676
+ class Representation < Google::Apis::Core::JsonRepresentation
3677
+ collection :data_stores, as: 'dataStores'
3678
+ property :filter, as: 'filter'
3679
+ end
3680
+ end
3681
+
3548
3682
  class GoogleCloudDialogflowCxV3Flow
3549
3683
  # @private
3550
3684
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3858,6 +3992,8 @@ module Google
3858
3992
  # @private
3859
3993
  class Representation < Google::Apis::Core::JsonRepresentation
3860
3994
  property :audio_encoding, as: 'audioEncoding'
3995
+ property :barge_in_config, as: 'bargeInConfig', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3BargeInConfig, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3BargeInConfig::Representation
3996
+
3861
3997
  property :enable_word_info, as: 'enableWordInfo'
3862
3998
  property :model, as: 'model'
3863
3999
  property :model_variant, as: 'modelVariant'
@@ -4254,6 +4390,8 @@ module Google
4254
4390
 
4255
4391
  hash :parameters, as: 'parameters'
4256
4392
  hash :payload, as: 'payload'
4393
+ property :search_config, as: 'searchConfig', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SearchConfig, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SearchConfig::Representation
4394
+
4257
4395
  collection :session_entity_types, as: 'sessionEntityTypes', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SessionEntityType, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SessionEntityType::Representation
4258
4396
 
4259
4397
  property :session_ttl, as: 'sessionTtl'
@@ -4267,6 +4405,7 @@ module Google
4267
4405
  class Representation < Google::Apis::Core::JsonRepresentation
4268
4406
  property :advanced_settings, as: 'advancedSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AdvancedSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AdvancedSettings::Representation
4269
4407
 
4408
+ property :allow_answer_feedback, as: 'allowAnswerFeedback'
4270
4409
  property :current_page, as: 'currentPage', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Page, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Page::Representation
4271
4410
 
4272
4411
  hash :diagnostic_info, as: 'diagnosticInfo'
@@ -4516,6 +4655,16 @@ module Google
4516
4655
  end
4517
4656
  end
4518
4657
 
4658
+ class GoogleCloudDialogflowCxV3SearchConfig
4659
+ # @private
4660
+ class Representation < Google::Apis::Core::JsonRepresentation
4661
+ collection :boost_specs, as: 'boostSpecs', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3BoostSpecs, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3BoostSpecs::Representation
4662
+
4663
+ collection :filter_specs, as: 'filterSpecs', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3FilterSpecs, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3FilterSpecs::Representation
4664
+
4665
+ end
4666
+ end
4667
+
4519
4668
  class GoogleCloudDialogflowCxV3SecuritySettings
4520
4669
  # @private
4521
4670
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4597,6 +4746,16 @@ module Google
4597
4746
  end
4598
4747
  end
4599
4748
 
4749
+ class GoogleCloudDialogflowCxV3SubmitAnswerFeedbackRequest
4750
+ # @private
4751
+ class Representation < Google::Apis::Core::JsonRepresentation
4752
+ property :answer_feedback, as: 'answerFeedback', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AnswerFeedback, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AnswerFeedback::Representation
4753
+
4754
+ property :response_id, as: 'responseId'
4755
+ property :update_mask, as: 'updateMask'
4756
+ end
4757
+ end
4758
+
4600
4759
  class GoogleCloudDialogflowCxV3SynthesizeSpeechConfig
4601
4760
  # @private
4602
4761
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5041,6 +5200,14 @@ module Google
5041
5200
  end
5042
5201
  end
5043
5202
 
5203
+ class GoogleCloudDialogflowCxV3beta1BargeInConfig
5204
+ # @private
5205
+ class Representation < Google::Apis::Core::JsonRepresentation
5206
+ property :no_barge_in_duration, as: 'noBargeInDuration'
5207
+ property :total_duration, as: 'totalDuration'
5208
+ end
5209
+ end
5210
+
5044
5211
  class GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata
5045
5212
  # @private
5046
5213
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5448,6 +5615,8 @@ module Google
5448
5615
  # @private
5449
5616
  class Representation < Google::Apis::Core::JsonRepresentation
5450
5617
  property :audio_encoding, as: 'audioEncoding'
5618
+ property :barge_in_config, as: 'bargeInConfig', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1BargeInConfig, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1BargeInConfig::Representation
5619
+
5451
5620
  property :enable_word_info, as: 'enableWordInfo'
5452
5621
  property :model, as: 'model'
5453
5622
  property :model_variant, as: 'modelVariant'
@@ -3311,6 +3311,40 @@ module Google
3311
3311
  execute_or_queue_command(command, &block)
3312
3312
  end
3313
3313
 
3314
+ # Updates the feedback received from the user for a single turn of the bot
3315
+ # response.
3316
+ # @param [String] session
3317
+ # Required. The name of the session the feedback was sent to.
3318
+ # @param [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SubmitAnswerFeedbackRequest] google_cloud_dialogflow_cx_v3_submit_answer_feedback_request_object
3319
+ # @param [String] fields
3320
+ # Selector specifying which fields to include in a partial response.
3321
+ # @param [String] quota_user
3322
+ # Available to use for quota purposes for server-side applications. Can be any
3323
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3324
+ # @param [Google::Apis::RequestOptions] options
3325
+ # Request-specific options
3326
+ #
3327
+ # @yield [result, err] Result & error if block supplied
3328
+ # @yieldparam result [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AnswerFeedback] parsed result object
3329
+ # @yieldparam err [StandardError] error object if request failed
3330
+ #
3331
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AnswerFeedback]
3332
+ #
3333
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3334
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3335
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3336
+ def submit_project_location_agent_session_answer_feedback(session, google_cloud_dialogflow_cx_v3_submit_answer_feedback_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3337
+ command = make_simple_command(:post, 'v3/{+session}:submitAnswerFeedback', options)
3338
+ command.request_representation = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SubmitAnswerFeedbackRequest::Representation
3339
+ command.request_object = google_cloud_dialogflow_cx_v3_submit_answer_feedback_request_object
3340
+ command.response_representation = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AnswerFeedback::Representation
3341
+ command.response_class = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AnswerFeedback
3342
+ command.params['session'] = session unless session.nil?
3343
+ command.query['fields'] = fields unless fields.nil?
3344
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3345
+ execute_or_queue_command(command, &block)
3346
+ end
3347
+
3314
3348
  # Creates a session entity type.
3315
3349
  # @param [String] parent
3316
3350
  # Required. The session to create a session entity type for. Format: `projects//
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.70.0
4
+ version: 0.71.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: 2023-10-29 00:00:00.000000000 Z
11
+ date: 2023-11-19 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.70.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.71.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: []