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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 43c352bc89301e1b70bd647eacce65c962b607044b1275f4bfd2e2c39440eea5
|
4
|
+
data.tar.gz: 2480180aa53f8879645dc56897c52059468eef9b5a8114304ede6165c2ce3b78
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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/
|
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 =
|
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
|
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
|
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
|
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
|
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]
|
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.
|
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.
|
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.
|
25
|
+
version: '1.2'
|
26
26
|
- !ruby/object:Gem::Dependency
|
27
27
|
name: google-cloud-errors
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|