google-apis-translate_v3beta1 0.32.0 → 0.34.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: fcb6dccbf01c090067c5f63b7d20bddeb87c2cdaccf962206fbb489b1ab5f7ad
4
- data.tar.gz: 4e4844ad878331893dfb93a4ec339367afaa908e932920c9d2be64ec6b3ebba9
3
+ metadata.gz: 6dfc3c2b0b49fa7bbf6da4b1529133a4a548f9ee9c994257a9dc20f227d04f24
4
+ data.tar.gz: b43a3612147d9e59520b81cd82aa194cbf8ba9bac59b8c33e7713965263f91b4
5
5
  SHA512:
6
- metadata.gz: e5a0997ccacea84b065f3d421ef9b42caf803986b3b04f053e2886427d8ff327c908979618b35b7902bec9b79b78d7f813394ff16ebc04fe36cbecfc62d3f903
7
- data.tar.gz: 2445aae7acc642efaf88d2889028627e4d3a6acfad15e020e1ab24a40d7be24196b8f54541d37457c2b1203f8d25370bb0bf5b470e23a2ec1b187131026a4c6d
6
+ metadata.gz: a8d10dcb0c009d611071ac72f48ae3fedcd105a1d08ff2e511783a6d50aacc63302bfd1bed0d9529dc937721b33a9ab5166c0bd7cf8dad5a976dba8a73d47935
7
+ data.tar.gz: d97300675867da1e3679ed51c0b88b0f5ac526e45723850d6e2c0cda691dd29c80ec2b25f85eaad941be3da99f0e25454b97100098523dce027f66946a624507
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
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
+
8
+ ### v0.33.0 (2024-05-19)
9
+
10
+ * Regenerated using generator version 0.15.0
11
+
3
12
  ### v0.32.0 (2024-02-23)
4
13
 
5
14
  * Regenerated using generator version 0.13.1
@@ -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.32.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.13.1"
22
+ GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230922"
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.32.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: 2024-02-25 00:00:00.000000000 Z
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
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.14.0
19
+ version: 0.15.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.14.0
29
+ version: 0.15.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.32.0
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.6
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