google-apis-translate_v3 0.44.0 → 0.45.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: cc2e75dd4c0430ad5ed4c9856361d273be2cfac36191b7c1c294f5bd9333b6f8
4
- data.tar.gz: 315376947f08b351cf4f335769ef52d8ea8ba5157ec622cc0e1a8edb331d02bd
3
+ metadata.gz: f8dd22c5c7e8cebf0d7df18bb289e6f3f8574fe700093002d5cc9e9cd6c3f77a
4
+ data.tar.gz: 369237340aba2584337e2b20d50c38bf7f5aabeff5480605311c54f9868572ce
5
5
  SHA512:
6
- metadata.gz: aec76ed8bfd63024157ffa9852d6a63893daba5a1b4c31529d88d3f754bd80a894b1f30d81967c16d5515abc48de72c5fbf884feee642b9579513abe507e04f5
7
- data.tar.gz: ca591bf255cb49ebef4434ba51ba9c2ec58ee55c442b645d0b578256c0384ac2f7b8c6ba4373d3c9ef9c2b8c19e53e763216c0665fbae80fb37375c687c2697c
6
+ metadata.gz: a84777aae368995ec6ebb2f7d2f0d09b2a9d44e8f2b94f814b067c44db84b29b1384816ac88b3946313ea9575e1cd79d49eca10c0b3e5c3e130d3cab1a6dfe63
7
+ data.tar.gz: d99071e450ad5669f396f42ce8af28895eeb73575fb61619428812051f395c28c1663850fcb69742dfc219f67286bc0eb0f9bac227018d49764afc819cff93b5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-translate_v3
2
2
 
3
+ ### v0.45.0 (2026-08-23)
4
+
5
+ * Regenerated from discovery document revision 20260814
6
+
3
7
  ### v0.44.0 (2026-06-14)
4
8
 
5
9
  * Regenerated using generator version 0.19.0
@@ -191,6 +191,11 @@ module Google
191
191
  # @return [Google::Apis::TranslateV3::GlossaryConfig]
192
192
  attr_accessor :glossary_config
193
193
 
194
+ # The format of the source text. Currently only text/plain is supported.
195
+ # Corresponds to the JSON property `mimeType`
196
+ # @return [String]
197
+ attr_accessor :mime_type
198
+
194
199
  # Message of caller-provided reference configuration.
195
200
  # Corresponds to the JSON property `referenceSentenceConfig`
196
201
  # @return [Google::Apis::TranslateV3::ReferenceSentenceConfig]
@@ -205,6 +210,7 @@ module Google
205
210
  @content = args[:content] if args.key?(:content)
206
211
  @dataset = args[:dataset] if args.key?(:dataset)
207
212
  @glossary_config = args[:glossary_config] if args.key?(:glossary_config)
213
+ @mime_type = args[:mime_type] if args.key?(:mime_type)
208
214
  @reference_sentence_config = args[:reference_sentence_config] if args.key?(:reference_sentence_config)
209
215
  end
210
216
  end
@@ -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.44.0"
19
+ GEM_VERSION = "0.45.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260128"
25
+ REVISION = "20260814"
26
26
  end
27
27
  end
28
28
  end
@@ -520,6 +520,7 @@ module Google
520
520
  property :dataset, as: 'dataset'
521
521
  property :glossary_config, as: 'glossaryConfig', class: Google::Apis::TranslateV3::GlossaryConfig, decorator: Google::Apis::TranslateV3::GlossaryConfig::Representation
522
522
 
523
+ property :mime_type, as: 'mimeType'
523
524
  property :reference_sentence_config, as: 'referenceSentenceConfig', class: Google::Apis::TranslateV3::ReferenceSentenceConfig, decorator: Google::Apis::TranslateV3::ReferenceSentenceConfig::Representation
524
525
 
525
526
  end
@@ -449,15 +449,20 @@ module Google
449
449
  end
450
450
 
451
451
  # Lists information about the supported locations for this service. This method
452
- # can be called in two ways: * **List all public locations:** Use the path `GET /
453
- # v1/locations`. * **List project-visible locations:** Use the path `GET /v1/
454
- # projects/`project_id`/locations`. This may include public locations as well as
455
- # private or other locations specifically visible to the project.
452
+ # lists locations based on the resource scope provided in the
453
+ # ListLocationsRequest.name field: * **Global locations**: If `name` is empty,
454
+ # the method lists the public locations available to all projects. * **Project-
455
+ # specific locations**: If `name` follows the format `projects/`project``, the
456
+ # method lists locations visible to that specific project. This includes public,
457
+ # private, or other project-specific locations enabled for the project. For gRPC
458
+ # and client library implementations, the resource name is passed as the `name`
459
+ # field. For direct service calls, the resource name is incorporated into the
460
+ # request path based on the specific service implementation and version.
456
461
  # @param [String] name
457
462
  # The resource that owns the locations collection, if applicable.
458
463
  # @param [Array<String>, String] extra_location_types
459
- # Optional. Do not use this field. It is unsupported and is ignored unless
460
- # explicitly documented otherwise. This is primarily for internal usage.
464
+ # Optional. Do not use this field unless explicitly documented otherwise. This
465
+ # is primarily for internal usage.
461
466
  # @param [String] filter
462
467
  # A filter to narrow down results to a preferred subset. The filtering language
463
468
  # accepts strings like `"displayName=tokyo"`, and is documented in more detail
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-translate_v3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.44.0
4
+ version: 0.45.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-translate_v3/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-translate_v3/v0.44.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-translate_v3/v0.45.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-translate_v3
62
62
  rdoc_options: []
63
63
  require_paths: