google-cloud-speech-v1 1.1.0 → 1.2.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 +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/speech/v1/adaptation/client.rb +7 -0
- data/lib/google/cloud/speech/v1/adaptation/rest/client.rb +7 -0
- data/lib/google/cloud/speech/v1/speech/client.rb +7 -0
- data/lib/google/cloud/speech/v1/speech/operations.rb +7 -0
- data/lib/google/cloud/speech/v1/speech/rest/client.rb +7 -0
- data/lib/google/cloud/speech/v1/speech/rest/operations.rb +7 -0
- data/lib/google/cloud/speech/v1/version.rb +1 -1
- data/proto_docs/google/cloud/speech/v1/cloud_speech.rb +8 -0
- data/proto_docs/google/longrunning/operations.rb +4 -0
- metadata +6 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 85922f2b729a1a5bf8be578c3a13f500ab6d9460749f768855582635770e55c1
|
4
|
+
data.tar.gz: bde4be9f91ff847ef1e599a21d347ae288146ed93e2f2fd161dd61873db2e087
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b6bc1a13eb8c4c29c54db9fa146a1bce579b11b63e49eede17c0af131a3b4136fa08c2b7b5fe9848d2cd8e80e9d9b7eee931dd0b07e506dadf8b6ac889a97fe3
|
7
|
+
data.tar.gz: e9f2b74a73dcddd3763d152b6ff6d98af6c17ea18ffcfe849cfe4556b92a9d69199cefad0be6fcd2c3d7e34e9d02bb8351c51b1658cca78af07b18ec314bad66
|
data/README.md
CHANGED
@@ -86,7 +86,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
|
|
86
86
|
|
87
87
|
## Supported Ruby Versions
|
88
88
|
|
89
|
-
This library is supported on Ruby
|
89
|
+
This library is supported on Ruby 3.0+.
|
90
90
|
|
91
91
|
Google provides official support for Ruby versions that are actively supported
|
92
92
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
@@ -1209,6 +1209,13 @@ module Google
|
|
1209
1209
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
1210
1210
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
1211
1211
|
# * (`nil`) indicating no credentials
|
1212
|
+
#
|
1213
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
1214
|
+
# external source for authentication to Google Cloud, you must validate it before
|
1215
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
1216
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
1217
|
+
# For more information, refer to [Validate credential configurations from external
|
1218
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
1212
1219
|
# @return [::Object]
|
1213
1220
|
# @!attribute [rw] scope
|
1214
1221
|
# The OAuth scopes
|
@@ -1130,6 +1130,13 @@ module Google
|
|
1130
1130
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
1131
1131
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
1132
1132
|
# * (`nil`) indicating no credentials
|
1133
|
+
#
|
1134
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
1135
|
+
# external source for authentication to Google Cloud, you must validate it before
|
1136
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
1137
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
1138
|
+
# For more information, refer to [Validate credential configurations from external
|
1139
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
1133
1140
|
# @return [::Object]
|
1134
1141
|
# @!attribute [rw] scope
|
1135
1142
|
# The OAuth scopes
|
@@ -509,6 +509,13 @@ module Google
|
|
509
509
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
510
510
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
511
511
|
# * (`nil`) indicating no credentials
|
512
|
+
#
|
513
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
514
|
+
# external source for authentication to Google Cloud, you must validate it before
|
515
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
516
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
517
|
+
# For more information, refer to [Validate credential configurations from external
|
518
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
512
519
|
# @return [::Object]
|
513
520
|
# @!attribute [rw] scope
|
514
521
|
# The OAuth scopes
|
@@ -632,6 +632,13 @@ module Google
|
|
632
632
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
633
633
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
634
634
|
# * (`nil`) indicating no credentials
|
635
|
+
#
|
636
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
637
|
+
# external source for authentication to Google Cloud, you must validate it before
|
638
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
639
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
640
|
+
# For more information, refer to [Validate credential configurations from external
|
641
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
635
642
|
# @return [::Object]
|
636
643
|
# @!attribute [rw] scope
|
637
644
|
# The OAuth scopes
|
@@ -418,6 +418,13 @@ module Google
|
|
418
418
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
419
419
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
420
420
|
# * (`nil`) indicating no credentials
|
421
|
+
#
|
422
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
423
|
+
# external source for authentication to Google Cloud, you must validate it before
|
424
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
425
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
426
|
+
# For more information, refer to [Validate credential configurations from external
|
427
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
421
428
|
# @return [::Object]
|
422
429
|
# @!attribute [rw] scope
|
423
430
|
# The OAuth scopes
|
@@ -502,6 +502,13 @@ module Google
|
|
502
502
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
503
503
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
504
504
|
# * (`nil`) indicating no credentials
|
505
|
+
#
|
506
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
507
|
+
# external source for authentication to Google Cloud, you must validate it before
|
508
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
509
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
510
|
+
# For more information, refer to [Validate credential configurations from external
|
511
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
505
512
|
# @return [::Object]
|
506
513
|
# @!attribute [rw] scope
|
507
514
|
# The OAuth scopes
|
@@ -72,6 +72,8 @@ module Google
|
|
72
72
|
# Provides information to the recognizer that specifies how to process the
|
73
73
|
# request. The first `StreamingRecognizeRequest` message must contain a
|
74
74
|
# `streaming_config` message.
|
75
|
+
#
|
76
|
+
# Note: The following fields are mutually exclusive: `streaming_config`, `audio_content`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
75
77
|
# @!attribute [rw] audio_content
|
76
78
|
# @return [::String]
|
77
79
|
# The audio data to be recognized. Sequential chunks of audio data are sent
|
@@ -82,6 +84,8 @@ module Google
|
|
82
84
|
# `RecognitionConfig`. Note: as with all bytes fields, proto buffers use a
|
83
85
|
# pure binary representation (not base64). See
|
84
86
|
# [content limits](https://cloud.google.com/speech-to-text/quotas#content).
|
87
|
+
#
|
88
|
+
# Note: The following fields are mutually exclusive: `audio_content`, `streaming_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
85
89
|
class StreamingRecognizeRequest
|
86
90
|
include ::Google::Protobuf::MessageExts
|
87
91
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -630,6 +634,8 @@ module Google
|
|
630
634
|
# The audio data bytes encoded as specified in
|
631
635
|
# `RecognitionConfig`. Note: as with all bytes fields, proto buffers use a
|
632
636
|
# pure binary representation, whereas JSON representations use base64.
|
637
|
+
#
|
638
|
+
# 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.
|
633
639
|
# @!attribute [rw] uri
|
634
640
|
# @return [::String]
|
635
641
|
# URI that points to a file that contains audio data bytes as specified in
|
@@ -640,6 +646,8 @@ module Google
|
|
640
646
|
# [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]).
|
641
647
|
# For more information, see [Request
|
642
648
|
# URIs](https://cloud.google.com/storage/docs/reference-uris).
|
649
|
+
#
|
650
|
+
# 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.
|
643
651
|
class RecognitionAudio
|
644
652
|
include ::Google::Protobuf::MessageExts
|
645
653
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -40,6 +40,8 @@ module Google
|
|
40
40
|
# @!attribute [rw] error
|
41
41
|
# @return [::Google::Rpc::Status]
|
42
42
|
# The error result of the operation in case of failure or cancellation.
|
43
|
+
#
|
44
|
+
# Note: The following fields are mutually exclusive: `error`, `response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
43
45
|
# @!attribute [rw] response
|
44
46
|
# @return [::Google::Protobuf::Any]
|
45
47
|
# The normal, successful response of the operation. If the original
|
@@ -50,6 +52,8 @@ module Google
|
|
50
52
|
# is the original method name. For example, if the original method name
|
51
53
|
# is `TakeSnapshot()`, the inferred response type is
|
52
54
|
# `TakeSnapshotResponse`.
|
55
|
+
#
|
56
|
+
# Note: The following fields are mutually exclusive: `response`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
53
57
|
class Operation
|
54
58
|
include ::Google::Protobuf::MessageExts
|
55
59
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-speech-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-01-29 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: gapic-common
|
@@ -16,7 +15,7 @@ dependencies:
|
|
16
15
|
requirements:
|
17
16
|
- - ">="
|
18
17
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
18
|
+
version: 0.25.0
|
20
19
|
- - "<"
|
21
20
|
- !ruby/object:Gem::Version
|
22
21
|
version: 2.a
|
@@ -26,7 +25,7 @@ dependencies:
|
|
26
25
|
requirements:
|
27
26
|
- - ">="
|
28
27
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
28
|
+
version: 0.25.0
|
30
29
|
- - "<"
|
31
30
|
- !ruby/object:Gem::Version
|
32
31
|
version: 2.a
|
@@ -106,7 +105,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
|
|
106
105
|
licenses:
|
107
106
|
- Apache-2.0
|
108
107
|
metadata: {}
|
109
|
-
post_install_message:
|
110
108
|
rdoc_options: []
|
111
109
|
require_paths:
|
112
110
|
- lib
|
@@ -114,15 +112,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
114
112
|
requirements:
|
115
113
|
- - ">="
|
116
114
|
- !ruby/object:Gem::Version
|
117
|
-
version: '
|
115
|
+
version: '3.0'
|
118
116
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
119
117
|
requirements:
|
120
118
|
- - ">="
|
121
119
|
- !ruby/object:Gem::Version
|
122
120
|
version: '0'
|
123
121
|
requirements: []
|
124
|
-
rubygems_version: 3.
|
125
|
-
signing_key:
|
122
|
+
rubygems_version: 3.6.2
|
126
123
|
specification_version: 4
|
127
124
|
summary: Converts audio to text by applying powerful neural network models.
|
128
125
|
test_files: []
|