google-apis-translate_v3 0.23.0 → 0.24.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: 731e80c6826f0fda43c38c76c1195dad4487df9fb5645462294a3263ab0ad83b
4
- data.tar.gz: 2d5d2daf1b14ae1e33e6d89c2d92b999ef664b75b2f3b8911d565f5d2b2f0b26
3
+ metadata.gz: 9ba41031077d55a2e5519d7e19a67aaef187a7998c36ca991cba0b2b98cf987c
4
+ data.tar.gz: 82ee8c587ff9d18b3f696f3f8b6ddd1b9e2db94f8b1c60ee7ade52ac4bb7b2ce
5
5
  SHA512:
6
- metadata.gz: 619137681f025a8f30e7e54b3c89d705a6c7de75bcb788843b0e28cd034379c592e48b48e0bfd645564fa99876ee6a787f0b80d2d6383a4754dba2b7eadeba44
7
- data.tar.gz: fc08b03b1337ac234cab27ad3b062b0acc7e43c2b81395be1ab44438ac4d55c8c6edc7802440e7b5212a54745ae3844ef8851407c19d4a1d67d1561f20f208b2
6
+ metadata.gz: a36f6b76b75d1b15babb009159b725fd00ae4a252e067832608829d3c01258414ace7b6b8d95436667898663a4e3d0464d5d523b1fcb902169fc8f1be4077181
7
+ data.tar.gz: 39a0b8d1560eedd98b7f78d3e279dd29d45e5dba7854189e570e3204c16526ac360dfe4d9315de82919f287f5fe671b306de9ef013cd56f2e3ec63d6b4817d36
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.23.0 (2023-02-15)
4
8
 
5
9
  * Regenerated from discovery document revision 20230210
@@ -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]
@@ -1559,17 +1559,17 @@ module Google
1559
1559
  # @return [String]
1560
1560
  attr_accessor :model
1561
1561
 
1562
- # Optional. The BCP-47 language code of the input document if known, for example,
1563
- # "en-US" or "sr-Latn". Supported language codes are listed in Language Support.
1564
- # If the source language isn't specified, the API attempts to identify the
1565
- # 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
1566
1566
  # response. Source language must be specified if the request contains a glossary
1567
1567
  # or a custom model.
1568
1568
  # Corresponds to the JSON property `sourceLanguageCode`
1569
1569
  # @return [String]
1570
1570
  attr_accessor :source_language_code
1571
1571
 
1572
- # 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
1573
1573
  # document, set to one of the language codes listed in Language Support.
1574
1574
  # Corresponds to the JSON property `targetLanguageCode`
1575
1575
  # @return [String]
@@ -1710,7 +1710,7 @@ module Google
1710
1710
  # @return [String]
1711
1711
  attr_accessor :model
1712
1712
 
1713
- # 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, "
1714
1714
  # en-US" or "sr-Latn". Supported language codes are listed in Language Support.
1715
1715
  # If the source language isn't specified, the API attempts to identify the
1716
1716
  # source language automatically and returns the source language within the
@@ -1719,7 +1719,7 @@ module Google
1719
1719
  # @return [String]
1720
1720
  attr_accessor :source_language_code
1721
1721
 
1722
- # 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,
1723
1723
  # set to one of the language codes listed in Language Support.
1724
1724
  # Corresponds to the JSON property `targetLanguageCode`
1725
1725
  # @return [String]
@@ -1773,7 +1773,7 @@ module Google
1773
1773
  class Translation
1774
1774
  include Google::Apis::Core::Hashable
1775
1775
 
1776
- # 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
1777
1777
  # automatically, if no source language was passed within the initial request. If
1778
1778
  # the source language was passed, auto-detection of the language does not occur
1779
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.23.0"
19
+ GEM_VERSION = "0.24.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230210"
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.23.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-02-19 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
@@ -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.23.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: []