google-apis-documentai_v1 0.93.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
@@ -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
|
@@ -7776,46 +7776,46 @@ module Google
|
|
7776
7776
|
end
|
7777
7777
|
end
|
7778
7778
|
|
7779
|
-
# Represents a postal address
|
7780
|
-
# addresses. Given a postal address, a postal service can deliver items to a
|
7781
|
-
# premise, P.O.
|
7782
|
-
# 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
|
7783
7783
|
# created by user input or from importing existing data, depending on the type
|
7784
|
-
# of process. Advice on address input
|
7785
|
-
# 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. -
|
7786
7786
|
# Users should not be presented with UI elements for input or editing of fields
|
7787
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
|
7788
|
+
# this schema, see: https://support.google.com/business/answer/6397478.
|
7789
7789
|
class GoogleTypePostalAddress
|
7790
7790
|
include Google::Apis::Core::Hashable
|
7791
7791
|
|
7792
7792
|
# Unstructured address lines describing the lower levels of an address. Because
|
7793
|
-
# values in address_lines do not have type information and may sometimes
|
7794
|
-
# multiple values in a single field (
|
7795
|
-
# that the line order is clear. The order of address lines should be "
|
7796
|
-
# order" for the country
|
7797
|
-
#
|
7798
|
-
# ja" for large-to-small ordering and "ja-Latn" or "en" for small-
|
7799
|
-
#
|
7800
|
-
# language. The minimum permitted structural representation of an
|
7801
|
-
# consists of a region_code with all remaining information placed in
|
7802
|
-
# 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
|
7803
7803
|
# approximately without geocoding, but no semantic reasoning could be made about
|
7804
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
|
7806
|
-
# geocoding is the recommended way to handle completely unstructured
|
7807
|
-
# as opposed to guessing which parts of the address should be
|
7808
|
-
# 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).
|
7809
7809
|
# Corresponds to the JSON property `addressLines`
|
7810
7810
|
# @return [Array<String>]
|
7811
7811
|
attr_accessor :address_lines
|
7812
7812
|
|
7813
7813
|
# Optional. Highest administrative subdivision which is used for postal
|
7814
7814
|
# addresses of a country or region. For example, this can be a state, a province,
|
7815
|
-
# an oblast, or a prefecture.
|
7816
|
-
#
|
7817
|
-
#
|
7818
|
-
#
|
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.
|
7819
7819
|
# Corresponds to the JSON property `administrativeArea`
|
7820
7820
|
# @return [String]
|
7821
7821
|
attr_accessor :administrative_area
|
@@ -7832,10 +7832,10 @@ module Google
|
|
7832
7832
|
# @return [String]
|
7833
7833
|
attr_accessor :language_code
|
7834
7834
|
|
7835
|
-
# Optional. Generally refers to the city
|
7836
|
-
# US city, IT comune, UK post town. In regions of the world where
|
7837
|
-
# not well defined or do not fit into this structure well, leave
|
7838
|
-
# 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`.
|
7839
7839
|
# Corresponds to the JSON property `locality`
|
7840
7840
|
# @return [String]
|
7841
7841
|
attr_accessor :locality
|
@@ -7847,8 +7847,8 @@ module Google
|
|
7847
7847
|
|
7848
7848
|
# Optional. Postal code of the address. Not all countries use or require postal
|
7849
7849
|
# codes to be present, but where they are used, they may trigger additional
|
7850
|
-
# validation with other parts of the address (
|
7851
|
-
# in the
|
7850
|
+
# validation with other parts of the address (for example, state or zip code
|
7851
|
+
# validation in the United States).
|
7852
7852
|
# Corresponds to the JSON property `postalCode`
|
7853
7853
|
# @return [String]
|
7854
7854
|
attr_accessor :postal_code
|
@@ -7877,15 +7877,15 @@ module Google
|
|
7877
7877
|
|
7878
7878
|
# Optional. Additional, country-specific, sorting code. This is not used in most
|
7879
7879
|
# regions. Where it is used, the value is either a string like "CEDEX",
|
7880
|
-
# optionally followed by a number (
|
7880
|
+
# optionally followed by a number (for example, "CEDEX 7"), or just a number
|
7881
7881
|
# alone, representing the "sector code" (Jamaica), "delivery area indicator" (
|
7882
|
-
# Malawi) or "post office indicator" (
|
7882
|
+
# Malawi) or "post office indicator" (Côte d'Ivoire).
|
7883
7883
|
# Corresponds to the JSON property `sortingCode`
|
7884
7884
|
# @return [String]
|
7885
7885
|
attr_accessor :sorting_code
|
7886
7886
|
|
7887
|
-
# Optional. Sublocality of the address. For example, this can be
|
7888
|
-
#
|
7887
|
+
# Optional. Sublocality of the address. For example, this can be a neighborhood,
|
7888
|
+
# borough, or district.
|
7889
7889
|
# Corresponds to the JSON property `sublocality`
|
7890
7890
|
# @return [String]
|
7891
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
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
|
@@ -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,13 +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
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-03-
|
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_v1/CHANGELOG.md
|
60
|
-
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
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|