google-apis-translate_v3beta1 0.33.0 → 0.34.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6dfc3c2b0b49fa7bbf6da4b1529133a4a548f9ee9c994257a9dc20f227d04f24
|
4
|
+
data.tar.gz: b43a3612147d9e59520b81cd82aa194cbf8ba9bac59b8c33e7713965263f91b4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a8d10dcb0c009d611071ac72f48ae3fedcd105a1d08ff2e511783a6d50aacc63302bfd1bed0d9529dc937721b33a9ab5166c0bd7cf8dad5a976dba8a73d47935
|
7
|
+
data.tar.gz: d97300675867da1e3679ed51c0b88b0f5ac526e45723850d6e2c0cda691dd29c80ec2b25f85eaad941be3da99f0e25454b97100098523dce027f66946a624507
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-translate_v3beta1
|
2
2
|
|
3
|
+
### v0.34.0 (2024-12-22)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20241218
|
6
|
+
* Regenerated using generator version 0.15.1
|
7
|
+
|
3
8
|
### v0.33.0 (2024-05-19)
|
4
9
|
|
5
10
|
* Regenerated using generator version 0.15.0
|
@@ -988,6 +988,7 @@ module Google
|
|
988
988
|
attr_accessor :enable_shadow_removal_native_pdf
|
989
989
|
alias_method :enable_shadow_removal_native_pdf?, :enable_shadow_removal_native_pdf
|
990
990
|
|
991
|
+
# -----------------------------------------------------------------------------
|
991
992
|
# Configures which glossary should be used for a specific target language, and
|
992
993
|
# defines options for applying that glossary.
|
993
994
|
# Corresponds to the JSON property `glossaryConfig`
|
@@ -1066,6 +1067,7 @@ module Google
|
|
1066
1067
|
# @return [Google::Apis::TranslateV3beta1::DocumentTranslation]
|
1067
1068
|
attr_accessor :document_translation
|
1068
1069
|
|
1070
|
+
# -----------------------------------------------------------------------------
|
1069
1071
|
# Configures which glossary should be used for a specific target language, and
|
1070
1072
|
# defines options for applying that glossary.
|
1071
1073
|
# Corresponds to the JSON property `glossaryConfig`
|
@@ -1099,11 +1101,18 @@ module Google
|
|
1099
1101
|
end
|
1100
1102
|
end
|
1101
1103
|
|
1104
|
+
# -----------------------------------------------------------------------------
|
1102
1105
|
# Configures which glossary should be used for a specific target language, and
|
1103
1106
|
# defines options for applying that glossary.
|
1104
1107
|
class TranslateTextGlossaryConfig
|
1105
1108
|
include Google::Apis::Core::Hashable
|
1106
1109
|
|
1110
|
+
# Optional. If set to true, the glossary will be used for contextual translation.
|
1111
|
+
# Corresponds to the JSON property `contextualTranslationEnabled`
|
1112
|
+
# @return [Boolean]
|
1113
|
+
attr_accessor :contextual_translation_enabled
|
1114
|
+
alias_method :contextual_translation_enabled?, :contextual_translation_enabled
|
1115
|
+
|
1107
1116
|
# Required. Specifies the glossary used for this translation. Use this format:
|
1108
1117
|
# projects/*/locations/*/glossaries/*
|
1109
1118
|
# Corresponds to the JSON property `glossary`
|
@@ -1123,6 +1132,7 @@ module Google
|
|
1123
1132
|
|
1124
1133
|
# Update properties of this object
|
1125
1134
|
def update!(**args)
|
1135
|
+
@contextual_translation_enabled = args[:contextual_translation_enabled] if args.key?(:contextual_translation_enabled)
|
1126
1136
|
@glossary = args[:glossary] if args.key?(:glossary)
|
1127
1137
|
@ignore_case = args[:ignore_case] if args.key?(:ignore_case)
|
1128
1138
|
end
|
@@ -1139,6 +1149,7 @@ module Google
|
|
1139
1149
|
# @return [Array<String>]
|
1140
1150
|
attr_accessor :contents
|
1141
1151
|
|
1152
|
+
# -----------------------------------------------------------------------------
|
1142
1153
|
# Configures which glossary should be used for a specific target language, and
|
1143
1154
|
# defines options for applying that glossary.
|
1144
1155
|
# Corresponds to the JSON property `glossaryConfig`
|
@@ -1243,6 +1254,7 @@ module Google
|
|
1243
1254
|
# @return [String]
|
1244
1255
|
attr_accessor :detected_language_code
|
1245
1256
|
|
1257
|
+
# -----------------------------------------------------------------------------
|
1246
1258
|
# Configures which glossary should be used for a specific target language, and
|
1247
1259
|
# defines options for applying that glossary.
|
1248
1260
|
# Corresponds to the JSON property `glossaryConfig`
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module TranslateV3beta1
|
18
18
|
# Version of the google-apis-translate_v3beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.34.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.15.
|
22
|
+
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20241218"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -532,6 +532,7 @@ module Google
|
|
532
532
|
class TranslateTextGlossaryConfig
|
533
533
|
# @private
|
534
534
|
class Representation < Google::Apis::Core::JsonRepresentation
|
535
|
+
property :contextual_translation_enabled, as: 'contextualTranslationEnabled'
|
535
536
|
property :glossary, as: 'glossary'
|
536
537
|
property :ignore_case, as: 'ignoreCase'
|
537
538
|
end
|
@@ -655,8 +655,8 @@ module Google
|
|
655
655
|
# Clients can use Operations.GetOperation or other methods to check whether the
|
656
656
|
# cancellation succeeded or whether the operation completed despite cancellation.
|
657
657
|
# On successful cancellation, the operation is not deleted; instead, it becomes
|
658
|
-
# an operation with an Operation.error value with a google.rpc.Status.code of 1
|
659
|
-
# corresponding to `Code.CANCELLED`.
|
658
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of `1`
|
659
|
+
# , corresponding to `Code.CANCELLED`.
|
660
660
|
# @param [String] name
|
661
661
|
# The name of the operation resource to be cancelled.
|
662
662
|
# @param [Google::Apis::TranslateV3beta1::CancelOperationRequest] cancel_operation_request_object
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-translate_v3beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.34.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:
|
11
|
+
date: 2025-01-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-translate_v3beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-translate_v3beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-translate_v3beta1/v0.34.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-translate_v3beta1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.5.
|
78
|
+
rubygems_version: 3.5.23
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Translation API V3beta1
|