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: 7c2a6bd100efc647c164e8d3c65c4c2d12382cf20823b20e2c4145f73fb61cac
4
- data.tar.gz: a1e5bee6d6f713906789d08484ba1c40e7b26a15c985e0b6a0c37d3b4e8ae5d5
3
+ metadata.gz: 9f34bbd5cc638451622b90e949e66c4608687323445ffac6584d186b140042b4
4
+ data.tar.gz: 553f499e70e220a5d5f702ab68742e22e82e1cbaf9d00724e50e08abccbfc545
5
5
  SHA512:
6
- metadata.gz: 5fc654dc1fe5810a3e94d5d4aa3003296f5ef3dac79bb9d452963d84c1847491d48e5e3e2addcbffc41d8c61a273fe3307d9c2f0e3d32acd98c30b9fa7c3ef7d
7
- data.tar.gz: a072a7b8d5320aced45f6ef07fb12ec2dda9b2a451f248f38e533f837e8b22c201ed6a04f4d14d7d2b2235d3723b21a1dda1aa391aae23895eacd3a4d3192898
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 == Client.configure.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
- config_attr :endpoint, "mediatranslation.googleapis.com", ::String
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
  #
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module MediaTranslation
23
23
  module V1beta1
24
- VERSION = "0.6.0"
24
+ VERSION = "0.7.0"
25
25
  end
26
26
  end
27
27
  end
@@ -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.6.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-05-31 00:00:00.000000000 Z
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.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.19.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.2
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