google-cloud-translate-v3 1.4.0 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b9ad858f136353af7439d0ac27266a05e039268470c72699aae3499c09869fb2
4
- data.tar.gz: ea21cb978196136f1e9541d39ab0384f17036af54a107aa6d8ab75e1440bc396
3
+ metadata.gz: e82d28e077c61b815ac0e362a689c0a92e6fe171fcfff408b597684e1d4a06f7
4
+ data.tar.gz: 6ce0f4a53170d2d846a9e3c3cd6fff3b4c29fec8d92e2a3b0585eaacafa468a0
5
5
  SHA512:
6
- metadata.gz: 86bc88c3e3723ff6b1c30cccb0e45e4ed23db786276b02bb74f9b26abc653b0c254d2a77d1be236f5046100c96e40fbf96619ef9a5a8cf2257505f8d4f3fc118
7
- data.tar.gz: 92c238711337d5abd9eca186fc7d969ac437d277d9af3c681190de97024293085e611847a98b3f2d6fff4230ff638841c10c4d3b7dd224d17616984ec0905af5
6
+ metadata.gz: bd309afd43d1b3009c48db7932e438044d00236261430531be051f571a6835503aaacad2cac33ed2bf2a2563df710e2fbd9f4d04a399bd70ef96bffbbfaf0a5f
7
+ data.tar.gz: dd7e28339ac46e9e07cae30c7bec5acd20844025573f3cc93264ae671c745e74ebb9f767e07ba9193355d5fbc2e7fc087a062eec35841075e8fe80d983d0f295
@@ -4241,8 +4241,8 @@ module Google
4241
4241
 
4242
4242
  config_attr :endpoint, nil, ::String, nil
4243
4243
  config_attr :credentials, nil do |value|
4244
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
4245
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
4244
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
4245
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
4246
4246
  allowed.any? { |klass| klass === value }
4247
4247
  end
4248
4248
  config_attr :scope, nil, ::String, ::Array, nil
@@ -709,8 +709,8 @@ module Google
709
709
 
710
710
  config_attr :endpoint, nil, ::String, nil
711
711
  config_attr :credentials, nil do |value|
712
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
713
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
712
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
713
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
714
714
  allowed.any? { |klass| klass === value }
715
715
  end
716
716
  config_attr :scope, nil, ::String, ::Array, nil
@@ -3960,7 +3960,7 @@ module Google
3960
3960
 
3961
3961
  config_attr :endpoint, nil, ::String, nil
3962
3962
  config_attr :credentials, nil do |value|
3963
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
3963
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
3964
3964
  allowed.any? { |klass| klass === value }
3965
3965
  end
3966
3966
  config_attr :scope, nil, ::String, ::Array, nil
@@ -655,7 +655,7 @@ module Google
655
655
 
656
656
  config_attr :endpoint, nil, ::String, nil
657
657
  config_attr :credentials, nil do |value|
658
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
658
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
659
659
  allowed.any? { |klass| klass === value }
660
660
  end
661
661
  config_attr :scope, nil, ::String, ::Array, nil
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Translate
23
23
  module V3
24
- VERSION = "1.4.0"
24
+ VERSION = "1.5.0"
25
25
  end
26
26
  end
27
27
  end
@@ -221,6 +221,12 @@ module Google
221
221
  # Pythonic which are included in `protobuf>=5.29.x`. This feature will be
222
222
  # enabled by default 1 month after launching the feature in preview
223
223
  # packages.
224
+ # @!attribute [rw] unversioned_package_disabled
225
+ # @return [::Boolean]
226
+ # Disables generation of an unversioned Python package for this client
227
+ # library. This means that the module names will need to be versioned in
228
+ # import statements. For example `import google.cloud.library_v2` instead
229
+ # of `import google.cloud.library`.
224
230
  class ExperimentalFeatures
225
231
  include ::Google::Protobuf::MessageExts
226
232
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -409,6 +415,14 @@ module Google
409
415
  # @return [::Array<::String>]
410
416
  # An allowlist of the fully qualified names of RPCs that should be included
411
417
  # on public client surfaces.
418
+ # @!attribute [rw] generate_omitted_as_internal
419
+ # @return [::Boolean]
420
+ # Setting this to true indicates to the client generators that methods
421
+ # that would be excluded from the generation should instead be generated
422
+ # in a way that indicates these methods should not be consumed by
423
+ # end users. How this is expressed is up to individual language
424
+ # implementations to decide. Some examples may be: added annotations,
425
+ # obfuscated identifiers, or other language idiomatic patterns.
412
426
  class SelectiveGapicGeneration
413
427
  include ::Google::Protobuf::MessageExts
414
428
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,34 +1,28 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-translate-v3
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-01-29 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: gapic-common
14
14
  requirement: !ruby/object:Gem::Requirement
15
15
  requirements:
16
- - - ">="
17
- - !ruby/object:Gem::Version
18
- version: 0.25.0
19
- - - "<"
16
+ - - "~>"
20
17
  - !ruby/object:Gem::Version
21
- version: 2.a
18
+ version: '1.0'
22
19
  type: :runtime
23
20
  prerelease: false
24
21
  version_requirements: !ruby/object:Gem::Requirement
25
22
  requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- version: 0.25.0
29
- - - "<"
23
+ - - "~>"
30
24
  - !ruby/object:Gem::Version
31
- version: 2.a
25
+ version: '1.0'
32
26
  - !ruby/object:Gem::Dependency
33
27
  name: google-cloud-errors
34
28
  requirement: !ruby/object:Gem::Requirement
@@ -47,42 +41,30 @@ dependencies:
47
41
  name: google-cloud-location
48
42
  requirement: !ruby/object:Gem::Requirement
49
43
  requirements:
50
- - - ">="
51
- - !ruby/object:Gem::Version
52
- version: '0.7'
53
- - - "<"
44
+ - - "~>"
54
45
  - !ruby/object:Gem::Version
55
- version: 2.a
46
+ version: '1.0'
56
47
  type: :runtime
57
48
  prerelease: false
58
49
  version_requirements: !ruby/object:Gem::Requirement
59
50
  requirements:
60
- - - ">="
61
- - !ruby/object:Gem::Version
62
- version: '0.7'
63
- - - "<"
51
+ - - "~>"
64
52
  - !ruby/object:Gem::Version
65
- version: 2.a
53
+ version: '1.0'
66
54
  - !ruby/object:Gem::Dependency
67
55
  name: google-iam-v1
68
56
  requirement: !ruby/object:Gem::Requirement
69
57
  requirements:
70
- - - ">="
71
- - !ruby/object:Gem::Version
72
- version: '0.7'
73
- - - "<"
58
+ - - "~>"
74
59
  - !ruby/object:Gem::Version
75
- version: 2.a
60
+ version: '1.3'
76
61
  type: :runtime
77
62
  prerelease: false
78
63
  version_requirements: !ruby/object:Gem::Requirement
79
64
  requirements:
80
- - - ">="
81
- - !ruby/object:Gem::Version
82
- version: '0.7'
83
- - - "<"
65
+ - - "~>"
84
66
  - !ruby/object:Gem::Version
85
- version: 2.a
67
+ version: '1.3'
86
68
  description: Cloud Translation can dynamically translate text between thousands of
87
69
  language pairs. Translation lets websites and programs programmatically integrate
88
70
  with the translation service. Note that google-cloud-translate-v3 is a version-specific
@@ -143,14 +125,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
143
125
  requirements:
144
126
  - - ">="
145
127
  - !ruby/object:Gem::Version
146
- version: '3.0'
128
+ version: '3.1'
147
129
  required_rubygems_version: !ruby/object:Gem::Requirement
148
130
  requirements:
149
131
  - - ">="
150
132
  - !ruby/object:Gem::Version
151
133
  version: '0'
152
134
  requirements: []
153
- rubygems_version: 3.6.2
135
+ rubygems_version: 3.6.8
154
136
  specification_version: 4
155
137
  summary: Integrates text translation into your website or application.
156
138
  test_files: []