google-apis-dialogflow_v2 0.130.0 → 0.131.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a0a209bc3fcc4471da46a879d0ee168d7b7366014f0e57f01393bbcb27bb5c12
4
- data.tar.gz: f3037c8bfe279718cf752c9fde43492a2d3feae7942d8667d2bd8c5934e6cbef
3
+ metadata.gz: ac683fc82350f053529d6427c225b1d42a663df9c0444cfcd517a6c039d284d1
4
+ data.tar.gz: 44f4508172fde42d7face0fcf5a0062b63790d8dbf96777294e3e75c7844aea5
5
5
  SHA512:
6
- metadata.gz: 26317ee901ae707c6910788ed992d1af3fae7900734820d164d73f1d8db4d008c661bf9a1fd13960db345359f6a5d561e33d0425ebe786ff326f3068d66ab4f5
7
- data.tar.gz: 3d177c8d61a53f61619a6baf68e8e6f7fc17d976f02c00c15395ae81d4d68cc9d0713bbafb029057df92dbfa5d09ae3d114cbe0ff9c47f34b1ad94db6a64b5e6
6
+ metadata.gz: bbab01f6fde56608549d9a897c07757860cd44d11aaf144fb17b349532a1e44f1e812cc213fd6fbcd65553a966ee74a2d54c860630db54cc955fbb5c9d33338f
7
+ data.tar.gz: 85798e387ac94b0f952355af97f118d821f00bfcd6de1d28ed6ff1ecf568c624641c5f8a82d3e8eb0d4de809032a0d4af360a487cea6fd00994057d93ff21d55
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dialogflow_v2
2
2
 
3
+ ### v0.131.0 (2026-08-30)
4
+
5
+ * Regenerated from discovery document revision 20260825
6
+
3
7
  ### v0.130.0 (2026-08-23)
4
8
 
5
9
  * Regenerated from discovery document revision 20260815
@@ -11801,6 +11801,11 @@ module Google
11801
11801
  attr_accessor :enable_word_info
11802
11802
  alias_method :enable_word_info?, :enable_word_info
11803
11803
 
11804
+ #
11805
+ # Corresponds to the JSON property `geminiAsrConfig`
11806
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SpeechToTextConfigGeminiAsrConfig]
11807
+ attr_accessor :gemini_asr_config
11808
+
11804
11809
  #
11805
11810
  # Corresponds to the JSON property `languageCode`
11806
11811
  # @return [String]
@@ -11848,6 +11853,12 @@ module Google
11848
11853
  # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SpeechContext>]
11849
11854
  attr_accessor :speech_contexts
11850
11855
 
11856
+ #
11857
+ # Corresponds to the JSON property `useGeminiAsr`
11858
+ # @return [Boolean]
11859
+ attr_accessor :use_gemini_asr
11860
+ alias_method :use_gemini_asr?, :use_gemini_asr
11861
+
11851
11862
  def initialize(**args)
11852
11863
  update!(**args)
11853
11864
  end
@@ -11859,6 +11870,7 @@ module Google
11859
11870
  @enable_automatic_punctuation = args[:enable_automatic_punctuation] if args.key?(:enable_automatic_punctuation)
11860
11871
  @enable_voice_activity_events = args[:enable_voice_activity_events] if args.key?(:enable_voice_activity_events)
11861
11872
  @enable_word_info = args[:enable_word_info] if args.key?(:enable_word_info)
11873
+ @gemini_asr_config = args[:gemini_asr_config] if args.key?(:gemini_asr_config)
11862
11874
  @language_code = args[:language_code] if args.key?(:language_code)
11863
11875
  @model = args[:model] if args.key?(:model)
11864
11876
  @model_variant = args[:model_variant] if args.key?(:model_variant)
@@ -11868,6 +11880,7 @@ module Google
11868
11880
  @sample_rate_hertz = args[:sample_rate_hertz] if args.key?(:sample_rate_hertz)
11869
11881
  @single_utterance = args[:single_utterance] if args.key?(:single_utterance)
11870
11882
  @speech_contexts = args[:speech_contexts] if args.key?(:speech_contexts)
11883
+ @use_gemini_asr = args[:use_gemini_asr] if args.key?(:use_gemini_asr)
11871
11884
  end
11872
11885
  end
11873
11886
 
@@ -15866,6 +15879,11 @@ module Google
15866
15879
  attr_accessor :enable_word_info
15867
15880
  alias_method :enable_word_info?, :enable_word_info
15868
15881
 
15882
+ #
15883
+ # Corresponds to the JSON property `geminiAsrConfig`
15884
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SpeechToTextConfigGeminiAsrConfig]
15885
+ attr_accessor :gemini_asr_config
15886
+
15869
15887
  #
15870
15888
  # Corresponds to the JSON property `languageCode`
15871
15889
  # @return [String]
@@ -15891,6 +15909,12 @@ module Google
15891
15909
  # @return [String]
15892
15910
  attr_accessor :speech_model_variant
15893
15911
 
15912
+ #
15913
+ # Corresponds to the JSON property `useGeminiAsr`
15914
+ # @return [Boolean]
15915
+ attr_accessor :use_gemini_asr
15916
+ alias_method :use_gemini_asr?, :use_gemini_asr
15917
+
15894
15918
  #
15895
15919
  # Corresponds to the JSON property `useTimeoutBasedEndpointing`
15896
15920
  # @return [Boolean]
@@ -15905,15 +15929,60 @@ module Google
15905
15929
  def update!(**args)
15906
15930
  @audio_encoding = args[:audio_encoding] if args.key?(:audio_encoding)
15907
15931
  @enable_word_info = args[:enable_word_info] if args.key?(:enable_word_info)
15932
+ @gemini_asr_config = args[:gemini_asr_config] if args.key?(:gemini_asr_config)
15908
15933
  @language_code = args[:language_code] if args.key?(:language_code)
15909
15934
  @model = args[:model] if args.key?(:model)
15910
15935
  @phrase_sets = args[:phrase_sets] if args.key?(:phrase_sets)
15911
15936
  @sample_rate_hertz = args[:sample_rate_hertz] if args.key?(:sample_rate_hertz)
15912
15937
  @speech_model_variant = args[:speech_model_variant] if args.key?(:speech_model_variant)
15938
+ @use_gemini_asr = args[:use_gemini_asr] if args.key?(:use_gemini_asr)
15913
15939
  @use_timeout_based_endpointing = args[:use_timeout_based_endpointing] if args.key?(:use_timeout_based_endpointing)
15914
15940
  end
15915
15941
  end
15916
15942
 
15943
+ #
15944
+ class GoogleCloudDialogflowV2SpeechToTextConfigGeminiAsrConfig
15945
+ include Google::Apis::Core::Hashable
15946
+
15947
+ #
15948
+ # Corresponds to the JSON property `endOfSpeechSensitivity`
15949
+ # @return [String]
15950
+ attr_accessor :end_of_speech_sensitivity
15951
+
15952
+ #
15953
+ # Corresponds to the JSON property `modelId`
15954
+ # @return [String]
15955
+ attr_accessor :model_id
15956
+
15957
+ #
15958
+ # Corresponds to the JSON property `prefixPaddingMs`
15959
+ # @return [Fixnum]
15960
+ attr_accessor :prefix_padding_ms
15961
+
15962
+ #
15963
+ # Corresponds to the JSON property `silenceDurationMs`
15964
+ # @return [Fixnum]
15965
+ attr_accessor :silence_duration_ms
15966
+
15967
+ #
15968
+ # Corresponds to the JSON property `startOfSpeechSensitivity`
15969
+ # @return [String]
15970
+ attr_accessor :start_of_speech_sensitivity
15971
+
15972
+ def initialize(**args)
15973
+ update!(**args)
15974
+ end
15975
+
15976
+ # Update properties of this object
15977
+ def update!(**args)
15978
+ @end_of_speech_sensitivity = args[:end_of_speech_sensitivity] if args.key?(:end_of_speech_sensitivity)
15979
+ @model_id = args[:model_id] if args.key?(:model_id)
15980
+ @prefix_padding_ms = args[:prefix_padding_ms] if args.key?(:prefix_padding_ms)
15981
+ @silence_duration_ms = args[:silence_duration_ms] if args.key?(:silence_duration_ms)
15982
+ @start_of_speech_sensitivity = args[:start_of_speech_sensitivity] if args.key?(:start_of_speech_sensitivity)
15983
+ end
15984
+ end
15985
+
15917
15986
  #
15918
15987
  class GoogleCloudDialogflowV2SpeechWordInfo
15919
15988
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DialogflowV2
18
18
  # Version of the google-apis-dialogflow_v2 gem
19
- GEM_VERSION = "0.130.0"
19
+ GEM_VERSION = "0.131.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260815"
25
+ REVISION = "20260825"
26
26
  end
27
27
  end
28
28
  end
@@ -2914,6 +2914,12 @@ module Google
2914
2914
  include Google::Apis::Core::JsonObjectSupport
2915
2915
  end
2916
2916
 
2917
+ class GoogleCloudDialogflowV2SpeechToTextConfigGeminiAsrConfig
2918
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2919
+
2920
+ include Google::Apis::Core::JsonObjectSupport
2921
+ end
2922
+
2917
2923
  class GoogleCloudDialogflowV2SpeechWordInfo
2918
2924
  class Representation < Google::Apis::Core::JsonRepresentation; end
2919
2925
 
@@ -7864,6 +7870,8 @@ module Google
7864
7870
  property :enable_automatic_punctuation, as: 'enableAutomaticPunctuation'
7865
7871
  property :enable_voice_activity_events, as: 'enableVoiceActivityEvents'
7866
7872
  property :enable_word_info, as: 'enableWordInfo'
7873
+ property :gemini_asr_config, as: 'geminiAsrConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SpeechToTextConfigGeminiAsrConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SpeechToTextConfigGeminiAsrConfig::Representation
7874
+
7867
7875
  property :language_code, as: 'languageCode'
7868
7876
  property :model, as: 'model'
7869
7877
  property :model_variant, as: 'modelVariant'
@@ -7874,6 +7882,7 @@ module Google
7874
7882
  property :single_utterance, as: 'singleUtterance'
7875
7883
  collection :speech_contexts, as: 'speechContexts', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SpeechContext, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SpeechContext::Representation
7876
7884
 
7885
+ property :use_gemini_asr, as: 'useGeminiAsr'
7877
7886
  end
7878
7887
  end
7879
7888
 
@@ -9115,15 +9124,29 @@ module Google
9115
9124
  class Representation < Google::Apis::Core::JsonRepresentation
9116
9125
  property :audio_encoding, as: 'audioEncoding'
9117
9126
  property :enable_word_info, as: 'enableWordInfo'
9127
+ property :gemini_asr_config, as: 'geminiAsrConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SpeechToTextConfigGeminiAsrConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SpeechToTextConfigGeminiAsrConfig::Representation
9128
+
9118
9129
  property :language_code, as: 'languageCode'
9119
9130
  property :model, as: 'model'
9120
9131
  collection :phrase_sets, as: 'phraseSets'
9121
9132
  property :sample_rate_hertz, as: 'sampleRateHertz'
9122
9133
  property :speech_model_variant, as: 'speechModelVariant'
9134
+ property :use_gemini_asr, as: 'useGeminiAsr'
9123
9135
  property :use_timeout_based_endpointing, as: 'useTimeoutBasedEndpointing'
9124
9136
  end
9125
9137
  end
9126
9138
 
9139
+ class GoogleCloudDialogflowV2SpeechToTextConfigGeminiAsrConfig
9140
+ # @private
9141
+ class Representation < Google::Apis::Core::JsonRepresentation
9142
+ property :end_of_speech_sensitivity, as: 'endOfSpeechSensitivity'
9143
+ property :model_id, as: 'modelId'
9144
+ property :prefix_padding_ms, as: 'prefixPaddingMs'
9145
+ property :silence_duration_ms, as: 'silenceDurationMs'
9146
+ property :start_of_speech_sensitivity, as: 'startOfSpeechSensitivity'
9147
+ end
9148
+ end
9149
+
9127
9150
  class GoogleCloudDialogflowV2SpeechWordInfo
9128
9151
  # @private
9129
9152
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dialogflow_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.130.0
4
+ version: 0.131.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.130.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.131.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2
62
62
  rdoc_options: []
63
63
  require_paths: