google-cloud-media_translation-v1beta1 0.6.0 → 0.7.0
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: 9f34bbd5cc638451622b90e949e66c4608687323445ffac6584d186b140042b4
|
4
|
+
data.tar.gz: 553f499e70e220a5d5f702ab68742e22e82e1cbaf9d00724e50e08abccbfc545
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d140f94c5be0b54e30716c27a1e23a372fb7338d5512f32e0783c5ea290dd85a0e8fc554cb8b5413e375493dfd7f26dc5da18d9ef7d9216a0210bf66838bd939
|
7
|
+
data.tar.gz: 38ce1fcb0fa7797e40a528e9d9863220c2097d0643b0eed5bc11ccdaae6f96a3acd3aa90b449ed63639de5498288b8685817bc2de3be53b1f24849d59a1201cc
|
@@ -128,7 +128,7 @@ module Google
|
|
128
128
|
credentials = @config.credentials
|
129
129
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
130
130
|
# but only if the default endpoint does not have a region prefix.
|
131
|
-
enable_self_signed_jwt = @config.endpoint ==
|
131
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
132
132
|
!@config.endpoint.split(".").first.include?("-")
|
133
133
|
credentials ||= Credentials.default scope: @config.scope,
|
134
134
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -143,7 +143,8 @@ module Google
|
|
143
143
|
credentials: credentials,
|
144
144
|
endpoint: @config.endpoint,
|
145
145
|
channel_args: @config.channel_args,
|
146
|
-
interceptors: @config.interceptors
|
146
|
+
interceptors: @config.interceptors,
|
147
|
+
channel_pool_config: @config.channel_pool
|
147
148
|
)
|
148
149
|
end
|
149
150
|
|
@@ -310,7 +311,9 @@ module Google
|
|
310
311
|
class Configuration
|
311
312
|
extend ::Gapic::Config
|
312
313
|
|
313
|
-
|
314
|
+
DEFAULT_ENDPOINT = "mediatranslation.googleapis.com"
|
315
|
+
|
316
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
314
317
|
config_attr :credentials, nil do |value|
|
315
318
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
316
319
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
@@ -345,6 +348,14 @@ module Google
|
|
345
348
|
end
|
346
349
|
end
|
347
350
|
|
351
|
+
##
|
352
|
+
# Configuration for the channel pool
|
353
|
+
# @return [::Gapic::ServiceStub::ChannelPool::Configuration]
|
354
|
+
#
|
355
|
+
def channel_pool
|
356
|
+
@channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
|
357
|
+
end
|
358
|
+
|
348
359
|
##
|
349
360
|
# Configuration RPC class for the SpeechTranslationService API.
|
350
361
|
#
|
@@ -66,6 +66,20 @@ module Google
|
|
66
66
|
# a non-empty value will be returned. The user will not be aware of what
|
67
67
|
# non-empty value to expect.
|
68
68
|
NON_EMPTY_DEFAULT = 7
|
69
|
+
|
70
|
+
# Denotes that the field in a resource (a message annotated with
|
71
|
+
# google.api.resource) is used in the resource name to uniquely identify the
|
72
|
+
# resource. For AIP-compliant APIs, this should only be applied to the
|
73
|
+
# `name` field on the resource.
|
74
|
+
#
|
75
|
+
# This behavior should not be applied to references to other resources within
|
76
|
+
# the message.
|
77
|
+
#
|
78
|
+
# The identifier field of resources often have different field behavior
|
79
|
+
# depending on the request it is embedded in (e.g. for Create methods name
|
80
|
+
# is optional and unused, while for Update methods it is required). Instead
|
81
|
+
# of method-specific annotations, only `IDENTIFIER` is required.
|
82
|
+
IDENTIFIER = 8
|
69
83
|
end
|
70
84
|
end
|
71
85
|
end
|
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.
|
4
|
+
version: 0.7.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: 2023-
|
11
|
+
date: 2023-09-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.20.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.20.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -210,7 +210,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
210
210
|
- !ruby/object:Gem::Version
|
211
211
|
version: '0'
|
212
212
|
requirements: []
|
213
|
-
rubygems_version: 3.4.
|
213
|
+
rubygems_version: 3.4.19
|
214
214
|
signing_key:
|
215
215
|
specification_version: 4
|
216
216
|
summary: API Client library for the Media Translation V1beta1 API
|