google-apis-documentai_v1 0.91.0 → 0.93.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: 2972d85077b0cb851e8415985da3e9d34a4982af4a9b502effaf55185f2de8ef
4
- data.tar.gz: c55b54394ac0840d2d55d2af540bbd8ac6e61dc12ff53e62baff715469d7b8ce
3
+ metadata.gz: 5159568caf2ec65fbf91f7d809b695e591d34a8b52d0ec143df4f67eb06a8332
4
+ data.tar.gz: 31bfa28f043faa3c438508d04b0f889a63ec8243fb054bd18ff550d9390469ad
5
5
  SHA512:
6
- metadata.gz: 42fc10109ecbda56c87a23a42c0ca9d8d42c73f0c04cf3e00753359e7ca9a6884e1aa1f14ae5f231ecc2c72e131e181ae4278941f410842a5971fa4f2db551d0
7
- data.tar.gz: c85278320201962b236fdf3b51ed96dcee0b782e99f3bc8dc71a245cddd9e0ce635d8a141c3aba2ba1ee04c3a9a027d23f3b9d5d59dd1f0b5acccb0646088ad4
6
+ metadata.gz: b4eaaca722b724f59fbe02e00ce1388bd4c2f743a041450b248844c39f7334b9026e53c74f7a404963e0028f52b20409a6ba001454201540f200412c98b4ae94
7
+ data.tar.gz: 3e40147a299b63e0ad9345947c9fbacbb74ed19d07ef9d6bdcf0f5e6762bbc258ab59983c8e182210aa0e2b6ee4e110a3a789b4632968f315bd0846e7fad39b8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-documentai_v1
2
2
 
3
+ ### v0.93.0 (2025-01-26)
4
+
5
+ * Regenerated from discovery document revision 20250117
6
+ * Regenerated using generator version 0.16.0
7
+
8
+ ### v0.92.0 (2024-12-15)
9
+
10
+ * Regenerated from discovery document revision 20241210
11
+
3
12
  ### v0.91.0 (2024-09-15)
4
13
 
5
14
  * Regenerated from discovery document revision 20240911
@@ -2421,16 +2421,16 @@ module Google
2421
2421
  class GoogleCloudDocumentaiV1DocumentEntityNormalizedValue
2422
2422
  include Google::Apis::Core::Hashable
2423
2423
 
2424
- # Represents a postal address, e.g. for postal delivery or payments addresses.
2425
- # Given a postal address, a postal service can deliver items to a premise, P.O.
2426
- # Box or similar. It is not intended to model geographical locations (roads,
2427
- # towns, mountains). In typical usage an address would be created via user input
2428
- # or from importing existing data, depending on the type of process. Advice on
2429
- # address input / editing: - Use an internationalization-ready address widget
2430
- # such as https://github.com/google/libaddressinput) - Users should not be
2431
- # presented with UI elements for input or editing of fields outside countries
2432
- # where that field is used. For more guidance on how to use this schema, please
2433
- # see: https://support.google.com/business/answer/6397478
2424
+ # Represents a postal address. For example for postal delivery or payments
2425
+ # addresses. Given a postal address, a postal service can deliver items to a
2426
+ # premise, P.O. Box or similar. It is not intended to model geographical
2427
+ # locations (roads, towns, mountains). In typical usage an address would be
2428
+ # created by user input or from importing existing data, depending on the type
2429
+ # of process. Advice on address input / editing: - Use an internationalization-
2430
+ # ready address widget such as https://github.com/google/libaddressinput) -
2431
+ # Users should not be presented with UI elements for input or editing of fields
2432
+ # outside countries where that field is used. For more guidance on how to use
2433
+ # this schema, see: https://support.google.com/business/answer/6397478
2434
2434
  # Corresponds to the JSON property `addressValue`
2435
2435
  # @return [Google::Apis::DocumentaiV1::GoogleTypePostalAddress]
2436
2436
  attr_accessor :address_value
@@ -5156,6 +5156,19 @@ module Google
5156
5156
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessOptionsLayoutConfigChunkingConfig]
5157
5157
  attr_accessor :chunking_config
5158
5158
 
5159
+ # Optional. Whether to include bounding boxes in layout parser processor
5160
+ # response.
5161
+ # Corresponds to the JSON property `returnBoundingBoxes`
5162
+ # @return [Boolean]
5163
+ attr_accessor :return_bounding_boxes
5164
+ alias_method :return_bounding_boxes?, :return_bounding_boxes
5165
+
5166
+ # Optional. Whether to include images in layout parser processor response.
5167
+ # Corresponds to the JSON property `returnImages`
5168
+ # @return [Boolean]
5169
+ attr_accessor :return_images
5170
+ alias_method :return_images?, :return_images
5171
+
5159
5172
  def initialize(**args)
5160
5173
  update!(**args)
5161
5174
  end
@@ -5163,6 +5176,8 @@ module Google
5163
5176
  # Update properties of this object
5164
5177
  def update!(**args)
5165
5178
  @chunking_config = args[:chunking_config] if args.key?(:chunking_config)
5179
+ @return_bounding_boxes = args[:return_bounding_boxes] if args.key?(:return_bounding_boxes)
5180
+ @return_images = args[:return_images] if args.key?(:return_images)
5166
5181
  end
5167
5182
  end
5168
5183
 
@@ -7761,35 +7776,36 @@ module Google
7761
7776
  end
7762
7777
  end
7763
7778
 
7764
- # Represents a postal address, e.g. for postal delivery or payments addresses.
7765
- # Given a postal address, a postal service can deliver items to a premise, P.O.
7766
- # Box or similar. It is not intended to model geographical locations (roads,
7767
- # towns, mountains). In typical usage an address would be created via user input
7768
- # or from importing existing data, depending on the type of process. Advice on
7769
- # address input / editing: - Use an internationalization-ready address widget
7770
- # such as https://github.com/google/libaddressinput) - Users should not be
7771
- # presented with UI elements for input or editing of fields outside countries
7772
- # where that field is used. For more guidance on how to use this schema, please
7773
- # see: https://support.google.com/business/answer/6397478
7779
+ # Represents a postal address. For example for postal delivery or payments
7780
+ # addresses. Given a postal address, a postal service can deliver items to a
7781
+ # premise, P.O. Box or similar. It is not intended to model geographical
7782
+ # locations (roads, towns, mountains). In typical usage an address would be
7783
+ # created by user input or from importing existing data, depending on the type
7784
+ # of process. Advice on address input / editing: - Use an internationalization-
7785
+ # ready address widget such as https://github.com/google/libaddressinput) -
7786
+ # Users should not be presented with UI elements for input or editing of fields
7787
+ # outside countries where that field is used. For more guidance on how to use
7788
+ # this schema, see: https://support.google.com/business/answer/6397478
7774
7789
  class GoogleTypePostalAddress
7775
7790
  include Google::Apis::Core::Hashable
7776
7791
 
7777
7792
  # Unstructured address lines describing the lower levels of an address. Because
7778
7793
  # values in address_lines do not have type information and may sometimes contain
7779
- # multiple values in a single field (e.g. "Austin, TX"), it is important that
7780
- # the line order is clear. The order of address lines should be "envelope order"
7781
- # for the country/region of the address. In places where this can vary (e.g.
7782
- # Japan), address_language is used to make it explicit (e.g. "ja" for large-to-
7783
- # small ordering and "ja-Latn" or "en" for small-to-large). This way, the most
7784
- # specific line of an address can be selected based on the language. The minimum
7785
- # permitted structural representation of an address consists of a region_code
7786
- # with all remaining information placed in the address_lines. It would be
7787
- # possible to format such an address very approximately without geocoding, but
7788
- # no semantic reasoning could be made about any of the address components until
7789
- # it was at least partially resolved. Creating an address only containing a
7790
- # region_code and address_lines, and then geocoding is the recommended way to
7791
- # handle completely unstructured addresses (as opposed to guessing which parts
7792
- # of the address should be localities or administrative areas).
7794
+ # multiple values in a single field (For example "Austin, TX"), it is important
7795
+ # that the line order is clear. The order of address lines should be "envelope
7796
+ # order" for the country/region of the address. In places where this can vary (
7797
+ # For example Japan), address_language is used to make it explicit (For example "
7798
+ # ja" for large-to-small ordering and "ja-Latn" or "en" for small-to-large).
7799
+ # This way, the most specific line of an address can be selected based on the
7800
+ # language. The minimum permitted structural representation of an address
7801
+ # consists of a region_code with all remaining information placed in the
7802
+ # address_lines. It would be possible to format such an address very
7803
+ # approximately without geocoding, but no semantic reasoning could be made about
7804
+ # any of the address components until it was at least partially resolved.
7805
+ # Creating an address only containing a region_code and address_lines, and then
7806
+ # geocoding is the recommended way to handle completely unstructured addresses (
7807
+ # as opposed to guessing which parts of the address should be localities or
7808
+ # administrative areas).
7793
7809
  # Corresponds to the JSON property `addressLines`
7794
7810
  # @return [Array<String>]
7795
7811
  attr_accessor :address_lines
@@ -7797,9 +7813,9 @@ module Google
7797
7813
  # Optional. Highest administrative subdivision which is used for postal
7798
7814
  # addresses of a country or region. For example, this can be a state, a province,
7799
7815
  # an oblast, or a prefecture. Specifically, for Spain this is the province and
7800
- # not the autonomous community (e.g. "Barcelona" and not "Catalonia"). Many
7801
- # countries don't use an administrative area in postal addresses. E.g. in
7802
- # Switzerland this should be left unpopulated.
7816
+ # not the autonomous community (For example "Barcelona" and not "Catalonia").
7817
+ # Many countries don't use an administrative area in postal addresses. For
7818
+ # example in Switzerland this should be left unpopulated.
7803
7819
  # Corresponds to the JSON property `administrativeArea`
7804
7820
  # @return [String]
7805
7821
  attr_accessor :administrative_area
@@ -7831,8 +7847,8 @@ module Google
7831
7847
 
7832
7848
  # Optional. Postal code of the address. Not all countries use or require postal
7833
7849
  # codes to be present, but where they are used, they may trigger additional
7834
- # validation with other parts of the address (e.g. state/zip validation in the U.
7835
- # S.A.).
7850
+ # validation with other parts of the address (For example state/zip validation
7851
+ # in the U.S.A.).
7836
7852
  # Corresponds to the JSON property `postalCode`
7837
7853
  # @return [String]
7838
7854
  attr_accessor :postal_code
@@ -7861,9 +7877,9 @@ module Google
7861
7877
 
7862
7878
  # Optional. Additional, country-specific, sorting code. This is not used in most
7863
7879
  # regions. Where it is used, the value is either a string like "CEDEX",
7864
- # optionally followed by a number (e.g. "CEDEX 7"), or just a number alone,
7865
- # representing the "sector code" (Jamaica), "delivery area indicator" (Malawi)
7866
- # or "post office indicator" (e.g. Côte d'Ivoire).
7880
+ # optionally followed by a number (For example "CEDEX 7"), or just a number
7881
+ # alone, representing the "sector code" (Jamaica), "delivery area indicator" (
7882
+ # Malawi) or "post office indicator" (For example Côte d'Ivoire).
7867
7883
  # Corresponds to the JSON property `sortingCode`
7868
7884
  # @return [String]
7869
7885
  attr_accessor :sorting_code
@@ -7899,12 +7915,12 @@ module Google
7899
7915
  class GoogleTypeTimeZone
7900
7916
  include Google::Apis::Core::Hashable
7901
7917
 
7902
- # IANA Time Zone Database time zone, e.g. "America/New_York".
7918
+ # IANA Time Zone Database time zone. For example "America/New_York".
7903
7919
  # Corresponds to the JSON property `id`
7904
7920
  # @return [String]
7905
7921
  attr_accessor :id
7906
7922
 
7907
- # Optional. IANA Time Zone Database version number, e.g. "2019a".
7923
+ # Optional. IANA Time Zone Database version number. For example "2019a".
7908
7924
  # Corresponds to the JSON property `version`
7909
7925
  # @return [String]
7910
7926
  attr_accessor :version
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DocumentaiV1
18
18
  # Version of the google-apis-documentai_v1 gem
19
- GEM_VERSION = "0.91.0"
19
+ GEM_VERSION = "0.93.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.1"
22
+ GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240911"
25
+ REVISION = "20250117"
26
26
  end
27
27
  end
28
28
  end
@@ -3101,6 +3101,8 @@ module Google
3101
3101
  class Representation < Google::Apis::Core::JsonRepresentation
3102
3102
  property :chunking_config, as: 'chunkingConfig', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessOptionsLayoutConfigChunkingConfig, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessOptionsLayoutConfigChunkingConfig::Representation
3103
3103
 
3104
+ property :return_bounding_boxes, as: 'returnBoundingBoxes'
3105
+ property :return_images, as: 'returnImages'
3104
3106
  end
3105
3107
  end
3106
3108
 
@@ -197,8 +197,8 @@ module Google
197
197
  # Clients can use Operations.GetOperation or other methods to check whether the
198
198
  # cancellation succeeded or whether the operation completed despite cancellation.
199
199
  # On successful cancellation, the operation is not deleted; instead, it becomes
200
- # an operation with an Operation.error value with a google.rpc.Status.code of 1,
201
- # corresponding to `Code.CANCELLED`.
200
+ # an operation with an Operation.error value with a google.rpc.Status.code of `1`
201
+ # , corresponding to `Code.CANCELLED`.
202
202
  # @param [String] name
203
203
  # The name of the operation resource to be cancelled.
204
204
  # @param [String] fields
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-documentai_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.91.0
4
+ version: 0.93.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-09-15 00:00:00.000000000 Z
10
+ date: 2025-03-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: google-apis-core
@@ -58,9 +57,8 @@ licenses:
58
57
  metadata:
59
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.91.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.93.0
62
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1
63
- post_install_message:
64
62
  rdoc_options: []
65
63
  require_paths:
66
64
  - lib
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
73
  - !ruby/object:Gem::Version
76
74
  version: '0'
77
75
  requirements: []
78
- rubygems_version: 3.5.6
79
- signing_key:
76
+ rubygems_version: 3.6.5
80
77
  specification_version: 4
81
78
  summary: Simple REST client for Cloud Document AI API V1
82
79
  test_files: []