google-cloud-document_ai-v1beta3 0.47.0 → 0.48.1
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 +4 -4
- data/lib/google/cloud/document_ai/v1beta3/version.rb +1 -1
- data/lib/google/cloud/documentai/v1beta3/barcode_pb.rb +2 -23
- data/lib/google/cloud/documentai/v1beta3/dataset_pb.rb +2 -26
- data/lib/google/cloud/documentai/v1beta3/document_io_pb.rb +2 -25
- data/lib/google/cloud/documentai/v1beta3/document_pb.rb +2 -32
- data/lib/google/cloud/documentai/v1beta3/document_processor_service_pb.rb +3 -34
- data/lib/google/cloud/documentai/v1beta3/document_schema_pb.rb +2 -23
- data/lib/google/cloud/documentai/v1beta3/document_service_pb.rb +2 -29
- data/lib/google/cloud/documentai/v1beta3/evaluation_pb.rb +2 -24
- data/lib/google/cloud/documentai/v1beta3/geometry_pb.rb +2 -23
- data/lib/google/cloud/documentai/v1beta3/operation_metadata_pb.rb +2 -24
- data/lib/google/cloud/documentai/v1beta3/processor_pb.rb +2 -26
- data/lib/google/cloud/documentai/v1beta3/processor_type_pb.rb +2 -23
- data/proto_docs/google/api/client.rb +145 -29
- data/proto_docs/google/cloud/documentai/v1beta3/document_processor_service.rb +7 -0
- data/proto_docs/google/protobuf/wrappers.rb +27 -0
- data/proto_docs/google/type/color.rb +8 -8
- data/proto_docs/google/type/date.rb +10 -7
- data/proto_docs/google/type/datetime.rb +16 -15
- data/proto_docs/google/type/postal_address.rb +38 -37
- metadata +2 -2
|
@@ -19,23 +19,23 @@
|
|
|
19
19
|
|
|
20
20
|
module Google
|
|
21
21
|
module Type
|
|
22
|
-
# Represents a postal address,
|
|
23
|
-
#
|
|
24
|
-
#
|
|
25
|
-
#
|
|
26
|
-
# mountains).
|
|
22
|
+
# Represents a postal address, such as for postal delivery or payments
|
|
23
|
+
# addresses. With a postal address, a postal service can deliver items to a
|
|
24
|
+
# premise, P.O. box, or similar. A postal address is not intended to model
|
|
25
|
+
# geographical locations like roads, towns, or mountains.
|
|
27
26
|
#
|
|
28
|
-
# In typical usage an address would be created
|
|
27
|
+
# In typical usage, an address would be created by user input or from importing
|
|
29
28
|
# existing data, depending on the type of process.
|
|
30
29
|
#
|
|
31
|
-
# Advice on address input
|
|
32
|
-
# - Use an i18n-ready address widget such as
|
|
33
|
-
# https://github.com/google/libaddressinput)
|
|
34
|
-
# - Users should not be presented with UI elements for input or editing of
|
|
35
|
-
# fields outside countries where that field is used.
|
|
30
|
+
# Advice on address input or editing:
|
|
36
31
|
#
|
|
37
|
-
#
|
|
38
|
-
#
|
|
32
|
+
# - Use an internationalization-ready address widget such as
|
|
33
|
+
# https://github.com/google/libaddressinput.
|
|
34
|
+
# - Users should not be presented with UI elements for input or editing of
|
|
35
|
+
# fields outside countries where that field is used.
|
|
36
|
+
#
|
|
37
|
+
# For more guidance on how to use this schema, see:
|
|
38
|
+
# https://support.google.com/business/answer/6397478.
|
|
39
39
|
# @!attribute [rw] revision
|
|
40
40
|
# @return [::Integer]
|
|
41
41
|
# The schema revision of the `PostalAddress`. This must be set to 0, which is
|
|
@@ -46,8 +46,8 @@ module Google
|
|
|
46
46
|
# @return [::String]
|
|
47
47
|
# Required. CLDR region code of the country/region of the address. This
|
|
48
48
|
# is never inferred and it is up to the user to ensure the value is
|
|
49
|
-
# correct. See
|
|
50
|
-
#
|
|
49
|
+
# correct. See https://cldr.unicode.org/ and
|
|
50
|
+
# https://www.unicode.org/cldr/charts/30/supplemental/territory_information.html
|
|
51
51
|
# for details. Example: "CH" for Switzerland.
|
|
52
52
|
# @!attribute [rw] language_code
|
|
53
53
|
# @return [::String]
|
|
@@ -67,55 +67,56 @@ module Google
|
|
|
67
67
|
# @return [::String]
|
|
68
68
|
# Optional. Postal code of the address. Not all countries use or require
|
|
69
69
|
# postal codes to be present, but where they are used, they may trigger
|
|
70
|
-
# additional validation with other parts of the address (
|
|
71
|
-
# validation in the
|
|
70
|
+
# additional validation with other parts of the address (for example,
|
|
71
|
+
# state or zip code validation in the United States).
|
|
72
72
|
# @!attribute [rw] sorting_code
|
|
73
73
|
# @return [::String]
|
|
74
74
|
# Optional. Additional, country-specific, sorting code. This is not used
|
|
75
75
|
# in most regions. Where it is used, the value is either a string like
|
|
76
|
-
# "CEDEX", optionally followed by a number (
|
|
77
|
-
# alone, representing the "sector code" (Jamaica), "delivery area
|
|
78
|
-
# (Malawi) or "post office indicator" (
|
|
76
|
+
# "CEDEX", optionally followed by a number (for example, "CEDEX 7"), or just
|
|
77
|
+
# a number alone, representing the "sector code" (Jamaica), "delivery area
|
|
78
|
+
# indicator" (Malawi) or "post office indicator" (Côte d'Ivoire).
|
|
79
79
|
# @!attribute [rw] administrative_area
|
|
80
80
|
# @return [::String]
|
|
81
81
|
# Optional. Highest administrative subdivision which is used for postal
|
|
82
82
|
# addresses of a country or region.
|
|
83
83
|
# For example, this can be a state, a province, an oblast, or a prefecture.
|
|
84
|
-
#
|
|
85
|
-
# community (
|
|
86
|
-
# Many countries don't use an administrative area in postal addresses.
|
|
87
|
-
# in Switzerland this should be left unpopulated.
|
|
84
|
+
# For Spain, this is the province and not the autonomous
|
|
85
|
+
# community (for example, "Barcelona" and not "Catalonia").
|
|
86
|
+
# Many countries don't use an administrative area in postal addresses. For
|
|
87
|
+
# example, in Switzerland, this should be left unpopulated.
|
|
88
88
|
# @!attribute [rw] locality
|
|
89
89
|
# @return [::String]
|
|
90
|
-
# Optional. Generally refers to the city
|
|
90
|
+
# Optional. Generally refers to the city or town portion of the address.
|
|
91
91
|
# Examples: US city, IT comune, UK post town.
|
|
92
92
|
# In regions of the world where localities are not well defined or do not fit
|
|
93
|
-
# into this structure well, leave locality empty and use address_lines
|
|
93
|
+
# into this structure well, leave `locality` empty and use `address_lines`.
|
|
94
94
|
# @!attribute [rw] sublocality
|
|
95
95
|
# @return [::String]
|
|
96
96
|
# Optional. Sublocality of the address.
|
|
97
|
-
# For example, this can be
|
|
97
|
+
# For example, this can be a neighborhood, borough, or district.
|
|
98
98
|
# @!attribute [rw] address_lines
|
|
99
99
|
# @return [::Array<::String>]
|
|
100
100
|
# Unstructured address lines describing the lower levels of an address.
|
|
101
101
|
#
|
|
102
|
-
# Because values in address_lines do not have type information and may
|
|
103
|
-
# sometimes contain multiple values in a single field (
|
|
102
|
+
# Because values in `address_lines` do not have type information and may
|
|
103
|
+
# sometimes contain multiple values in a single field (for example,
|
|
104
104
|
# "Austin, TX"), it is important that the line order is clear. The order of
|
|
105
|
-
# address lines should be "envelope order" for the country
|
|
106
|
-
# address. In places where this can vary (
|
|
107
|
-
# used to make it explicit (
|
|
108
|
-
# "ja-Latn" or "en" for small-to-large).
|
|
109
|
-
# an address can be selected based on the
|
|
105
|
+
# address lines should be "envelope order" for the country or region of the
|
|
106
|
+
# address. In places where this can vary (for example, Japan),
|
|
107
|
+
# `address_language` is used to make it explicit (for example, "ja" for
|
|
108
|
+
# large-to-small ordering and "ja-Latn" or "en" for small-to-large). In this
|
|
109
|
+
# way, the most specific line of an address can be selected based on the
|
|
110
|
+
# language.
|
|
110
111
|
#
|
|
111
112
|
# The minimum permitted structural representation of an address consists
|
|
112
|
-
# of a region_code with all remaining information placed in the
|
|
113
|
-
# address_lines
|
|
113
|
+
# of a `region_code` with all remaining information placed in the
|
|
114
|
+
# `address_lines`. It would be possible to format such an address very
|
|
114
115
|
# approximately without geocoding, but no semantic reasoning could be
|
|
115
116
|
# made about any of the address components until it was at least
|
|
116
117
|
# partially resolved.
|
|
117
118
|
#
|
|
118
|
-
# Creating an address only containing a region_code and address_lines
|
|
119
|
+
# Creating an address only containing a `region_code` and `address_lines` and
|
|
119
120
|
# then geocoding is the recommended way to handle completely unstructured
|
|
120
121
|
# addresses (as opposed to guessing which parts of the address should be
|
|
121
122
|
# localities or administrative areas).
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-document_ai-v1beta3
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.48.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -143,7 +143,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
143
143
|
requirements:
|
|
144
144
|
- - ">="
|
|
145
145
|
- !ruby/object:Gem::Version
|
|
146
|
-
version: '3.
|
|
146
|
+
version: '3.2'
|
|
147
147
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
148
148
|
requirements:
|
|
149
149
|
- - ">="
|