google-cloud-media_translation-v1beta1 0.6.0 → 0.6.1

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: 86bb3b99aa221ec524c25472ee610bc9e745535f32daa81e0a5a378436c2df97
4
+ data.tar.gz: 6a59e01d8bd9c2e46bf534701b33cc1d3a9a94f4841bb6ac4aace960c82207ef
5
5
  SHA512:
6
- metadata.gz: 5fc654dc1fe5810a3e94d5d4aa3003296f5ef3dac79bb9d452963d84c1847491d48e5e3e2addcbffc41d8c61a273fe3307d9c2f0e3d32acd98c30b9fa7c3ef7d
7
- data.tar.gz: a072a7b8d5320aced45f6ef07fb12ec2dda9b2a451f248f38e533f837e8b22c201ed6a04f4d14d7d2b2235d3723b21a1dda1aa391aae23895eacd3a4d3192898
6
+ metadata.gz: 1051118fec03ee3db1643d433e79b3b2ea782e642a74324db3525287f0686183c40eb6a23685cac30aedb04e8a2ab01cbca9905399a9af596862a452be67b303
7
+ data.tar.gz: 5b3fc3e6ca78f2bd4e4c82cf359898f6130e82fb0d1001157f4c47205d5b8e4006253d4704cdb68b74f32110deac25a30ae7a0d6cd310bea5ede114a5ae75a8a
@@ -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
@@ -310,7 +310,9 @@ module Google
310
310
  class Configuration
311
311
  extend ::Gapic::Config
312
312
 
313
- config_attr :endpoint, "mediatranslation.googleapis.com", ::String
313
+ DEFAULT_ENDPOINT = "mediatranslation.googleapis.com"
314
+
315
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
314
316
  config_attr :credentials, nil do |value|
315
317
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
316
318
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -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.6.1"
25
25
  end
26
26
  end
27
27
  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.6.1
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-06-06 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.19.1
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.19.1
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a