google-cloud-speech-v1p1beta1 0.12.1 → 0.12.4

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: 180beb388724116bb984b0030921210424a17c90607f91439f24b4ee047a8a78
4
- data.tar.gz: 9c067e63b3a6d9a3640212c19a419c43c5cfc683e7b8c0983ac6ec2d8dadf56d
3
+ metadata.gz: 694dfa9732ef834bde66f24416806136871811dafe181f690fb51ccdaa7e4fb7
4
+ data.tar.gz: 0f0c4e73321bd07dfcf80b6332584349a7056659a94066b83176ba4fd1ded2ef
5
5
  SHA512:
6
- metadata.gz: 76e27e18f6564f226bca8bc078be445d7ec8148f3bf042f7a175163209b14d87a3eebefee3b18bce5b75a0a27b32ea36abae976b95d4a4aa90e967ee2e345ccb
7
- data.tar.gz: f9433ddd977051cdbbe81ecd0ce02b6d38d49dc4d827d7687da1ffc1d976ba8f429e6274acf98a1b3ef47ed47a674d48eba07f63129637e2279459e8b047cf50
6
+ metadata.gz: aa0ba23e2c3a2c1f8d25928727beebf55cff4232c49569d90f51084d0087aa09d8024974991e4fb925db99948baf7aee48743503fce6f47294d6afbe117ea350
7
+ data.tar.gz: 12a9b8800d02f4ca0ee2fd0425791035548e81fef83ed1ef2ff83d8dc95433da221b5bb330d64a6acdc3182925e50431a423936b6484cec17b0769ff3d32cbf3
data/README.md CHANGED
@@ -37,7 +37,7 @@ request = ::Google::Cloud::Speech::V1p1beta1::RecognizeRequest.new # (request fi
37
37
  response = client.recognize request
38
38
  ```
39
39
 
40
- View the [Client Library Documentation](https://googleapis.dev/ruby/google-cloud-speech-v1p1beta1/latest)
40
+ View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-speech-v1p1beta1/latest)
41
41
  for class and method documentation.
42
42
 
43
43
  See also the [Product Documentation](https://cloud.google.com/speech-to-text)
@@ -172,14 +172,14 @@ module Google
172
172
  # Speech-to-Text supports three locations: `global`, `us` (US North America),
173
173
  # and `eu` (Europe). If you are calling the `speech.googleapis.com`
174
174
  # endpoint, use the `global` location. To specify a region, use a
175
- # [regional endpoint](/speech-to-text/docs/endpoints) with matching `us` or
176
- # `eu` location value.
175
+ # [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints)
176
+ # with matching `us` or `eu` location value.
177
177
  # @param phrase_set_id [::String]
178
178
  # Required. The ID to use for the phrase set, which will become the final
179
179
  # component of the phrase set's resource name.
180
180
  #
181
- # This value should be 4-63 characters, and valid characters
182
- # are /[a-z][0-9]-/.
181
+ # This value should restrict to letters, numbers, and hyphens, with the first
182
+ # character a letter, the last a letter or a number, and be 4-63 characters.
183
183
  # @param phrase_set [::Google::Cloud::Speech::V1p1beta1::PhraseSet, ::Hash]
184
184
  # Required. The phrase set to create.
185
185
  #
@@ -273,8 +273,8 @@ module Google
273
273
  # Speech-to-Text supports three locations: `global`, `us` (US North America),
274
274
  # and `eu` (Europe). If you are calling the `speech.googleapis.com`
275
275
  # endpoint, use the `global` location. To specify a region, use a
276
- # [regional endpoint](/speech-to-text/docs/endpoints) with matching `us` or
277
- # `eu` location value.
276
+ # [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints)
277
+ # with matching `us` or `eu` location value.
278
278
  #
279
279
  # @yield [response, operation] Access the result along with the RPC operation
280
280
  # @yieldparam response [::Google::Cloud::Speech::V1p1beta1::PhraseSet]
@@ -366,8 +366,8 @@ module Google
366
366
  # Speech-to-Text supports three locations: `global`, `us` (US North America),
367
367
  # and `eu` (Europe). If you are calling the `speech.googleapis.com`
368
368
  # endpoint, use the `global` location. To specify a region, use a
369
- # [regional endpoint](/speech-to-text/docs/endpoints) with matching `us` or
370
- # `eu` location value.
369
+ # [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints)
370
+ # with matching `us` or `eu` location value.
371
371
  # @param page_size [::Integer]
372
372
  # The maximum number of phrase sets to return. The service may return
373
373
  # fewer than this value. If unspecified, at most 50 phrase sets will be
@@ -480,8 +480,8 @@ module Google
480
480
  # Speech-to-Text supports three locations: `global`, `us` (US North America),
481
481
  # and `eu` (Europe). If you are calling the `speech.googleapis.com`
482
482
  # endpoint, use the `global` location. To specify a region, use a
483
- # [regional endpoint](/speech-to-text/docs/endpoints) with matching `us` or
484
- # `eu` location value.
483
+ # [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints)
484
+ # with matching `us` or `eu` location value.
485
485
  # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
486
486
  # The list of fields to be updated.
487
487
  #
@@ -662,14 +662,14 @@ module Google
662
662
  # Speech-to-Text supports three locations: `global`, `us` (US North America),
663
663
  # and `eu` (Europe). If you are calling the `speech.googleapis.com`
664
664
  # endpoint, use the `global` location. To specify a region, use a
665
- # [regional endpoint](/speech-to-text/docs/endpoints) with matching `us` or
666
- # `eu` location value.
665
+ # [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints)
666
+ # with matching `us` or `eu` location value.
667
667
  # @param custom_class_id [::String]
668
668
  # Required. The ID to use for the custom class, which will become the final
669
669
  # component of the custom class' resource name.
670
670
  #
671
- # This value should be 4-63 characters, and valid characters
672
- # are /[a-z][0-9]-/.
671
+ # This value should restrict to letters, numbers, and hyphens, with the first
672
+ # character a letter, the last a letter or a number, and be 4-63 characters.
673
673
  # @param custom_class [::Google::Cloud::Speech::V1p1beta1::CustomClass, ::Hash]
674
674
  # Required. The custom class to create.
675
675
  #
@@ -850,8 +850,8 @@ module Google
850
850
  # Speech-to-Text supports three locations: `global`, `us` (US North America),
851
851
  # and `eu` (Europe). If you are calling the `speech.googleapis.com`
852
852
  # endpoint, use the `global` location. To specify a region, use a
853
- # [regional endpoint](/speech-to-text/docs/endpoints) with matching `us` or
854
- # `eu` location value.
853
+ # [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints)
854
+ # with matching `us` or `eu` location value.
855
855
  # @param page_size [::Integer]
856
856
  # The maximum number of custom classes to return. The service may return
857
857
  # fewer than this value. If unspecified, at most 50 custom classes will be
@@ -964,8 +964,8 @@ module Google
964
964
  # Speech-to-Text supports three locations: `global`, `us` (US North America),
965
965
  # and `eu` (Europe). If you are calling the `speech.googleapis.com`
966
966
  # endpoint, use the `global` location. To specify a region, use a
967
- # [regional endpoint](/speech-to-text/docs/endpoints) with matching `us` or
968
- # `eu` location value.
967
+ # [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints)
968
+ # with matching `us` or `eu` location value.
969
969
  # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
970
970
  # The list of fields to be updated.
971
971
  #
@@ -1059,8 +1059,8 @@ module Google
1059
1059
  # Speech-to-Text supports three locations: `global`, `us` (US North America),
1060
1060
  # and `eu` (Europe). If you are calling the `speech.googleapis.com`
1061
1061
  # endpoint, use the `global` location. To specify a region, use a
1062
- # [regional endpoint](/speech-to-text/docs/endpoints) with matching `us` or
1063
- # `eu` location value.
1062
+ # [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints)
1063
+ # with matching `us` or `eu` location value.
1064
1064
  #
1065
1065
  # @yield [response, operation] Access the result along with the RPC operation
1066
1066
  # @yieldparam response [::Google::Protobuf::Empty]
@@ -1,6 +1,8 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/speech/v1p1beta1/cloud_speech_adaptation.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/annotations_pb'
5
7
  require 'google/api/client_pb'
6
8
  require 'google/api/field_behavior_pb'
@@ -8,7 +10,6 @@ require 'google/api/resource_pb'
8
10
  require 'google/cloud/speech/v1p1beta1/resource_pb'
9
11
  require 'google/protobuf/empty_pb'
10
12
  require 'google/protobuf/field_mask_pb'
11
- require 'google/protobuf'
12
13
 
13
14
  Google::Protobuf::DescriptorPool.generated_pool.build do
14
15
  add_file("google/cloud/speech/v1p1beta1/cloud_speech_adaptation.proto", :syntax => :proto3) do
@@ -1,17 +1,17 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/speech/v1p1beta1/cloud_speech.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/annotations_pb'
5
7
  require 'google/api/client_pb'
6
8
  require 'google/api/field_behavior_pb'
7
9
  require 'google/cloud/speech/v1p1beta1/resource_pb'
8
10
  require 'google/longrunning/operations_pb'
9
- require 'google/protobuf/any_pb'
10
11
  require 'google/protobuf/duration_pb'
11
12
  require 'google/protobuf/timestamp_pb'
12
13
  require 'google/protobuf/wrappers_pb'
13
14
  require 'google/rpc/status_pb'
14
- require 'google/protobuf'
15
15
 
16
16
  Google::Protobuf::DescriptorPool.generated_pool.build do
17
17
  add_file("google/cloud/speech/v1p1beta1/cloud_speech.proto", :syntax => :proto3) do
@@ -1,11 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/speech/v1p1beta1/resource.proto
3
3
 
4
- require 'google/api/resource_pb'
5
- require 'google/protobuf/timestamp_pb'
6
- require 'google/api/annotations_pb'
7
4
  require 'google/protobuf'
8
5
 
6
+ require 'google/api/resource_pb'
7
+
9
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
10
9
  add_file("google/cloud/speech/v1p1beta1/resource.proto", :syntax => :proto3) do
11
10
  add_message "google.cloud.speech.v1p1beta1.CustomClass" do
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Speech
23
23
  module V1p1beta1
24
- VERSION = "0.12.1"
24
+ VERSION = "0.12.4"
25
25
  end
26
26
  end
27
27
  end
@@ -26,6 +26,8 @@ module Google
26
26
  ##
27
27
  # To load this package, including all its services, and instantiate a client:
28
28
  #
29
+ # @example
30
+ #
29
31
  # require "google/cloud/speech/v1p1beta1"
30
32
  # client = ::Google::Cloud::Speech::V1p1beta1::Speech::Client.new
31
33
  #
@@ -287,6 +287,15 @@ module Google
287
287
  # <td><b>Description</b></td>
288
288
  # </tr>
289
289
  # <tr>
290
+ # <td><code>latest_long</code></td>
291
+ # <td>Best for long form content like media or conversation.</td>
292
+ # </tr>
293
+ # <tr>
294
+ # <td><code>latest_short</code></td>
295
+ # <td>Best for short form content like commands or single shot directed
296
+ # speech.</td>
297
+ # </tr>
298
+ # <tr>
290
299
  # <td><code>command_and_search</code></td>
291
300
  # <td>Best for short queries such as voice commands or voice search.</td>
292
301
  # </tr>
@@ -308,6 +317,16 @@ module Google
308
317
  # For example, long-form audio. Ideally the audio is high-fidelity,
309
318
  # recorded at a 16khz or greater sampling rate.</td>
310
319
  # </tr>
320
+ # <tr>
321
+ # <td><code>medical_conversation</code></td>
322
+ # <td>Best for audio that originated from a conversation between a
323
+ # medical provider and patient.</td>
324
+ # </tr>
325
+ # <tr>
326
+ # <td><code>medical_dictation</code></td>
327
+ # <td>Best for audio that originated from dictation notes by a medical
328
+ # provider.</td>
329
+ # </tr>
311
330
  # </table>
312
331
  # @!attribute [rw] use_enhanced
313
332
  # @return [::Boolean]
@@ -835,6 +854,9 @@ module Google
835
854
  # @!attribute [rw] transcript
836
855
  # @return [::String]
837
856
  # Transcript text representing the words that the user spoke.
857
+ # In languages that use spaces to separate words, the transcript might have a
858
+ # leading space if it isn't the first result. You can concatenate each result
859
+ # to obtain the full transcript without using a separator.
838
860
  # @!attribute [rw] confidence
839
861
  # @return [::Float]
840
862
  # The confidence estimate between 0.0 and 1.0. A higher number
@@ -31,15 +31,15 @@ module Google
31
31
  # Speech-to-Text supports three locations: `global`, `us` (US North America),
32
32
  # and `eu` (Europe). If you are calling the `speech.googleapis.com`
33
33
  # endpoint, use the `global` location. To specify a region, use a
34
- # [regional endpoint](/speech-to-text/docs/endpoints) with matching `us` or
35
- # `eu` location value.
34
+ # [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints)
35
+ # with matching `us` or `eu` location value.
36
36
  # @!attribute [rw] phrase_set_id
37
37
  # @return [::String]
38
38
  # Required. The ID to use for the phrase set, which will become the final
39
39
  # component of the phrase set's resource name.
40
40
  #
41
- # This value should be 4-63 characters, and valid characters
42
- # are /[a-z][0-9]-/.
41
+ # This value should restrict to letters, numbers, and hyphens, with the first
42
+ # character a letter, the last a letter or a number, and be 4-63 characters.
43
43
  # @!attribute [rw] phrase_set
44
44
  # @return [::Google::Cloud::Speech::V1p1beta1::PhraseSet]
45
45
  # Required. The phrase set to create.
@@ -61,8 +61,8 @@ module Google
61
61
  # Speech-to-Text supports three locations: `global`, `us` (US North America),
62
62
  # and `eu` (Europe). If you are calling the `speech.googleapis.com`
63
63
  # endpoint, use the `global` location. To specify a region, use a
64
- # [regional endpoint](/speech-to-text/docs/endpoints) with matching `us` or
65
- # `eu` location value.
64
+ # [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints)
65
+ # with matching `us` or `eu` location value.
66
66
  # @!attribute [rw] update_mask
67
67
  # @return [::Google::Protobuf::FieldMask]
68
68
  # The list of fields to be updated.
@@ -81,8 +81,8 @@ module Google
81
81
  # Speech-to-Text supports three locations: `global`, `us` (US North America),
82
82
  # and `eu` (Europe). If you are calling the `speech.googleapis.com`
83
83
  # endpoint, use the `global` location. To specify a region, use a
84
- # [regional endpoint](/speech-to-text/docs/endpoints) with matching `us` or
85
- # `eu` location value.
84
+ # [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints)
85
+ # with matching `us` or `eu` location value.
86
86
  class GetPhraseSetRequest
87
87
  include ::Google::Protobuf::MessageExts
88
88
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -98,8 +98,8 @@ module Google
98
98
  # Speech-to-Text supports three locations: `global`, `us` (US North America),
99
99
  # and `eu` (Europe). If you are calling the `speech.googleapis.com`
100
100
  # endpoint, use the `global` location. To specify a region, use a
101
- # [regional endpoint](/speech-to-text/docs/endpoints) with matching `us` or
102
- # `eu` location value.
101
+ # [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints)
102
+ # with matching `us` or `eu` location value.
103
103
  # @!attribute [rw] page_size
104
104
  # @return [::Integer]
105
105
  # The maximum number of phrase sets to return. The service may return
@@ -152,15 +152,15 @@ module Google
152
152
  # Speech-to-Text supports three locations: `global`, `us` (US North America),
153
153
  # and `eu` (Europe). If you are calling the `speech.googleapis.com`
154
154
  # endpoint, use the `global` location. To specify a region, use a
155
- # [regional endpoint](/speech-to-text/docs/endpoints) with matching `us` or
156
- # `eu` location value.
155
+ # [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints)
156
+ # with matching `us` or `eu` location value.
157
157
  # @!attribute [rw] custom_class_id
158
158
  # @return [::String]
159
159
  # Required. The ID to use for the custom class, which will become the final
160
160
  # component of the custom class' resource name.
161
161
  #
162
- # This value should be 4-63 characters, and valid characters
163
- # are /[a-z][0-9]-/.
162
+ # This value should restrict to letters, numbers, and hyphens, with the first
163
+ # character a letter, the last a letter or a number, and be 4-63 characters.
164
164
  # @!attribute [rw] custom_class
165
165
  # @return [::Google::Cloud::Speech::V1p1beta1::CustomClass]
166
166
  # Required. The custom class to create.
@@ -182,8 +182,8 @@ module Google
182
182
  # Speech-to-Text supports three locations: `global`, `us` (US North America),
183
183
  # and `eu` (Europe). If you are calling the `speech.googleapis.com`
184
184
  # endpoint, use the `global` location. To specify a region, use a
185
- # [regional endpoint](/speech-to-text/docs/endpoints) with matching `us` or
186
- # `eu` location value.
185
+ # [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints)
186
+ # with matching `us` or `eu` location value.
187
187
  # @!attribute [rw] update_mask
188
188
  # @return [::Google::Protobuf::FieldMask]
189
189
  # The list of fields to be updated.
@@ -213,8 +213,8 @@ module Google
213
213
  # Speech-to-Text supports three locations: `global`, `us` (US North America),
214
214
  # and `eu` (Europe). If you are calling the `speech.googleapis.com`
215
215
  # endpoint, use the `global` location. To specify a region, use a
216
- # [regional endpoint](/speech-to-text/docs/endpoints) with matching `us` or
217
- # `eu` location value.
216
+ # [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints)
217
+ # with matching `us` or `eu` location value.
218
218
  # @!attribute [rw] page_size
219
219
  # @return [::Integer]
220
220
  # The maximum number of custom classes to return. The service may return
@@ -256,8 +256,8 @@ module Google
256
256
  # Speech-to-Text supports three locations: `global`, `us` (US North America),
257
257
  # and `eu` (Europe). If you are calling the `speech.googleapis.com`
258
258
  # endpoint, use the `global` location. To specify a region, use a
259
- # [regional endpoint](/speech-to-text/docs/endpoints) with matching `us` or
260
- # `eu` location value.
259
+ # [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints)
260
+ # with matching `us` or `eu` location value.
261
261
  class DeleteCustomClassRequest
262
262
  include ::Google::Protobuf::MessageExts
263
263
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -44,7 +44,7 @@ module Google
44
44
  # foo = any.unpack(Foo.class);
45
45
  # }
46
46
  #
47
- # Example 3: Pack and unpack a message in Python.
47
+ # Example 3: Pack and unpack a message in Python.
48
48
  #
49
49
  # foo = Foo(...)
50
50
  # any = Any()
@@ -54,7 +54,7 @@ module Google
54
54
  # any.Unpack(foo)
55
55
  # ...
56
56
  #
57
- # Example 4: Pack and unpack a message in Go
57
+ # Example 4: Pack and unpack a message in Go
58
58
  #
59
59
  # foo := &pb.Foo{...}
60
60
  # any, err := anypb.New(foo)
@@ -75,7 +75,7 @@ module Google
75
75
  #
76
76
  #
77
77
  # JSON
78
- # ====
78
+ #
79
79
  # The JSON representation of an `Any` value uses the regular
80
80
  # representation of the deserialized, embedded message, with an
81
81
  # additional field `@type` which contains the type URL. Example:
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-speech-v1p1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.1
4
+ version: 0.12.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-11 00:00:00.000000000 Z
11
+ date: 2022-05-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -223,7 +223,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
223
223
  - !ruby/object:Gem::Version
224
224
  version: '0'
225
225
  requirements: []
226
- rubygems_version: 3.3.4
226
+ rubygems_version: 3.3.5
227
227
  signing_key:
228
228
  specification_version: 4
229
229
  summary: API Client library for the Cloud Speech-to-Text V1p1beta1 API