google-cloud-translate-v3 1.4.0 → 1.4.1
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 +4 -4
- data/lib/google/cloud/translate/v3/translation_service/client.rb +2 -2
- data/lib/google/cloud/translate/v3/translation_service/operations.rb +2 -2
- data/lib/google/cloud/translate/v3/translation_service/rest/client.rb +1 -1
- data/lib/google/cloud/translate/v3/translation_service/rest/operations.rb +1 -1
- data/lib/google/cloud/translate/v3/version.rb +1 -1
- data/proto_docs/google/api/client.rb +14 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8bc64855068aafa4ab78db22d11b0b7093248362cb5e0c54ba7f749ba3856f03
|
4
|
+
data.tar.gz: 22c5d5adf99305ae608babb3d60cd3cc891d842b8b46b8c7d1fcdba49d76b135
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 53637d27d2df2e4d94df6bd2e63e9dd9f860397b14c0cbb297095714870f9efaf4677664fede49bda817e933263bdfbdce1e5f72346df19de235d6745b868d44
|
7
|
+
data.tar.gz: 16c964c3f0763e5e8e359d2fe334e8f0437058329fab56f86890793b4d23d71f1bf32e040c2f65e75b05bfa7a372ae9235e179c5edf89cebafe21c8a679fa831
|
@@ -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
|
@@ -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,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-translate-v3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: gapic-common
|
@@ -150,7 +150,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
150
150
|
- !ruby/object:Gem::Version
|
151
151
|
version: '0'
|
152
152
|
requirements: []
|
153
|
-
rubygems_version: 3.6.
|
153
|
+
rubygems_version: 3.6.8
|
154
154
|
specification_version: 4
|
155
155
|
summary: Integrates text translation into your website or application.
|
156
156
|
test_files: []
|