google-apis-documentai_v1beta2 0.24.0 → 0.28.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e81c30249be8b97eb645893e0e04a88d8a820e449860d715163af306ab48790b
|
4
|
+
data.tar.gz: 40e72f7932e0b5ba2c5e3a5ad3b13ae1ebd85164a5747a45006bb4a21651d899
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8838a3cf2c5d39d0c2beafce7da660fe81dd35409d16f9830866a50ffc8207605ed825e51a9c671a9ea0417a170c300a2d79dfe57bc9537a71b47d33e0090064
|
7
|
+
data.tar.gz: 39e88f1c14dcb387b4b7d7d2fcd53b500b955709a999f0e09d91dcefb328081c2da54a501dfbffc5feda9cdf5f57e7f3483338db4492bef341cdbf86ba77584d
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,23 @@
|
|
1
1
|
# Release history for google-apis-documentai_v1beta2
|
2
2
|
|
3
|
+
### v0.28.0 (2022-02-08)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220205
|
6
|
+
|
7
|
+
### v0.27.0 (2022-02-01)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220129
|
10
|
+
|
11
|
+
### v0.26.0 (2022-01-20)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220114
|
14
|
+
* Regenerated using generator version 0.4.1
|
15
|
+
|
16
|
+
### v0.25.0 (2021-12-16)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20211214
|
19
|
+
* Unspecified changes
|
20
|
+
|
3
21
|
### v0.24.0 (2021-12-07)
|
4
22
|
|
5
23
|
* Regenerated from discovery document revision 20211203
|
data/OVERVIEW.md
CHANGED
@@ -51,7 +51,7 @@ require "google/apis/documentai_v1beta2"
|
|
51
51
|
client = Google::Apis::DocumentaiV1beta2::DocumentService.new
|
52
52
|
|
53
53
|
# Authenticate calls
|
54
|
-
client.
|
54
|
+
client.authorization = # ... use the googleauth gem to create credentials
|
55
55
|
```
|
56
56
|
|
57
57
|
See the class reference docs for information on the methods you can call from a client.
|
@@ -856,7 +856,7 @@ module Google
|
|
856
856
|
# @return [String]
|
857
857
|
attr_accessor :input_gcs_source
|
858
858
|
|
859
|
-
# The output_gcs_destination (in the request as
|
859
|
+
# The output_gcs_destination (in the request as `output_gcs_destination`) of the
|
860
860
|
# processed document if it was successful, otherwise empty.
|
861
861
|
# Corresponds to the JSON property `outputGcsDestination`
|
862
862
|
# @return [String]
|
@@ -1120,6 +1120,11 @@ module Google
|
|
1120
1120
|
# @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata]
|
1121
1121
|
attr_accessor :common_metadata
|
1122
1122
|
|
1123
|
+
# The Crowd Compute question ID.
|
1124
|
+
# Corresponds to the JSON property `questionId`
|
1125
|
+
# @return [String]
|
1126
|
+
attr_accessor :question_id
|
1127
|
+
|
1123
1128
|
def initialize(**args)
|
1124
1129
|
update!(**args)
|
1125
1130
|
end
|
@@ -1127,6 +1132,7 @@ module Google
|
|
1127
1132
|
# Update properties of this object
|
1128
1133
|
def update!(**args)
|
1129
1134
|
@common_metadata = args[:common_metadata] if args.key?(:common_metadata)
|
1135
|
+
@question_id = args[:question_id] if args.key?(:question_id)
|
1130
1136
|
end
|
1131
1137
|
end
|
1132
1138
|
|
@@ -1213,6 +1219,68 @@ module Google
|
|
1213
1219
|
end
|
1214
1220
|
end
|
1215
1221
|
|
1222
|
+
# The long running operation metadata for AnalyzeHitlData.
|
1223
|
+
class GoogleCloudDocumentaiV1alpha1AnalyzeHitlDataMetadata
|
1224
|
+
include Google::Apis::Core::Hashable
|
1225
|
+
|
1226
|
+
# The common metadata for long running operations.
|
1227
|
+
# Corresponds to the JSON property `commonMetadata`
|
1228
|
+
# @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1alpha1CommonOperationMetadata]
|
1229
|
+
attr_accessor :common_metadata
|
1230
|
+
|
1231
|
+
def initialize(**args)
|
1232
|
+
update!(**args)
|
1233
|
+
end
|
1234
|
+
|
1235
|
+
# Update properties of this object
|
1236
|
+
def update!(**args)
|
1237
|
+
@common_metadata = args[:common_metadata] if args.key?(:common_metadata)
|
1238
|
+
end
|
1239
|
+
end
|
1240
|
+
|
1241
|
+
# The common metadata for long running operations.
|
1242
|
+
class GoogleCloudDocumentaiV1alpha1CommonOperationMetadata
|
1243
|
+
include Google::Apis::Core::Hashable
|
1244
|
+
|
1245
|
+
# The creation time of the operation.
|
1246
|
+
# Corresponds to the JSON property `createTime`
|
1247
|
+
# @return [String]
|
1248
|
+
attr_accessor :create_time
|
1249
|
+
|
1250
|
+
# A related resource to this operation.
|
1251
|
+
# Corresponds to the JSON property `resource`
|
1252
|
+
# @return [String]
|
1253
|
+
attr_accessor :resource
|
1254
|
+
|
1255
|
+
# The state of the operation.
|
1256
|
+
# Corresponds to the JSON property `state`
|
1257
|
+
# @return [String]
|
1258
|
+
attr_accessor :state
|
1259
|
+
|
1260
|
+
# A message providing more details about the current state of processing.
|
1261
|
+
# Corresponds to the JSON property `stateMessage`
|
1262
|
+
# @return [String]
|
1263
|
+
attr_accessor :state_message
|
1264
|
+
|
1265
|
+
# The last update time of the operation.
|
1266
|
+
# Corresponds to the JSON property `updateTime`
|
1267
|
+
# @return [String]
|
1268
|
+
attr_accessor :update_time
|
1269
|
+
|
1270
|
+
def initialize(**args)
|
1271
|
+
update!(**args)
|
1272
|
+
end
|
1273
|
+
|
1274
|
+
# Update properties of this object
|
1275
|
+
def update!(**args)
|
1276
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1277
|
+
@resource = args[:resource] if args.key?(:resource)
|
1278
|
+
@state = args[:state] if args.key?(:state)
|
1279
|
+
@state_message = args[:state_message] if args.key?(:state_message)
|
1280
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
1281
|
+
end
|
1282
|
+
end
|
1283
|
+
|
1216
1284
|
# Response to an batch document processing request. This is returned in the LRO
|
1217
1285
|
# Operation after the operation is complete.
|
1218
1286
|
class GoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse
|
@@ -1363,7 +1431,7 @@ module Google
|
|
1363
1431
|
end
|
1364
1432
|
end
|
1365
1433
|
|
1366
|
-
# An entity that could be a phrase in the text or a property belongs to the
|
1434
|
+
# An entity that could be a phrase in the text or a property that belongs to the
|
1367
1435
|
# document. It is a known entity type, such as a person, an organization, or
|
1368
1436
|
# location.
|
1369
1437
|
class GoogleCloudDocumentaiV1beta1DocumentEntity
|
@@ -1479,10 +1547,10 @@ module Google
|
|
1479
1547
|
# day and time zone are either specified elsewhere or are insignificant. The
|
1480
1548
|
# date is relative to the Gregorian Calendar. This can represent one of the
|
1481
1549
|
# following: * A full date, with non-zero year, month, and day values * A month
|
1482
|
-
# and day
|
1483
|
-
#
|
1484
|
-
#
|
1485
|
-
# google.protobuf.Timestamp
|
1550
|
+
# and day, with a zero year (e.g., an anniversary) * A year on its own, with a
|
1551
|
+
# zero month and a zero day * A year and month, with a zero day (e.g., a credit
|
1552
|
+
# card expiration date) Related types: * google.type.TimeOfDay * google.type.
|
1553
|
+
# DateTime * google.protobuf.Timestamp
|
1486
1554
|
# Corresponds to the JSON property `dateValue`
|
1487
1555
|
# @return [Google::Apis::DocumentaiV1beta2::GoogleTypeDate]
|
1488
1556
|
attr_accessor :date_value
|
@@ -1521,8 +1589,8 @@ module Google
|
|
1521
1589
|
attr_accessor :money_value
|
1522
1590
|
|
1523
1591
|
# Optional. An optional field to store a normalized string. For some entity
|
1524
|
-
# types, one of respective
|
1525
|
-
# not all the types of
|
1592
|
+
# types, one of respective `structured_value` fields may also be populated. Also
|
1593
|
+
# not all the types of `structured_value` will be normalized. For example, some
|
1526
1594
|
# processors may not generate float or int normalized text by default. Below are
|
1527
1595
|
# sample formats mapped to structured values. - Money/Currency type (`
|
1528
1596
|
# money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in
|
@@ -2324,7 +2392,7 @@ module Google
|
|
2324
2392
|
attr_accessor :id
|
2325
2393
|
|
2326
2394
|
# The index of the parent item in the corresponding item list (eg. list of
|
2327
|
-
# entities, properties within entities, etc.)
|
2395
|
+
# entities, properties within entities, etc.) in the parent revision.
|
2328
2396
|
# Corresponds to the JSON property `index`
|
2329
2397
|
# @return [Fixnum]
|
2330
2398
|
attr_accessor :index
|
@@ -3130,7 +3198,7 @@ module Google
|
|
3130
3198
|
end
|
3131
3199
|
end
|
3132
3200
|
|
3133
|
-
# An entity that could be a phrase in the text or a property belongs to the
|
3201
|
+
# An entity that could be a phrase in the text or a property that belongs to the
|
3134
3202
|
# document. It is a known entity type, such as a person, an organization, or
|
3135
3203
|
# location.
|
3136
3204
|
class GoogleCloudDocumentaiV1beta2DocumentEntity
|
@@ -3246,10 +3314,10 @@ module Google
|
|
3246
3314
|
# day and time zone are either specified elsewhere or are insignificant. The
|
3247
3315
|
# date is relative to the Gregorian Calendar. This can represent one of the
|
3248
3316
|
# following: * A full date, with non-zero year, month, and day values * A month
|
3249
|
-
# and day
|
3250
|
-
#
|
3251
|
-
#
|
3252
|
-
# google.protobuf.Timestamp
|
3317
|
+
# and day, with a zero year (e.g., an anniversary) * A year on its own, with a
|
3318
|
+
# zero month and a zero day * A year and month, with a zero day (e.g., a credit
|
3319
|
+
# card expiration date) Related types: * google.type.TimeOfDay * google.type.
|
3320
|
+
# DateTime * google.protobuf.Timestamp
|
3253
3321
|
# Corresponds to the JSON property `dateValue`
|
3254
3322
|
# @return [Google::Apis::DocumentaiV1beta2::GoogleTypeDate]
|
3255
3323
|
attr_accessor :date_value
|
@@ -3288,8 +3356,8 @@ module Google
|
|
3288
3356
|
attr_accessor :money_value
|
3289
3357
|
|
3290
3358
|
# Optional. An optional field to store a normalized string. For some entity
|
3291
|
-
# types, one of respective
|
3292
|
-
# not all the types of
|
3359
|
+
# types, one of respective `structured_value` fields may also be populated. Also
|
3360
|
+
# not all the types of `structured_value` will be normalized. For example, some
|
3293
3361
|
# processors may not generate float or int normalized text by default. Below are
|
3294
3362
|
# sample formats mapped to structured values. - Money/Currency type (`
|
3295
3363
|
# money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in
|
@@ -4128,7 +4196,7 @@ module Google
|
|
4128
4196
|
attr_accessor :id
|
4129
4197
|
|
4130
4198
|
# The index of the parent item in the corresponding item list (eg. list of
|
4131
|
-
# entities, properties within entities, etc.)
|
4199
|
+
# entities, properties within entities, etc.) in the parent revision.
|
4132
4200
|
# Corresponds to the JSON property `index`
|
4133
4201
|
# @return [Fixnum]
|
4134
4202
|
attr_accessor :index
|
@@ -5070,7 +5138,7 @@ module Google
|
|
5070
5138
|
# @return [String]
|
5071
5139
|
attr_accessor :input_gcs_source
|
5072
5140
|
|
5073
|
-
# The output_gcs_destination (in the request as
|
5141
|
+
# The output_gcs_destination (in the request as `output_gcs_destination`) of the
|
5074
5142
|
# processed document if it was successful, otherwise empty.
|
5075
5143
|
# Corresponds to the JSON property `outputGcsDestination`
|
5076
5144
|
# @return [String]
|
@@ -5340,6 +5408,11 @@ module Google
|
|
5340
5408
|
# @return [String]
|
5341
5409
|
attr_accessor :create_time
|
5342
5410
|
|
5411
|
+
# The Crowd Compute question ID.
|
5412
|
+
# Corresponds to the JSON property `questionId`
|
5413
|
+
# @return [String]
|
5414
|
+
attr_accessor :question_id
|
5415
|
+
|
5343
5416
|
# Used only when Operation.done is false.
|
5344
5417
|
# Corresponds to the JSON property `state`
|
5345
5418
|
# @return [String]
|
@@ -5364,6 +5437,7 @@ module Google
|
|
5364
5437
|
def update!(**args)
|
5365
5438
|
@common_metadata = args[:common_metadata] if args.key?(:common_metadata)
|
5366
5439
|
@create_time = args[:create_time] if args.key?(:create_time)
|
5440
|
+
@question_id = args[:question_id] if args.key?(:question_id)
|
5367
5441
|
@state = args[:state] if args.key?(:state)
|
5368
5442
|
@state_message = args[:state_message] if args.key?(:state_message)
|
5369
5443
|
@update_time = args[:update_time] if args.key?(:update_time)
|
@@ -5663,10 +5737,10 @@ module Google
|
|
5663
5737
|
# day and time zone are either specified elsewhere or are insignificant. The
|
5664
5738
|
# date is relative to the Gregorian Calendar. This can represent one of the
|
5665
5739
|
# following: * A full date, with non-zero year, month, and day values * A month
|
5666
|
-
# and day
|
5667
|
-
#
|
5668
|
-
#
|
5669
|
-
# google.protobuf.Timestamp
|
5740
|
+
# and day, with a zero year (e.g., an anniversary) * A year on its own, with a
|
5741
|
+
# zero month and a zero day * A year and month, with a zero day (e.g., a credit
|
5742
|
+
# card expiration date) Related types: * google.type.TimeOfDay * google.type.
|
5743
|
+
# DateTime * google.protobuf.Timestamp
|
5670
5744
|
class GoogleTypeDate
|
5671
5745
|
include Google::Apis::Core::Hashable
|
5672
5746
|
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DocumentaiV1beta2
|
18
18
|
# Version of the google-apis-documentai_v1beta2 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.28.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.4.
|
22
|
+
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220205"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -352,6 +352,18 @@ module Google
|
|
352
352
|
include Google::Apis::Core::JsonObjectSupport
|
353
353
|
end
|
354
354
|
|
355
|
+
class GoogleCloudDocumentaiV1alpha1AnalyzeHitlDataMetadata
|
356
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
357
|
+
|
358
|
+
include Google::Apis::Core::JsonObjectSupport
|
359
|
+
end
|
360
|
+
|
361
|
+
class GoogleCloudDocumentaiV1alpha1CommonOperationMetadata
|
362
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
|
+
|
364
|
+
include Google::Apis::Core::JsonObjectSupport
|
365
|
+
end
|
366
|
+
|
355
367
|
class GoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse
|
356
368
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
357
369
|
|
@@ -1489,6 +1501,7 @@ module Google
|
|
1489
1501
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1490
1502
|
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata::Representation
|
1491
1503
|
|
1504
|
+
property :question_id, as: 'questionId'
|
1492
1505
|
end
|
1493
1506
|
end
|
1494
1507
|
|
@@ -1527,6 +1540,25 @@ module Google
|
|
1527
1540
|
end
|
1528
1541
|
end
|
1529
1542
|
|
1543
|
+
class GoogleCloudDocumentaiV1alpha1AnalyzeHitlDataMetadata
|
1544
|
+
# @private
|
1545
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1546
|
+
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1alpha1CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1alpha1CommonOperationMetadata::Representation
|
1547
|
+
|
1548
|
+
end
|
1549
|
+
end
|
1550
|
+
|
1551
|
+
class GoogleCloudDocumentaiV1alpha1CommonOperationMetadata
|
1552
|
+
# @private
|
1553
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1554
|
+
property :create_time, as: 'createTime'
|
1555
|
+
property :resource, as: 'resource'
|
1556
|
+
property :state, as: 'state'
|
1557
|
+
property :state_message, as: 'stateMessage'
|
1558
|
+
property :update_time, as: 'updateTime'
|
1559
|
+
end
|
1560
|
+
end
|
1561
|
+
|
1530
1562
|
class GoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse
|
1531
1563
|
# @private
|
1532
1564
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2720,6 +2752,7 @@ module Google
|
|
2720
2752
|
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata::Representation
|
2721
2753
|
|
2722
2754
|
property :create_time, as: 'createTime'
|
2755
|
+
property :question_id, as: 'questionId'
|
2723
2756
|
property :state, as: 'state'
|
2724
2757
|
property :state_message, as: 'stateMessage'
|
2725
2758
|
property :update_time, as: 'updateTime'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-documentai_v1beta2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.28.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-02-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1beta2/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta2/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta2/v0.28.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1beta2
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.3.5
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Document AI API V1beta2
|