google-apis-translate_v3 0.22.0 → 0.24.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: 184c610d52bd00bac73bd1e665165b467846029856bf25f392a9fe513680747a
4
- data.tar.gz: beab251de99cc654445019aff07d10c418359f4a088f17b777ac294d03fbfd76
3
+ metadata.gz: 9ba41031077d55a2e5519d7e19a67aaef187a7998c36ca991cba0b2b98cf987c
4
+ data.tar.gz: 82ee8c587ff9d18b3f696f3f8b6ddd1b9e2db94f8b1c60ee7ade52ac4bb7b2ce
5
5
  SHA512:
6
- metadata.gz: 68d617d6dc7cd8491a5fba81b2f8665c9177e3c8e56081d1096dee29bbabf3b223aac9abc5e7cbd6b416f8fbe34e272d9d0f0dd60e13e910323292c707885873
7
- data.tar.gz: 2ece5e9bd05ce32d3b2cc85dcefc99b89d50a64e327400a73fa6c0ed108213c6b695db0dcf569feb969119584729f199ebda8e8fe48db65c399c5aeb9a44702c
6
+ metadata.gz: a36f6b76b75d1b15babb009159b725fd00ae4a252e067832608829d3c01258414ace7b6b8d95436667898663a4e3d0464d5d523b1fcb902169fc8f1be4077181
7
+ data.tar.gz: 39a0b8d1560eedd98b7f78d3e279dd29d45e5dba7854189e570e3204c16526ac360dfe4d9315de82919f287f5fe671b306de9ef013cd56f2e3ec63d6b4817d36
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-translate_v3
2
2
 
3
+ ### v0.24.0 (2023-03-05)
4
+
5
+ * Regenerated from discovery document revision 20230224
6
+
7
+ ### v0.23.0 (2023-02-15)
8
+
9
+ * Regenerated from discovery document revision 20230210
10
+ * Regenerated using generator version 0.12.0
11
+
3
12
  ### v0.22.0 (2023-01-15)
4
13
 
5
14
  * Regenerated from discovery document revision 20230106
@@ -106,14 +106,14 @@ module Google
106
106
  # @return [Google::Apis::TranslateV3::BatchDocumentOutputConfig]
107
107
  attr_accessor :output_config
108
108
 
109
- # Required. The BCP-47 language code of the input document if known, for example,
110
- # "en-US" or "sr-Latn". Supported language codes are listed in [Language
111
- # Support](https://cloud.google.com/translate/docs/languages).
109
+ # Required. The ISO-639 language code of the input document if known, for
110
+ # example, "en-US" or "sr-Latn". Supported language codes are listed in [
111
+ # Language Support](https://cloud.google.com/translate/docs/languages).
112
112
  # Corresponds to the JSON property `sourceLanguageCode`
113
113
  # @return [String]
114
114
  attr_accessor :source_language_code
115
115
 
116
- # Required. The BCP-47 language code to use for translation of the input
116
+ # Required. The ISO-639 language code to use for translation of the input
117
117
  # document. Specify up to 10 language codes here.
118
118
  # Corresponds to the JSON property `targetLanguageCodes`
119
119
  # @return [Array<String>]
@@ -409,7 +409,7 @@ module Google
409
409
  # @return [Float]
410
410
  attr_accessor :confidence
411
411
 
412
- # The BCP-47 language code of the source content in the request, detected
412
+ # The ISO-639 language code of the source content in the request, detected
413
413
  # automatically.
414
414
  # Corresponds to the JSON property `languageCode`
415
415
  # @return [String]
@@ -956,14 +956,14 @@ module Google
956
956
  class LanguageCodePair
957
957
  include Google::Apis::Core::Hashable
958
958
 
959
- # Required. The BCP-47 language code of the input text, for example, "en-US".
959
+ # Required. The ISO-639 language code of the input text, for example, "en-US".
960
960
  # Expected to be an exact match for GlossaryTerm.language_code.
961
961
  # Corresponds to the JSON property `sourceLanguageCode`
962
962
  # @return [String]
963
963
  attr_accessor :source_language_code
964
964
 
965
- # Required. The BCP-47 language code for translation output, for example, "zh-CN"
966
- # . Expected to be an exact match for GlossaryTerm.language_code.
965
+ # Required. The ISO-639 language code for translation output, for example, "zh-
966
+ # CN". Expected to be an exact match for GlossaryTerm.language_code.
967
967
  # Corresponds to the JSON property `targetLanguageCode`
968
968
  # @return [String]
969
969
  attr_accessor :target_language_code
@@ -983,9 +983,9 @@ module Google
983
983
  class LanguageCodesSet
984
984
  include Google::Apis::Core::Hashable
985
985
 
986
- # The BCP-47 language code(s) for terms defined in the glossary. All entries are
987
- # unique. The list contains at least two entries. Expected to be an exact match
988
- # for GlossaryTerm.language_code.
986
+ # The ISO-639 language code(s) for terms defined in the glossary. All entries
987
+ # are unique. The list contains at least two entries. Expected to be an exact
988
+ # match for GlossaryTerm.language_code.
989
989
  # Corresponds to the JSON property `languageCodes`
990
990
  # @return [Array<String>]
991
991
  attr_accessor :language_codes
@@ -1445,7 +1445,7 @@ module Google
1445
1445
  attr_accessor :display_name
1446
1446
 
1447
1447
  # Supported language code, generally consisting of its ISO 639-1 identifier, for
1448
- # example, 'en', 'ja'. In certain cases, BCP-47 codes including language and
1448
+ # example, 'en', 'ja'. In certain cases, ISO-639 codes including language and
1449
1449
  # region identifiers are returned (for example, 'zh-TW' and 'zh-CN').
1450
1450
  # Corresponds to the JSON property `languageCode`
1451
1451
  # @return [String]
@@ -1519,7 +1519,8 @@ module Google
1519
1519
  attr_accessor :document_output_config
1520
1520
 
1521
1521
  # Optional. If true, use the text removal server to remove the shadow text on
1522
- # background image for native pdf translation.
1522
+ # background image for native pdf translation. Shadow removal feature can only
1523
+ # be enabled when is_translate_native_pdf_only: false && pdf_native_only: false
1523
1524
  # Corresponds to the JSON property `enableShadowRemovalNativePdf`
1524
1525
  # @return [Boolean]
1525
1526
  attr_accessor :enable_shadow_removal_native_pdf
@@ -1558,17 +1559,17 @@ module Google
1558
1559
  # @return [String]
1559
1560
  attr_accessor :model
1560
1561
 
1561
- # Optional. The BCP-47 language code of the input document if known, for example,
1562
- # "en-US" or "sr-Latn". Supported language codes are listed in Language Support.
1563
- # If the source language isn't specified, the API attempts to identify the
1564
- # source language automatically and returns the source language within the
1562
+ # Optional. The ISO-639 language code of the input document if known, for
1563
+ # example, "en-US" or "sr-Latn". Supported language codes are listed in Language
1564
+ # Support. If the source language isn't specified, the API attempts to identify
1565
+ # the source language automatically and returns the source language within the
1565
1566
  # response. Source language must be specified if the request contains a glossary
1566
1567
  # or a custom model.
1567
1568
  # Corresponds to the JSON property `sourceLanguageCode`
1568
1569
  # @return [String]
1569
1570
  attr_accessor :source_language_code
1570
1571
 
1571
- # Required. The BCP-47 language code to use for translation of the input
1572
+ # Required. The ISO-639 language code to use for translation of the input
1572
1573
  # document, set to one of the language codes listed in Language Support.
1573
1574
  # Corresponds to the JSON property `targetLanguageCode`
1574
1575
  # @return [String]
@@ -1709,7 +1710,7 @@ module Google
1709
1710
  # @return [String]
1710
1711
  attr_accessor :model
1711
1712
 
1712
- # Optional. The BCP-47 language code of the input text if known, for example, "
1713
+ # Optional. The ISO-639 language code of the input text if known, for example, "
1713
1714
  # en-US" or "sr-Latn". Supported language codes are listed in Language Support.
1714
1715
  # If the source language isn't specified, the API attempts to identify the
1715
1716
  # source language automatically and returns the source language within the
@@ -1718,7 +1719,7 @@ module Google
1718
1719
  # @return [String]
1719
1720
  attr_accessor :source_language_code
1720
1721
 
1721
- # Required. The BCP-47 language code to use for translation of the input text,
1722
+ # Required. The ISO-639 language code to use for translation of the input text,
1722
1723
  # set to one of the language codes listed in Language Support.
1723
1724
  # Corresponds to the JSON property `targetLanguageCode`
1724
1725
  # @return [String]
@@ -1772,7 +1773,7 @@ module Google
1772
1773
  class Translation
1773
1774
  include Google::Apis::Core::Hashable
1774
1775
 
1775
- # The BCP-47 language code of source text in the initial request, detected
1776
+ # The ISO-639 language code of source text in the initial request, detected
1776
1777
  # automatically, if no source language was passed within the initial request. If
1777
1778
  # the source language was passed, auto-detection of the language does not occur
1778
1779
  # and this field is empty.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module TranslateV3
18
18
  # Version of the google-apis-translate_v3 gem
19
- GEM_VERSION = "0.22.0"
19
+ GEM_VERSION = "0.24.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.11.1"
22
+ GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230106"
25
+ REVISION = "20230224"
26
26
  end
27
27
  end
28
28
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-translate_v3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.22.0
4
+ version: 0.24.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: 2023-01-15 00:00:00.000000000 Z
11
+ date: 2023-03-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.9.1
19
+ version: 0.11.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.9.1
29
+ version: 0.11.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_v3/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-translate_v3/v0.22.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-translate_v3/v0.24.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-translate_v3
63
63
  post_install_message:
64
64
  rdoc_options: []