google-cloud-speech-v1p1beta1 0.9.2 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/speech/v1p1beta1/adaptation/client.rb +2 -2
- data/lib/google/cloud/speech/v1p1beta1/cloud_speech_pb.rb +3 -0
- data/lib/google/cloud/speech/v1p1beta1/version.rb +1 -1
- data/proto_docs/google/cloud/speech/v1p1beta1/cloud_speech.rb +10 -0
- data/proto_docs/google/cloud/speech/v1p1beta1/cloud_speech_adaptation.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0b0c8424ec1d4fc884eb071411ecfa273cbdb01fe0637d8f215e1bf2bf4459af
|
4
|
+
data.tar.gz: b279dd715988dc71c00443def08ddfd4d3e9c430754448e916c9703751ad3531
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bff979172f1a527f0b9b9420210fefbf49a473642e175e928f45fc18be43718c323e5e447cb51a596873b7a852306c501cdda68f5dd2a72c54aad1b8178dc794
|
7
|
+
data.tar.gz: 1b2acf8a9a19aa9a166b94674df26d624939a6a67e2967b72a6898d7e58a5d773036e60ad892e294c7904dee9b6ebf7db65ebc2aa8557d0a90e721b51091197b
|
@@ -175,7 +175,7 @@ module Google
|
|
175
175
|
# Format:
|
176
176
|
# \\{api_version}/projects/\\{project}/locations/\\{location}/phraseSets
|
177
177
|
# @param phrase_set_id [::String]
|
178
|
-
# The ID to use for the phrase set, which will become the final
|
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
181
|
# This value should be 4-63 characters, and valid characters
|
@@ -539,7 +539,7 @@ module Google
|
|
539
539
|
# Format:
|
540
540
|
# \\{api_version}/projects/\\{project}/locations/\\{location}/customClasses
|
541
541
|
# @param custom_class_id [::String]
|
542
|
-
# The ID to use for the custom class, which will become the final
|
542
|
+
# Required. The ID to use for the custom class, which will become the final
|
543
543
|
# component of the custom class' resource name.
|
544
544
|
#
|
545
545
|
# This value should be 4-63 characters, and valid characters
|
@@ -135,9 +135,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
135
135
|
end
|
136
136
|
add_message "google.cloud.speech.v1p1beta1.RecognizeResponse" do
|
137
137
|
repeated :results, :message, 2, "google.cloud.speech.v1p1beta1.SpeechRecognitionResult"
|
138
|
+
optional :total_billed_time, :message, 3, "google.protobuf.Duration"
|
138
139
|
end
|
139
140
|
add_message "google.cloud.speech.v1p1beta1.LongRunningRecognizeResponse" do
|
140
141
|
repeated :results, :message, 2, "google.cloud.speech.v1p1beta1.SpeechRecognitionResult"
|
142
|
+
optional :total_billed_time, :message, 3, "google.protobuf.Duration"
|
141
143
|
optional :output_config, :message, 6, "google.cloud.speech.v1p1beta1.TranscriptOutputConfig"
|
142
144
|
optional :output_error, :message, 7, "google.rpc.Status"
|
143
145
|
end
|
@@ -152,6 +154,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
152
154
|
optional :error, :message, 1, "google.rpc.Status"
|
153
155
|
repeated :results, :message, 2, "google.cloud.speech.v1p1beta1.StreamingRecognitionResult"
|
154
156
|
optional :speech_event_type, :enum, 4, "google.cloud.speech.v1p1beta1.StreamingRecognizeResponse.SpeechEventType"
|
157
|
+
optional :total_billed_time, :message, 5, "google.protobuf.Duration"
|
155
158
|
end
|
156
159
|
add_enum "google.cloud.speech.v1p1beta1.StreamingRecognizeResponse.SpeechEventType" do
|
157
160
|
value :SPEECH_EVENT_UNSPECIFIED, 0
|
@@ -616,6 +616,9 @@ module Google
|
|
616
616
|
# @return [::Array<::Google::Cloud::Speech::V1p1beta1::SpeechRecognitionResult>]
|
617
617
|
# Sequential list of transcription results corresponding to
|
618
618
|
# sequential portions of audio.
|
619
|
+
# @!attribute [rw] total_billed_time
|
620
|
+
# @return [::Google::Protobuf::Duration]
|
621
|
+
# When available, billed audio seconds for the corresponding request.
|
619
622
|
class RecognizeResponse
|
620
623
|
include ::Google::Protobuf::MessageExts
|
621
624
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -630,6 +633,9 @@ module Google
|
|
630
633
|
# @return [::Array<::Google::Cloud::Speech::V1p1beta1::SpeechRecognitionResult>]
|
631
634
|
# Sequential list of transcription results corresponding to
|
632
635
|
# sequential portions of audio.
|
636
|
+
# @!attribute [rw] total_billed_time
|
637
|
+
# @return [::Google::Protobuf::Duration]
|
638
|
+
# When available, billed audio seconds for the corresponding request.
|
633
639
|
# @!attribute [rw] output_config
|
634
640
|
# @return [::Google::Cloud::Speech::V1p1beta1::TranscriptOutputConfig]
|
635
641
|
# Original output config if present in the request.
|
@@ -728,6 +734,10 @@ module Google
|
|
728
734
|
# @!attribute [rw] speech_event_type
|
729
735
|
# @return [::Google::Cloud::Speech::V1p1beta1::StreamingRecognizeResponse::SpeechEventType]
|
730
736
|
# Indicates the type of speech event.
|
737
|
+
# @!attribute [rw] total_billed_time
|
738
|
+
# @return [::Google::Protobuf::Duration]
|
739
|
+
# When available, billed audio seconds for the stream.
|
740
|
+
# Set only if this is the last response in the stream.
|
731
741
|
class StreamingRecognizeResponse
|
732
742
|
include ::Google::Protobuf::MessageExts
|
733
743
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -29,7 +29,7 @@ module Google
|
|
29
29
|
# \\{api_version}/projects/\\{project}/locations/\\{location}/phraseSets
|
30
30
|
# @!attribute [rw] phrase_set_id
|
31
31
|
# @return [::String]
|
32
|
-
# The ID to use for the phrase set, which will become the final
|
32
|
+
# Required. The ID to use for the phrase set, which will become the final
|
33
33
|
# component of the phrase set's resource name.
|
34
34
|
#
|
35
35
|
# This value should be 4-63 characters, and valid characters
|
@@ -125,7 +125,7 @@ module Google
|
|
125
125
|
# \\{api_version}/projects/\\{project}/locations/\\{location}/customClasses
|
126
126
|
# @!attribute [rw] custom_class_id
|
127
127
|
# @return [::String]
|
128
|
-
# The ID to use for the custom class, which will become the final
|
128
|
+
# Required. The ID to use for the custom class, which will become the final
|
129
129
|
# component of the custom class' resource name.
|
130
130
|
#
|
131
131
|
# This value should be 4-63 characters, and valid characters
|
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.
|
4
|
+
version: 0.10.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: 2021-07-
|
11
|
+
date: 2021-07-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|