google-cloud-media_translation-v1beta1 0.8.1 → 0.8.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 325e6eb68609b67c860a022a4d0ec524f33566794b188fcf6e38b517e1c680d6
|
4
|
+
data.tar.gz: e99329240edd7de1d90180efe04ab7fcc747f63ee45560f688f124121e3bf79b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 80bad785200b82a7a05f725aa0a9ea027e2563ce8c9a776a3b0c19c55fb1449fdf974e3b1dd0404f90019879b565e8fb3371b0281a82412bebca050ad648356e
|
7
|
+
data.tar.gz: 55f164fa2729dde87a92ca81e6f118a735c859425c4e1329f9423a3e7aa527fe99d81abea1bc59184b6c1b425ac073bb95cc503d8ce1ee30e85f02751542c1d4
|
@@ -9,13 +9,13 @@ require 'google/rpc/status_pb'
|
|
9
9
|
require 'google/api/client_pb'
|
10
10
|
|
11
11
|
|
12
|
-
descriptor_data = "\n=google/cloud/mediatranslation/v1beta1/media_translation.proto\x12%google.cloud.mediatranslation.v1beta1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x17google/rpc/status.proto\x1a\x17google/api/client.proto\"\
|
12
|
+
descriptor_data = "\n=google/cloud/mediatranslation/v1beta1/media_translation.proto\x12%google.cloud.mediatranslation.v1beta1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x17google/rpc/status.proto\x1a\x17google/api/client.proto\"\xb3\x01\n\x15TranslateSpeechConfig\x12\x1c\n\x0e\x61udio_encoding\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\"\n\x14source_language_code\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12\"\n\x14target_language_code\x18\x03 \x01(\tB\x04\xe2\x41\x01\x02\x12\x1f\n\x11sample_rate_hertz\x18\x04 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x13\n\x05model\x18\x05 \x01(\tB\x04\xe2\x41\x01\x01\"\x9a\x01\n\x1eStreamingTranslateSpeechConfig\x12X\n\x0c\x61udio_config\x18\x01 \x01(\x0b\x32<.google.cloud.mediatranslation.v1beta1.TranslateSpeechConfigB\x04\xe2\x41\x01\x02\x12\x1e\n\x10single_utterance\x18\x02 \x01(\x08\x42\x04\xe2\x41\x01\x01\"\xb2\x01\n\x1fStreamingTranslateSpeechRequest\x12\x61\n\x10streaming_config\x18\x01 \x01(\x0b\x32\x45.google.cloud.mediatranslation.v1beta1.StreamingTranslateSpeechConfigH\x00\x12\x17\n\raudio_content\x18\x02 \x01(\x0cH\x00\x42\x13\n\x11streaming_request\"\xf6\x01\n\x1eStreamingTranslateSpeechResult\x12~\n\x17text_translation_result\x18\x01 \x01(\x0b\x32[.google.cloud.mediatranslation.v1beta1.StreamingTranslateSpeechResult.TextTranslationResultH\x00\x1aJ\n\x15TextTranslationResult\x12\x19\n\x0btranslation\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12\x16\n\x08is_final\x18\x02 \x01(\x08\x42\x04\xe2\x41\x01\x03\x42\x08\n\x06result\"\xf5\x02\n StreamingTranslateSpeechResponse\x12\'\n\x05\x65rror\x18\x01 \x01(\x0b\x32\x12.google.rpc.StatusB\x04\xe2\x41\x01\x03\x12[\n\x06result\x18\x02 \x01(\x0b\x32\x45.google.cloud.mediatranslation.v1beta1.StreamingTranslateSpeechResultB\x04\xe2\x41\x01\x03\x12x\n\x11speech_event_type\x18\x03 \x01(\x0e\x32W.google.cloud.mediatranslation.v1beta1.StreamingTranslateSpeechResponse.SpeechEventTypeB\x04\xe2\x41\x01\x03\"Q\n\x0fSpeechEventType\x12!\n\x1dSPEECH_EVENT_TYPE_UNSPECIFIED\x10\x00\x12\x1b\n\x17\x45ND_OF_SINGLE_UTTERANCE\x10\x01\x32\xa3\x02\n\x18SpeechTranslationService\x12\xb1\x01\n\x18StreamingTranslateSpeech\x12\x46.google.cloud.mediatranslation.v1beta1.StreamingTranslateSpeechRequest\x1aG.google.cloud.mediatranslation.v1beta1.StreamingTranslateSpeechResponse\"\x00(\x01\x30\x01\x1aS\xca\x41\x1fmediatranslation.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x99\x02\n)com.google.cloud.mediatranslation.v1beta1B\x15MediaTranslationProtoP\x01ZUcloud.google.com/go/mediatranslation/apiv1beta1/mediatranslationpb;mediatranslationpb\xf8\x01\x01\xaa\x02%Google.Cloud.MediaTranslation.V1Beta1\xca\x02%Google\\Cloud\\MediaTranslation\\V1beta1\xea\x02(Google::Cloud::MediaTranslation::V1beta1b\x06proto3"
|
13
13
|
|
14
14
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
15
15
|
|
16
16
|
begin
|
17
17
|
pool.add_serialized_file(descriptor_data)
|
18
|
-
rescue TypeError
|
18
|
+
rescue TypeError
|
19
19
|
# Compatibility code: will be removed in the next major version.
|
20
20
|
require 'google/protobuf/descriptor_pb'
|
21
21
|
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
@@ -129,7 +129,8 @@ module Google
|
|
129
129
|
#
|
130
130
|
# Note: this functionality is not currently available in the official
|
131
131
|
# protobuf release, and it is not used for type URLs beginning with
|
132
|
-
# type.googleapis.com.
|
132
|
+
# type.googleapis.com. As of May 2023, there are no widely used type server
|
133
|
+
# implementations and no plans to implement one.
|
133
134
|
#
|
134
135
|
# Schemes other than `http`, `https` (or the empty scheme) might be
|
135
136
|
# used with implementation specific semantics.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-media_translation-v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-01
|
11
|
+
date: 2024-02-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|