google-apis-documentai_v1 0.92.0 → 0.94.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 10acb13527b26dc70b14cd560c65289a760334579a1258d54f9184ba67b0b992
|
4
|
+
data.tar.gz: 42c5ebbcb8055af46e5e0f3cf59ebc24e5297ce6dc9c018060c6c036516bf7dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 424d2301852829a3535b1383db9789744d02b09990a73057a952c418d571bfce616e7687d2324d3dbbb2f8b19cc6866e43b69acf37c5b965c1f398850c7ed732
|
7
|
+
data.tar.gz: 66a8ef8763389c8428caaf5b011589c5c9a884d18c742788a592d2eaa6445caaa6664a3807f62395a3cdd424827cfa7d25b44f3f1b229238793a93cd862fcd47
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-documentai_v1
|
2
2
|
|
3
|
+
### v0.94.0 (2025-03-23)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250321
|
6
|
+
|
7
|
+
### v0.93.0 (2025-01-26)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250117
|
10
|
+
* Regenerated using generator version 0.16.0
|
11
|
+
|
3
12
|
### v0.92.0 (2024-12-15)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20241210
|
@@ -2421,16 +2421,16 @@ module Google
|
|
2421
2421
|
class GoogleCloudDocumentaiV1DocumentEntityNormalizedValue
|
2422
2422
|
include Google::Apis::Core::Hashable
|
2423
2423
|
|
2424
|
-
# Represents a postal address
|
2425
|
-
# addresses. Given a postal address, a postal service can deliver items to a
|
2426
|
-
# premise, P.O.
|
2427
|
-
# locations (roads, towns, mountains). In typical usage an address would be
|
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
2428
|
# created by user input or from importing existing data, depending on the type
|
2429
|
-
# of process. Advice on address input
|
2430
|
-
# ready address widget such as https://github.com/google/libaddressinput
|
2429
|
+
# of process. Advice on address input or editing: - Use an internationalization-
|
2430
|
+
# ready address widget such as https://github.com/google/libaddressinput. -
|
2431
2431
|
# Users should not be presented with UI elements for input or editing of fields
|
2432
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
|
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,46 +7776,46 @@ module Google
|
|
7761
7776
|
end
|
7762
7777
|
end
|
7763
7778
|
|
7764
|
-
# Represents a postal address
|
7765
|
-
# addresses. Given a postal address, a postal service can deliver items to a
|
7766
|
-
# premise, P.O.
|
7767
|
-
# locations (roads, towns, mountains). In typical usage an address would be
|
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
|
7768
7783
|
# created by user input or from importing existing data, depending on the type
|
7769
|
-
# of process. Advice on address input
|
7770
|
-
# ready address widget such as https://github.com/google/libaddressinput
|
7784
|
+
# of process. Advice on address input or editing: - Use an internationalization-
|
7785
|
+
# ready address widget such as https://github.com/google/libaddressinput. -
|
7771
7786
|
# Users should not be presented with UI elements for input or editing of fields
|
7772
7787
|
# outside countries where that field is used. For more guidance on how to use
|
7773
|
-
# this schema, see: https://support.google.com/business/answer/6397478
|
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
|
-
# values in address_lines do not have type information and may sometimes
|
7779
|
-
# multiple values in a single field (
|
7780
|
-
# that the line order is clear. The order of address lines should be "
|
7781
|
-
# order" for the country
|
7782
|
-
#
|
7783
|
-
# ja" for large-to-small ordering and "ja-Latn" or "en" for small-
|
7784
|
-
#
|
7785
|
-
# language. The minimum permitted structural representation of an
|
7786
|
-
# consists of a region_code with all remaining information placed in
|
7787
|
-
# address_lines
|
7793
|
+
# values in `address_lines` do not have type information and may sometimes
|
7794
|
+
# contain multiple values in a single field (for example, "Austin, TX"), it is
|
7795
|
+
# important that the line order is clear. The order of address lines should be "
|
7796
|
+
# envelope order" for the country or region of the address. In places where this
|
7797
|
+
# can vary (for example, Japan), `address_language` is used to make it explicit (
|
7798
|
+
# for example, "ja" for large-to-small ordering and "ja-Latn" or "en" for small-
|
7799
|
+
# to-large). In this way, the most specific line of an address can be selected
|
7800
|
+
# based on the language. The minimum permitted structural representation of an
|
7801
|
+
# address consists of a `region_code` with all remaining information placed in
|
7802
|
+
# the `address_lines`. It would be possible to format such an address very
|
7788
7803
|
# approximately without geocoding, but no semantic reasoning could be made about
|
7789
7804
|
# any of the address components until it was at least partially resolved.
|
7790
|
-
# Creating an address only containing a region_code and address_lines
|
7791
|
-
# geocoding is the recommended way to handle completely unstructured
|
7792
|
-
# as opposed to guessing which parts of the address should be
|
7793
|
-
# administrative areas).
|
7805
|
+
# Creating an address only containing a `region_code` and `address_lines` and
|
7806
|
+
# then geocoding is the recommended way to handle completely unstructured
|
7807
|
+
# addresses (as opposed to guessing which parts of the address should be
|
7808
|
+
# localities or administrative areas).
|
7794
7809
|
# Corresponds to the JSON property `addressLines`
|
7795
7810
|
# @return [Array<String>]
|
7796
7811
|
attr_accessor :address_lines
|
7797
7812
|
|
7798
7813
|
# Optional. Highest administrative subdivision which is used for postal
|
7799
7814
|
# addresses of a country or region. For example, this can be a state, a province,
|
7800
|
-
# an oblast, or a prefecture.
|
7801
|
-
#
|
7802
|
-
#
|
7803
|
-
#
|
7815
|
+
# an oblast, or a prefecture. For Spain, this is the province and not the
|
7816
|
+
# autonomous community (for example, "Barcelona" and not "Catalonia"). Many
|
7817
|
+
# countries don't use an administrative area in postal addresses. For example,
|
7818
|
+
# in Switzerland, this should be left unpopulated.
|
7804
7819
|
# Corresponds to the JSON property `administrativeArea`
|
7805
7820
|
# @return [String]
|
7806
7821
|
attr_accessor :administrative_area
|
@@ -7817,10 +7832,10 @@ module Google
|
|
7817
7832
|
# @return [String]
|
7818
7833
|
attr_accessor :language_code
|
7819
7834
|
|
7820
|
-
# Optional. Generally refers to the city
|
7821
|
-
# US city, IT comune, UK post town. In regions of the world where
|
7822
|
-
# not well defined or do not fit into this structure well, leave
|
7823
|
-
# and use address_lines
|
7835
|
+
# Optional. Generally refers to the city or town portion of the address.
|
7836
|
+
# Examples: US city, IT comune, UK post town. In regions of the world where
|
7837
|
+
# localities are not well defined or do not fit into this structure well, leave `
|
7838
|
+
# locality` empty and use `address_lines`.
|
7824
7839
|
# Corresponds to the JSON property `locality`
|
7825
7840
|
# @return [String]
|
7826
7841
|
attr_accessor :locality
|
@@ -7832,8 +7847,8 @@ module Google
|
|
7832
7847
|
|
7833
7848
|
# Optional. Postal code of the address. Not all countries use or require postal
|
7834
7849
|
# codes to be present, but where they are used, they may trigger additional
|
7835
|
-
# validation with other parts of the address (
|
7836
|
-
# in the
|
7850
|
+
# validation with other parts of the address (for example, state or zip code
|
7851
|
+
# validation in the United States).
|
7837
7852
|
# Corresponds to the JSON property `postalCode`
|
7838
7853
|
# @return [String]
|
7839
7854
|
attr_accessor :postal_code
|
@@ -7862,15 +7877,15 @@ module Google
|
|
7862
7877
|
|
7863
7878
|
# Optional. Additional, country-specific, sorting code. This is not used in most
|
7864
7879
|
# regions. Where it is used, the value is either a string like "CEDEX",
|
7865
|
-
# optionally followed by a number (
|
7880
|
+
# optionally followed by a number (for example, "CEDEX 7"), or just a number
|
7866
7881
|
# alone, representing the "sector code" (Jamaica), "delivery area indicator" (
|
7867
|
-
# Malawi) or "post office indicator" (
|
7882
|
+
# Malawi) or "post office indicator" (Côte d'Ivoire).
|
7868
7883
|
# Corresponds to the JSON property `sortingCode`
|
7869
7884
|
# @return [String]
|
7870
7885
|
attr_accessor :sorting_code
|
7871
7886
|
|
7872
|
-
# Optional. Sublocality of the address. For example, this can be
|
7873
|
-
#
|
7887
|
+
# Optional. Sublocality of the address. For example, this can be a neighborhood,
|
7888
|
+
# borough, or district.
|
7874
7889
|
# Corresponds to the JSON property `sublocality`
|
7875
7890
|
# @return [String]
|
7876
7891
|
attr_accessor :sublocality
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.94.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250321"
|
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
|
|
@@ -151,6 +151,9 @@ module Google
|
|
151
151
|
# Lists information about the supported locations for this service.
|
152
152
|
# @param [String] name
|
153
153
|
# The resource that owns the locations collection, if applicable.
|
154
|
+
# @param [Array<String>, String] extra_location_types
|
155
|
+
# Optional. A list of extra location types that should be used as conditions for
|
156
|
+
# controlling the visibility of the locations.
|
154
157
|
# @param [String] filter
|
155
158
|
# A filter to narrow down results to a preferred subset. The filtering language
|
156
159
|
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
@@ -178,11 +181,12 @@ module Google
|
|
178
181
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
179
182
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
180
183
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
181
|
-
def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
184
|
+
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)
|
182
185
|
command = make_simple_command(:get, 'v1/{+name}/locations', options)
|
183
186
|
command.response_representation = Google::Apis::DocumentaiV1::GoogleCloudLocationListLocationsResponse::Representation
|
184
187
|
command.response_class = Google::Apis::DocumentaiV1::GoogleCloudLocationListLocationsResponse
|
185
188
|
command.params['name'] = name unless name.nil?
|
189
|
+
command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil?
|
186
190
|
command.query['filter'] = filter unless filter.nil?
|
187
191
|
command.query['pageSize'] = page_size unless page_size.nil?
|
188
192
|
command.query['pageToken'] = page_token unless page_token.nil?
|
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.
|
4
|
+
version: 0.94.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-03-23 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.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.94.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
|
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: []
|