google-apis-dialogflow_v2beta1 0.89.0 → 0.90.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: 82ae7436359facea6c2b295dd2f76040e968403f69e077c80e900176438dc20e
4
- data.tar.gz: 7018465bbff13241fc67d16e2e1ce58d41c6c05854c91018ba91f25fe7b05a8c
3
+ metadata.gz: df9a3f3b121472f60acc6fa2ade8bc07c4a59cd8bc9853cc1271ce9e7f7e0aae
4
+ data.tar.gz: '086e9a10b1bdab98dd7a7b4a374ac0c9598f3f4ff70edd70f6758c4c1f751ac5'
5
5
  SHA512:
6
- metadata.gz: 6246b886bc20762f99aaa51e0b96fac0d5ad05846d1b5d057019aa7e9db6d130418f9d5567e0cdb2d81e6012cbfa7b7224919d53a6a1d9511f7c3ff735e1daf6
7
- data.tar.gz: c07ddeb1c2bd53186140b587eb518c34c9fb77a551407cb4476fa83a0890b9de7bbdb6efb6333136d60d18f845eb385c250557119ab73035fb584d92944c3575
6
+ metadata.gz: 5d8e723508d58016a5b4a19e5b02e535efcb056dc6e8ddb8ae4de208d9dd78c87f185eca74877415dc9e71215103a21a8fbf8d7558983e69423aaf6fb37bf363
7
+ data.tar.gz: 81c12caefa0db6e0965557b660aa349e3421a55786970b2bb5d7ade3d9a4d47e637afc0c52f6cf47fb6b38c990b55e199cbfef5da6a624c3670e6cf1623d3ad3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dialogflow_v2beta1
2
2
 
3
+ ### v0.90.0 (2024-06-26)
4
+
5
+ * Regenerated from discovery document revision 20240617
6
+
3
7
  ### v0.89.0 (2024-06-23)
4
8
 
5
9
  * Regenerated from discovery document revision 20240614
@@ -3051,18 +3051,16 @@ module Google
3051
3051
 
3052
3052
  # Flow name to start the test case with. Format: `projects//locations//agents//
3053
3053
  # flows/`. Only one of `flow` and `page` should be set to indicate the starting
3054
- # point of the test case. If both are set, `page` takes precedence over `flow`.
3055
- # If neither is set, the test case will start with start page on the default
3056
- # start flow.
3054
+ # point of the test case. If neither is set, the test case will start with start
3055
+ # page on the default start flow.
3057
3056
  # Corresponds to the JSON property `flow`
3058
3057
  # @return [String]
3059
3058
  attr_accessor :flow
3060
3059
 
3061
3060
  # The page to start the test case with. Format: `projects//locations//agents//
3062
3061
  # flows//pages/`. Only one of `flow` and `page` should be set to indicate the
3063
- # starting point of the test case. If both are set, `page` takes precedence over
3064
- # `flow`. If neither is set, the test case will start with start page on the
3065
- # default start flow.
3062
+ # starting point of the test case. If neither is set, the test case will start
3063
+ # with start page on the default start flow.
3066
3064
  # Corresponds to the JSON property `page`
3067
3065
  # @return [String]
3068
3066
  attr_accessor :page
@@ -6903,18 +6901,16 @@ module Google
6903
6901
 
6904
6902
  # Flow name to start the test case with. Format: `projects//locations//agents//
6905
6903
  # flows/`. Only one of `flow` and `page` should be set to indicate the starting
6906
- # point of the test case. If both are set, `page` takes precedence over `flow`.
6907
- # If neither is set, the test case will start with start page on the default
6908
- # start flow.
6904
+ # point of the test case. If neither is set, the test case will start with start
6905
+ # page on the default start flow.
6909
6906
  # Corresponds to the JSON property `flow`
6910
6907
  # @return [String]
6911
6908
  attr_accessor :flow
6912
6909
 
6913
6910
  # The page to start the test case with. Format: `projects//locations//agents//
6914
6911
  # flows//pages/`. Only one of `flow` and `page` should be set to indicate the
6915
- # starting point of the test case. If both are set, `page` takes precedence over
6916
- # `flow`. If neither is set, the test case will start with start page on the
6917
- # default start flow.
6912
+ # starting point of the test case. If neither is set, the test case will start
6913
+ # with start page on the default start flow.
6918
6914
  # Corresponds to the JSON property `page`
6919
6915
  # @return [String]
6920
6916
  attr_accessor :page
@@ -18757,6 +18753,37 @@ module Google
18757
18753
  class GoogleCloudDialogflowV2beta1SpeechToTextConfig
18758
18754
  include Google::Apis::Core::Hashable
18759
18755
 
18756
+ # Defines the list of other language codes in addition to the one provided by
18757
+ # the conversation profile that may be detected as the language code for the
18758
+ # utterances over the conversation. See [Language Support](https://cloud.google.
18759
+ # com/dialogflow/docs/reference/language) for a list of the currently supported
18760
+ # language codes.
18761
+ # Corresponds to the JSON property `alternativeLanguageCodes`
18762
+ # @return [Array<String>]
18763
+ attr_accessor :alternative_language_codes
18764
+
18765
+ # Audio encoding of the audio content to process.
18766
+ # Corresponds to the JSON property `audioEncoding`
18767
+ # @return [String]
18768
+ attr_accessor :audio_encoding
18769
+
18770
+ # If `true`, Dialogflow returns SpeechWordInfo in StreamingRecognitionResult
18771
+ # with information about the recognized speech words, e.g. start and end time
18772
+ # offsets. If false or unspecified, Speech doesn't return any word-level
18773
+ # information.
18774
+ # Corresponds to the JSON property `enableWordInfo`
18775
+ # @return [Boolean]
18776
+ attr_accessor :enable_word_info
18777
+ alias_method :enable_word_info?, :enable_word_info
18778
+
18779
+ # The language of the supplied audio. Dialogflow does not do translations. See [
18780
+ # Language Support](https://cloud.google.com/dialogflow/docs/reference/language)
18781
+ # for a list of the currently supported language codes. Note that queries in the
18782
+ # same session do not necessarily need to specify the same language.
18783
+ # Corresponds to the JSON property `languageCode`
18784
+ # @return [String]
18785
+ attr_accessor :language_code
18786
+
18760
18787
  # Which Speech model to select. Select the model best suited to your domain to
18761
18788
  # get best results. If a model is not explicitly specified, then Dialogflow auto-
18762
18789
  # selects a model based on other parameters in the SpeechToTextConfig and Agent
@@ -18774,6 +18801,13 @@ module Google
18774
18801
  # @return [String]
18775
18802
  attr_accessor :model
18776
18803
 
18804
+ # Sample rate (in Hertz) of the audio content sent in the query. Refer to [Cloud
18805
+ # Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics)
18806
+ # for more details.
18807
+ # Corresponds to the JSON property `sampleRateHertz`
18808
+ # @return [Fixnum]
18809
+ attr_accessor :sample_rate_hertz
18810
+
18777
18811
  # The speech model used in speech to text. `SPEECH_MODEL_VARIANT_UNSPECIFIED`, `
18778
18812
  # USE_BEST_AVAILABLE` will be treated as `USE_ENHANCED`. It can be overridden in
18779
18813
  # AnalyzeContentRequest and StreamingAnalyzeContentRequest request. If enhanced
@@ -18796,7 +18830,12 @@ module Google
18796
18830
 
18797
18831
  # Update properties of this object
18798
18832
  def update!(**args)
18833
+ @alternative_language_codes = args[:alternative_language_codes] if args.key?(:alternative_language_codes)
18834
+ @audio_encoding = args[:audio_encoding] if args.key?(:audio_encoding)
18835
+ @enable_word_info = args[:enable_word_info] if args.key?(:enable_word_info)
18836
+ @language_code = args[:language_code] if args.key?(:language_code)
18799
18837
  @model = args[:model] if args.key?(:model)
18838
+ @sample_rate_hertz = args[:sample_rate_hertz] if args.key?(:sample_rate_hertz)
18800
18839
  @speech_model_variant = args[:speech_model_variant] if args.key?(:speech_model_variant)
18801
18840
  @use_timeout_based_endpointing = args[:use_timeout_based_endpointing] if args.key?(:use_timeout_based_endpointing)
18802
18841
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DialogflowV2beta1
18
18
  # Version of the google-apis-dialogflow_v2beta1 gem
19
- GEM_VERSION = "0.89.0"
19
+ GEM_VERSION = "0.90.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240614"
25
+ REVISION = "20240617"
26
26
  end
27
27
  end
28
28
  end
@@ -8508,7 +8508,12 @@ module Google
8508
8508
  class GoogleCloudDialogflowV2beta1SpeechToTextConfig
8509
8509
  # @private
8510
8510
  class Representation < Google::Apis::Core::JsonRepresentation
8511
+ collection :alternative_language_codes, as: 'alternativeLanguageCodes'
8512
+ property :audio_encoding, as: 'audioEncoding'
8513
+ property :enable_word_info, as: 'enableWordInfo'
8514
+ property :language_code, as: 'languageCode'
8511
8515
  property :model, as: 'model'
8516
+ property :sample_rate_hertz, as: 'sampleRateHertz'
8512
8517
  property :speech_model_variant, as: 'speechModelVariant'
8513
8518
  property :use_timeout_based_endpointing, as: 'useTimeoutBasedEndpointing'
8514
8519
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dialogflow_v2beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.89.0
4
+ version: 0.90.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-06-23 00:00:00.000000000 Z
11
+ date: 2024-06-27 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_v2beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.89.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.90.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2beta1
63
63
  post_install_message:
64
64
  rdoc_options: []