google-apis-documentai_v1beta3 0.102.0 → 0.103.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: 791c557d0916d807f93dd00d5725edcd78e0296167cb46ad2c90209f4116ff89
4
- data.tar.gz: 7d899981c86213c4633f17467716f436f18daa9f5dd994a19758fb4923f59532
3
+ metadata.gz: ecdfb89070c4633f18cbaed7837a9107743ad61e1427f56d323b1308f148e94e
4
+ data.tar.gz: 50ce7c59dd0dc6f2c5308af7350a7d929b1c7188e4051b22fac45cb93c7e204e
5
5
  SHA512:
6
- metadata.gz: d8928ea7064b70b8c2182f42690c4858ec60491e87f517c7a66df537b76e386d0a49bde22b5034d026c1767acc1f6dca9d4f8eae10f7c8f3a1389a678b87a70b
7
- data.tar.gz: 1da8d0ade1298c5502ce1f537083d374a61e2d03bfdcc6398f0f08a659aed40afd9ef1e71f532ad01612f7ff2ba1209cda0d32bf59253fbfc92c037266c198b9
6
+ metadata.gz: b19133b19c5bf609ada9940b053b8c9bc40da44981e004a32f1d28cf320e60a0d907899d5a345f77200296ee84508704b9d5f6b78f28760bf9bfc5aa0c9d914a
7
+ data.tar.gz: bd34e94e432d2cb05bf2992d698d65c0d21b76339013ea56be5eb421f648cd0bfdd2462089b59cb1ac963a8fdf78813e30ce60e48c6f8bdb06fba226cb13ad9e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-documentai_v1beta3
2
2
 
3
+ ### v0.103.0 (2025-03-23)
4
+
5
+ * Regenerated from discovery document revision 20250321
6
+
3
7
  ### v0.102.0 (2025-02-26)
4
8
 
5
9
  * Regenerated from discovery document revision 20250210
@@ -3378,16 +3378,16 @@ module Google
3378
3378
  class GoogleCloudDocumentaiV1beta3DocumentEntityNormalizedValue
3379
3379
  include Google::Apis::Core::Hashable
3380
3380
 
3381
- # Represents a postal address. For example for postal delivery or payments
3382
- # addresses. Given a postal address, a postal service can deliver items to a
3383
- # premise, P.O. Box or similar. It is not intended to model geographical
3384
- # locations (roads, towns, mountains). In typical usage an address would be
3381
+ # Represents a postal address (for example, for postal delivery or payments
3382
+ # addresses). Given a postal address, a postal service can deliver items to a
3383
+ # premise, P.O. box or similar. It is not intended to model geographical
3384
+ # locations (roads, towns, mountains). In typical usage, an address would be
3385
3385
  # created by user input or from importing existing data, depending on the type
3386
- # of process. Advice on address input / editing: - Use an internationalization-
3387
- # ready address widget such as https://github.com/google/libaddressinput) -
3386
+ # of process. Advice on address input or editing: - Use an internationalization-
3387
+ # ready address widget such as https://github.com/google/libaddressinput. -
3388
3388
  # Users should not be presented with UI elements for input or editing of fields
3389
3389
  # outside countries where that field is used. For more guidance on how to use
3390
- # this schema, see: https://support.google.com/business/answer/6397478
3390
+ # this schema, see: https://support.google.com/business/answer/6397478.
3391
3391
  # Corresponds to the JSON property `addressValue`
3392
3392
  # @return [Google::Apis::DocumentaiV1beta3::GoogleTypePostalAddress]
3393
3393
  attr_accessor :address_value
@@ -6703,6 +6703,12 @@ module Google
6703
6703
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessOptionsLayoutConfigChunkingConfig]
6704
6704
  attr_accessor :chunking_config
6705
6705
 
6706
+ # Optional. Whether to refine PDF layout using LLM.
6707
+ # Corresponds to the JSON property `enableLlmLayoutParsing`
6708
+ # @return [Boolean]
6709
+ attr_accessor :enable_llm_layout_parsing
6710
+ alias_method :enable_llm_layout_parsing?, :enable_llm_layout_parsing
6711
+
6706
6712
  # Optional. Whether to include bounding boxes in layout parser processor
6707
6713
  # response.
6708
6714
  # Corresponds to the JSON property `returnBoundingBoxes`
@@ -6723,6 +6729,7 @@ module Google
6723
6729
  # Update properties of this object
6724
6730
  def update!(**args)
6725
6731
  @chunking_config = args[:chunking_config] if args.key?(:chunking_config)
6732
+ @enable_llm_layout_parsing = args[:enable_llm_layout_parsing] if args.key?(:enable_llm_layout_parsing)
6726
6733
  @return_bounding_boxes = args[:return_bounding_boxes] if args.key?(:return_bounding_boxes)
6727
6734
  @return_images = args[:return_images] if args.key?(:return_images)
6728
6735
  end
@@ -8370,46 +8377,46 @@ module Google
8370
8377
  end
8371
8378
  end
8372
8379
 
8373
- # Represents a postal address. For example for postal delivery or payments
8374
- # addresses. Given a postal address, a postal service can deliver items to a
8375
- # premise, P.O. Box or similar. It is not intended to model geographical
8376
- # locations (roads, towns, mountains). In typical usage an address would be
8380
+ # Represents a postal address (for example, for postal delivery or payments
8381
+ # addresses). Given a postal address, a postal service can deliver items to a
8382
+ # premise, P.O. box or similar. It is not intended to model geographical
8383
+ # locations (roads, towns, mountains). In typical usage, an address would be
8377
8384
  # created by user input or from importing existing data, depending on the type
8378
- # of process. Advice on address input / editing: - Use an internationalization-
8379
- # ready address widget such as https://github.com/google/libaddressinput) -
8385
+ # of process. Advice on address input or editing: - Use an internationalization-
8386
+ # ready address widget such as https://github.com/google/libaddressinput. -
8380
8387
  # Users should not be presented with UI elements for input or editing of fields
8381
8388
  # outside countries where that field is used. For more guidance on how to use
8382
- # this schema, see: https://support.google.com/business/answer/6397478
8389
+ # this schema, see: https://support.google.com/business/answer/6397478.
8383
8390
  class GoogleTypePostalAddress
8384
8391
  include Google::Apis::Core::Hashable
8385
8392
 
8386
8393
  # Unstructured address lines describing the lower levels of an address. Because
8387
- # values in address_lines do not have type information and may sometimes contain
8388
- # multiple values in a single field (For example "Austin, TX"), it is important
8389
- # that the line order is clear. The order of address lines should be "envelope
8390
- # order" for the country/region of the address. In places where this can vary (
8391
- # For example Japan), address_language is used to make it explicit (For example "
8392
- # ja" for large-to-small ordering and "ja-Latn" or "en" for small-to-large).
8393
- # This way, the most specific line of an address can be selected based on the
8394
- # language. The minimum permitted structural representation of an address
8395
- # consists of a region_code with all remaining information placed in the
8396
- # address_lines. It would be possible to format such an address very
8394
+ # values in `address_lines` do not have type information and may sometimes
8395
+ # contain multiple values in a single field (for example, "Austin, TX"), it is
8396
+ # important that the line order is clear. The order of address lines should be "
8397
+ # envelope order" for the country or region of the address. In places where this
8398
+ # can vary (for example, Japan), `address_language` is used to make it explicit (
8399
+ # for example, "ja" for large-to-small ordering and "ja-Latn" or "en" for small-
8400
+ # to-large). In this way, the most specific line of an address can be selected
8401
+ # based on the language. The minimum permitted structural representation of an
8402
+ # address consists of a `region_code` with all remaining information placed in
8403
+ # the `address_lines`. It would be possible to format such an address very
8397
8404
  # approximately without geocoding, but no semantic reasoning could be made about
8398
8405
  # any of the address components until it was at least partially resolved.
8399
- # Creating an address only containing a region_code and address_lines, and then
8400
- # geocoding is the recommended way to handle completely unstructured addresses (
8401
- # as opposed to guessing which parts of the address should be localities or
8402
- # administrative areas).
8406
+ # Creating an address only containing a `region_code` and `address_lines` and
8407
+ # then geocoding is the recommended way to handle completely unstructured
8408
+ # addresses (as opposed to guessing which parts of the address should be
8409
+ # localities or administrative areas).
8403
8410
  # Corresponds to the JSON property `addressLines`
8404
8411
  # @return [Array<String>]
8405
8412
  attr_accessor :address_lines
8406
8413
 
8407
8414
  # Optional. Highest administrative subdivision which is used for postal
8408
8415
  # addresses of a country or region. For example, this can be a state, a province,
8409
- # an oblast, or a prefecture. Specifically, for Spain this is the province and
8410
- # not the autonomous community (For example "Barcelona" and not "Catalonia").
8411
- # Many countries don't use an administrative area in postal addresses. For
8412
- # example in Switzerland this should be left unpopulated.
8416
+ # an oblast, or a prefecture. For Spain, this is the province and not the
8417
+ # autonomous community (for example, "Barcelona" and not "Catalonia"). Many
8418
+ # countries don't use an administrative area in postal addresses. For example,
8419
+ # in Switzerland, this should be left unpopulated.
8413
8420
  # Corresponds to the JSON property `administrativeArea`
8414
8421
  # @return [String]
8415
8422
  attr_accessor :administrative_area
@@ -8426,10 +8433,10 @@ module Google
8426
8433
  # @return [String]
8427
8434
  attr_accessor :language_code
8428
8435
 
8429
- # Optional. Generally refers to the city/town portion of the address. Examples:
8430
- # US city, IT comune, UK post town. In regions of the world where localities are
8431
- # not well defined or do not fit into this structure well, leave locality empty
8432
- # and use address_lines.
8436
+ # Optional. Generally refers to the city or town portion of the address.
8437
+ # Examples: US city, IT comune, UK post town. In regions of the world where
8438
+ # localities are not well defined or do not fit into this structure well, leave `
8439
+ # locality` empty and use `address_lines`.
8433
8440
  # Corresponds to the JSON property `locality`
8434
8441
  # @return [String]
8435
8442
  attr_accessor :locality
@@ -8441,8 +8448,8 @@ module Google
8441
8448
 
8442
8449
  # Optional. Postal code of the address. Not all countries use or require postal
8443
8450
  # codes to be present, but where they are used, they may trigger additional
8444
- # validation with other parts of the address (For example state/zip validation
8445
- # in the U.S.A.).
8451
+ # validation with other parts of the address (for example, state or zip code
8452
+ # validation in the United States).
8446
8453
  # Corresponds to the JSON property `postalCode`
8447
8454
  # @return [String]
8448
8455
  attr_accessor :postal_code
@@ -8471,15 +8478,15 @@ module Google
8471
8478
 
8472
8479
  # Optional. Additional, country-specific, sorting code. This is not used in most
8473
8480
  # regions. Where it is used, the value is either a string like "CEDEX",
8474
- # optionally followed by a number (For example "CEDEX 7"), or just a number
8481
+ # optionally followed by a number (for example, "CEDEX 7"), or just a number
8475
8482
  # alone, representing the "sector code" (Jamaica), "delivery area indicator" (
8476
- # Malawi) or "post office indicator" (For example Côte d'Ivoire).
8483
+ # Malawi) or "post office indicator" (Côte d'Ivoire).
8477
8484
  # Corresponds to the JSON property `sortingCode`
8478
8485
  # @return [String]
8479
8486
  attr_accessor :sorting_code
8480
8487
 
8481
- # Optional. Sublocality of the address. For example, this can be neighborhoods,
8482
- # boroughs, districts.
8488
+ # Optional. Sublocality of the address. For example, this can be a neighborhood,
8489
+ # borough, or district.
8483
8490
  # Corresponds to the JSON property `sublocality`
8484
8491
  # @return [String]
8485
8492
  attr_accessor :sublocality
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DocumentaiV1beta3
18
18
  # Version of the google-apis-documentai_v1beta3 gem
19
- GEM_VERSION = "0.102.0"
19
+ GEM_VERSION = "0.103.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250210"
25
+ REVISION = "20250321"
26
26
  end
27
27
  end
28
28
  end
@@ -3725,6 +3725,7 @@ module Google
3725
3725
  class Representation < Google::Apis::Core::JsonRepresentation
3726
3726
  property :chunking_config, as: 'chunkingConfig', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessOptionsLayoutConfigChunkingConfig, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessOptionsLayoutConfigChunkingConfig::Representation
3727
3727
 
3728
+ property :enable_llm_layout_parsing, as: 'enableLlmLayoutParsing'
3728
3729
  property :return_bounding_boxes, as: 'returnBoundingBoxes'
3729
3730
  property :return_images, as: 'returnImages'
3730
3731
  end
@@ -118,6 +118,9 @@ module Google
118
118
  # Lists information about the supported locations for this service.
119
119
  # @param [String] name
120
120
  # The resource that owns the locations collection, if applicable.
121
+ # @param [Array<String>, String] extra_location_types
122
+ # Optional. A list of extra location types that should be used as conditions for
123
+ # controlling the visibility of the locations.
121
124
  # @param [String] filter
122
125
  # A filter to narrow down results to a preferred subset. The filtering language
123
126
  # accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -145,11 +148,12 @@ module Google
145
148
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
146
149
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
147
150
  # @raise [Google::Apis::AuthorizationError] Authorization is required
148
- def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
151
+ def list_project_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
149
152
  command = make_simple_command(:get, 'v1beta3/{+name}/locations', options)
150
153
  command.response_representation = Google::Apis::DocumentaiV1beta3::GoogleCloudLocationListLocationsResponse::Representation
151
154
  command.response_class = Google::Apis::DocumentaiV1beta3::GoogleCloudLocationListLocationsResponse
152
155
  command.params['name'] = name unless name.nil?
156
+ command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil?
153
157
  command.query['filter'] = filter unless filter.nil?
154
158
  command.query['pageSize'] = page_size unless page_size.nil?
155
159
  command.query['pageToken'] = page_token unless page_token.nil?
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-documentai_v1beta3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.102.0
4
+ version: 0.103.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-02 00:00:00.000000000 Z
10
+ date: 2025-03-23 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -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-documentai_v1beta3/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.102.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.103.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1beta3
62
62
  rdoc_options: []
63
63
  require_paths: