google-cloud-speech-v2 1.2.0 → 1.3.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: 223e085948e8d70dce2730b7242ad035a199a2380c0cdf7ef58e3dbfae569e75
4
- data.tar.gz: 6d285b385862fbb41c27d0edf58f040e29cc86eafa9a11585da01f04e494cec6
3
+ metadata.gz: 43c352bc89301e1b70bd647eacce65c962b607044b1275f4bfd2e2c39440eea5
4
+ data.tar.gz: 2480180aa53f8879645dc56897c52059468eef9b5a8114304ede6165c2ce3b78
5
5
  SHA512:
6
- metadata.gz: 6349eb68138f41a5c960db380c39de2488d765d9fdaf96a8367e9331eb867b57c8d01d3ef98253df0b33f518c6327cab538d8afae918acf290b2f47e6fc46320
7
- data.tar.gz: 1212c3ec13184417ab2e9ec76a4972c0e5dc5cc24c4baa63722ddbe271a36e0563b36ad52fafebb596fcea053a97f6dcfa3b5f3c6e5afb677320201d6a889c63
6
+ metadata.gz: ddecdfa0dd0e7dd7fe56c75f18ece8d15458fbb9bfaec9bad1135a4ba6bfab39ef2be64a0814dfaaf40db524eb7b7f7bc1e240357c9ce20e1b86c185219b49d4
7
+ data.tar.gz: 2caac5b26413d449aae85043eb510b2e9a10ac1d17cbd0c9379150ab58eee850a684af48cf8a99a774b61da5845fcdfde2d63fd71846d4fc3d211ee30008dfbb
@@ -16,7 +16,7 @@
16
16
 
17
17
  # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
18
 
19
- require "gapic/config"
19
+ require "gapic/rest"
20
20
 
21
21
  module Google
22
22
  module Cloud
@@ -42,7 +42,7 @@ module Google
42
42
  namespace.pop
43
43
  end
44
44
 
45
- default_config = Configuration.new parent_config
45
+ default_config = ::Gapic::Rest::HttpBindingOverrideConfiguration.new parent_config
46
46
  default_config.bindings_override["google.cloud.location.Locations.GetLocation"] = [
47
47
  Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
48
48
  uri_method: :get,
@@ -69,33 +69,6 @@ module Google
69
69
  yield @configure if block_given?
70
70
  @configure
71
71
  end
72
-
73
- ##
74
- # @private
75
- # Configuration class for the google.cloud.speech.v2 package.
76
- #
77
- # This class contains common configuration for all services
78
- # of the google.cloud.speech.v2 package.
79
- #
80
- # This configuration is for internal use of the client library classes,
81
- # and it is not intended that the end-users will read or change it.
82
- #
83
- class Configuration
84
- extend ::Gapic::Config
85
-
86
- # @private
87
- # Overrides for http bindings for the RPC of the mixins for this package.
88
- # Services in this package should use these when creating clients for the mixin services.
89
- # @return [::Hash{::Symbol=>::Array<::Gapic::Rest::GrpcTranscoder::HttpBinding>}]
90
- config_attr :bindings_override, {}, ::Hash, nil
91
-
92
- # @private
93
- def initialize parent_config = nil
94
- @parent_config = parent_config unless parent_config.nil?
95
-
96
- yield self if block_given?
97
- end
98
- end
99
72
  end
100
73
  end
101
74
  end
@@ -880,7 +880,7 @@ module Google
880
880
  # with all bytes fields, proto buffers use a pure binary representation,
881
881
  # whereas JSON representations use base64.
882
882
  #
883
- # Note: The following fields are mutually exclusive: `content`, `uri`. If a field in that set is populated, all other fields in the set will automatically be cleared.
883
+ # Note: The following parameters are mutually exclusive: `content`, `uri`. At most one of these parameters can be set. If more than one is set, only one will be used, and it is not defined which one.
884
884
  # @param uri [::String]
885
885
  # URI that points to a file that contains audio data bytes as specified in
886
886
  # {::Google::Cloud::Speech::V2::RecognitionConfig RecognitionConfig}. The file
@@ -891,7 +891,7 @@ module Google
891
891
  # information, see [Request
892
892
  # URIs](https://cloud.google.com/storage/docs/reference-uris).
893
893
  #
894
- # Note: The following fields are mutually exclusive: `uri`, `content`. If a field in that set is populated, all other fields in the set will automatically be cleared.
894
+ # Note: The following parameters are mutually exclusive: `uri`, `content`. At most one of these parameters can be set. If more than one is set, only one will be used, and it is not defined which one.
895
895
  #
896
896
  # @yield [response, operation] Access the result along with the RPC operation
897
897
  # @yieldparam response [::Google::Cloud::Speech::V2::RecognizeResponse]
@@ -832,7 +832,7 @@ module Google
832
832
  # with all bytes fields, proto buffers use a pure binary representation,
833
833
  # whereas JSON representations use base64.
834
834
  #
835
- # Note: The following fields are mutually exclusive: `content`, `uri`. If a field in that set is populated, all other fields in the set will automatically be cleared.
835
+ # Note: The following parameters are mutually exclusive: `content`, `uri`. At most one of these parameters can be set. If more than one is set, only one will be used, and it is not defined which one.
836
836
  # @param uri [::String]
837
837
  # URI that points to a file that contains audio data bytes as specified in
838
838
  # {::Google::Cloud::Speech::V2::RecognitionConfig RecognitionConfig}. The file
@@ -843,7 +843,7 @@ module Google
843
843
  # information, see [Request
844
844
  # URIs](https://cloud.google.com/storage/docs/reference-uris).
845
845
  #
846
- # Note: The following fields are mutually exclusive: `uri`, `content`. If a field in that set is populated, all other fields in the set will automatically be cleared.
846
+ # Note: The following parameters are mutually exclusive: `uri`, `content`. At most one of these parameters can be set. If more than one is set, only one will be used, and it is not defined which one.
847
847
  # @yield [result, operation] Access the result along with the TransportOperation object
848
848
  # @yieldparam result [::Google::Cloud::Speech::V2::RecognizeResponse]
849
849
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Speech
23
23
  module V2
24
- VERSION = "1.2.0"
24
+ VERSION = "1.3.0"
25
25
  end
26
26
  end
27
27
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-speech-v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -15,14 +15,14 @@ dependencies:
15
15
  requirements:
16
16
  - - "~>"
17
17
  - !ruby/object:Gem::Version
18
- version: '1.0'
18
+ version: '1.2'
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - "~>"
24
24
  - !ruby/object:Gem::Version
25
- version: '1.0'
25
+ version: '1.2'
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: google-cloud-errors
28
28
  requirement: !ruby/object:Gem::Requirement