google-cloud-document_ai-v1beta3 0.6.0 → 0.9.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (25) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHENTICATION.md +8 -8
  3. data/README.md +1 -1
  4. data/lib/google/cloud/document_ai/v1beta3/document_processor_service/client.rb +468 -16
  5. data/lib/google/cloud/document_ai/v1beta3/document_processor_service/operations.rb +6 -6
  6. data/lib/google/cloud/document_ai/v1beta3/document_processor_service/paths.rb +17 -0
  7. data/lib/google/cloud/document_ai/v1beta3/version.rb +1 -1
  8. data/lib/google/cloud/documentai/v1beta3/document_pb.rb +5 -0
  9. data/lib/google/cloud/documentai/v1beta3/document_processor_service_pb.rb +64 -16
  10. data/lib/google/cloud/documentai/v1beta3/document_processor_service_services_pb.rb +14 -0
  11. data/lib/google/cloud/documentai/v1beta3/operation_metadata_pb.rb +36 -0
  12. data/lib/google/cloud/documentai/v1beta3/processor_pb.rb +45 -0
  13. data/lib/google/cloud/documentai/v1beta3/processor_type_pb.rb +32 -0
  14. data/proto_docs/google/api/field_behavior.rb +7 -1
  15. data/proto_docs/google/cloud/documentai/v1beta3/document.rb +30 -20
  16. data/proto_docs/google/cloud/documentai/v1beta3/document_processor_service.rb +149 -39
  17. data/proto_docs/google/cloud/documentai/v1beta3/geometry.rb +2 -2
  18. data/proto_docs/google/cloud/documentai/v1beta3/operation_metadata.rb +65 -0
  19. data/proto_docs/google/cloud/documentai/v1beta3/processor.rb +86 -0
  20. data/proto_docs/google/cloud/documentai/v1beta3/processor_type.rb +59 -0
  21. data/proto_docs/google/type/color.rb +16 -11
  22. data/proto_docs/google/type/date.rb +14 -11
  23. data/proto_docs/google/type/datetime.rb +9 -1
  24. data/proto_docs/google/type/money.rb +1 -1
  25. metadata +19 -7
@@ -19,28 +19,31 @@
19
19
 
20
20
  module Google
21
21
  module Type
22
- # Represents a whole or partial calendar date, e.g. a birthday. The time of day
23
- # and time zone are either specified elsewhere or are not significant. The date
24
- # is relative to the Proleptic Gregorian Calendar. This can represent:
22
+ # Represents a whole or partial calendar date, such as a birthday. The time of
23
+ # day and time zone are either specified elsewhere or are insignificant. The
24
+ # date is relative to the Gregorian Calendar. This can represent one of the
25
+ # following:
25
26
  #
26
- # * A full date, with non-zero year, month and day values
27
- # * A month and day value, with a zero year, e.g. an anniversary
27
+ # * A full date, with non-zero year, month, and day values
28
+ # * A month and day value, with a zero year, such as an anniversary
28
29
  # * A year on its own, with zero month and day values
29
- # * A year and month value, with a zero day, e.g. a credit card expiration date
30
+ # * A year and month value, with a zero day, such as a credit card expiration
31
+ # date
30
32
  #
31
- # Related types are [google.type.TimeOfDay][google.type.TimeOfDay] and `google.protobuf.Timestamp`.
33
+ # Related types are [google.type.TimeOfDay][google.type.TimeOfDay] and
34
+ # `google.protobuf.Timestamp`.
32
35
  # @!attribute [rw] year
33
36
  # @return [::Integer]
34
- # Year of date. Must be from 1 to 9999, or 0 if specifying a date without
37
+ # Year of the date. Must be from 1 to 9999, or 0 to specify a date without
35
38
  # a year.
36
39
  # @!attribute [rw] month
37
40
  # @return [::Integer]
38
- # Month of year. Must be from 1 to 12, or 0 if specifying a year without a
41
+ # Month of a year. Must be from 1 to 12, or 0 to specify a year without a
39
42
  # month and day.
40
43
  # @!attribute [rw] day
41
44
  # @return [::Integer]
42
- # Day of month. Must be from 1 to 31 and valid for the year and month, or 0
43
- # if specifying a year by itself or a year and month where the day is not
45
+ # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0
46
+ # to specify a year by itself or a year and month where the day isn't
44
47
  # significant.
45
48
  class Date
46
49
  include ::Google::Protobuf::MessageExts
@@ -19,7 +19,9 @@
19
19
 
20
20
  module Google
21
21
  module Type
22
- # Represents civil time in one of a few possible ways:
22
+ # Represents civil time (or occasionally physical time).
23
+ #
24
+ # This type can represent a civil time in one of a few possible ways:
23
25
  #
24
26
  # * When utc_offset is set and time_zone is unset: a civil time on a calendar
25
27
  # day with a particular offset from UTC.
@@ -33,6 +35,12 @@ module Google
33
35
  # If year is 0, the DateTime is considered not to have a specific year. month
34
36
  # and day must have valid, non-zero values.
35
37
  #
38
+ # This type may also be used to represent a physical time if all the date and
39
+ # time fields are set and either case of the `time_offset` oneof is set.
40
+ # Consider using `Timestamp` message for physical time instead. If your use
41
+ # case also would like to store the user's timezone, that can be done in
42
+ # another field.
43
+ #
36
44
  # This type is more flexible than some applications may want. Make sure to
37
45
  # document and validate your application's limitations.
38
46
  # @!attribute [rw] year
@@ -22,7 +22,7 @@ module Google
22
22
  # Represents an amount of money with its currency type.
23
23
  # @!attribute [rw] currency_code
24
24
  # @return [::String]
25
- # The 3-letter currency code defined in ISO 4217.
25
+ # The three-letter currency code defined in ISO 4217.
26
26
  # @!attribute [rw] units
27
27
  # @return [::Integer]
28
28
  # The whole units of the amount.
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-document_ai-v1beta3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-10 00:00:00.000000000 Z
11
+ date: 2021-07-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0.5'
20
+ - - "<"
18
21
  - !ruby/object:Gem::Version
19
- version: '0.3'
22
+ version: 2.a
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '0.5'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '0.3'
32
+ version: 2.a
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: google-cloud-errors
29
35
  requirement: !ruby/object:Gem::Requirement
@@ -177,6 +183,9 @@ files:
177
183
  - lib/google/cloud/documentai/v1beta3/document_processor_service_pb.rb
178
184
  - lib/google/cloud/documentai/v1beta3/document_processor_service_services_pb.rb
179
185
  - lib/google/cloud/documentai/v1beta3/geometry_pb.rb
186
+ - lib/google/cloud/documentai/v1beta3/operation_metadata_pb.rb
187
+ - lib/google/cloud/documentai/v1beta3/processor_pb.rb
188
+ - lib/google/cloud/documentai/v1beta3/processor_type_pb.rb
180
189
  - proto_docs/README.md
181
190
  - proto_docs/google/api/field_behavior.rb
182
191
  - proto_docs/google/api/resource.rb
@@ -184,6 +193,9 @@ files:
184
193
  - proto_docs/google/cloud/documentai/v1beta3/document_io.rb
185
194
  - proto_docs/google/cloud/documentai/v1beta3/document_processor_service.rb
186
195
  - proto_docs/google/cloud/documentai/v1beta3/geometry.rb
196
+ - proto_docs/google/cloud/documentai/v1beta3/operation_metadata.rb
197
+ - proto_docs/google/cloud/documentai/v1beta3/processor.rb
198
+ - proto_docs/google/cloud/documentai/v1beta3/processor_type.rb
187
199
  - proto_docs/google/longrunning/operations.rb
188
200
  - proto_docs/google/protobuf/any.rb
189
201
  - proto_docs/google/protobuf/duration.rb
@@ -216,7 +228,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
216
228
  - !ruby/object:Gem::Version
217
229
  version: '0'
218
230
  requirements: []
219
- rubygems_version: 3.2.13
231
+ rubygems_version: 3.2.17
220
232
  signing_key:
221
233
  specification_version: 4
222
234
  summary: API Client library for the Document AI V1beta3 API