google-apis-documentai_v1 0.1.0 → 0.2.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: 600699ef1d9da01a557584193eb76c9afbe42bbf49bde0f713b1757a0332941e
4
- data.tar.gz: db1bc874afc8223111b1d8fe331e6fb3016d36dfd4b06b5392ef0a3b5a66f602
3
+ metadata.gz: e191191b3b6e2aa029af7bb1c2d9d037f0bb786cb6de64a5e1f2bf544fabf710
4
+ data.tar.gz: b95808575d15f4b0c12c0e19cad7d420e22c87019e243a3c14cd9717c659c9ab
5
5
  SHA512:
6
- metadata.gz: 59e83e89140606f1a5012c0bae9947c2d278f5feefe91b7b3bfd07973f7c1131902216133e391eef18ca032b2ff6a9892f9f214fea59cab0c6dbe188cdbbd6b1
7
- data.tar.gz: 45ef6cab3bbac6602f7525a2fa6196f62dd93e6e93e163c623003bdc40973e3f6956c42eab0998a884f40977295929fea2b7bfd08eeddbe5ebc0077cd4025d7f
6
+ metadata.gz: 9edb836aa2db387ce302e11ee9b20b805fd531355d87a6bd1f535f456d8f2ff6ca8c08fcd70d00f6de7ec23df7dce6efb58d3ca239b2c09d835927d06840752f
7
+ data.tar.gz: a856bef3cdda6334094afd692d4cf9da6468d6bb6bebc3f3543b3f0a44b6e8c9021076fe596f509780a6db298a7e232428cec081f4bbbd88e0b7e5dfc11c5d38
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-documentai_v1
2
2
 
3
+ ### v0.2.0 (2021-05-12)
4
+
5
+ * Regenerated from discovery document revision 20210507
6
+
3
7
  ### v0.1.0 (2021-03-31)
4
8
 
5
9
  * Regenerated from discovery document revision 20210329
@@ -341,12 +341,22 @@ module Google
341
341
  class GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation
342
342
  include Google::Apis::Core::Hashable
343
343
 
344
+ # The total number of dataset errors.
345
+ # Corresponds to the JSON property `datasetErrorCount`
346
+ # @return [Fixnum]
347
+ attr_accessor :dataset_error_count
348
+
344
349
  # Error information for the dataset as a whole. A maximum of 10 dataset errors
345
350
  # will be returned. A single dataset error is terminal for training.
346
351
  # Corresponds to the JSON property `datasetErrors`
347
352
  # @return [Array<Google::Apis::DocumentaiV1::GoogleRpcStatus>]
348
353
  attr_accessor :dataset_errors
349
354
 
355
+ # The total number of document errors.
356
+ # Corresponds to the JSON property `documentErrorCount`
357
+ # @return [Fixnum]
358
+ attr_accessor :document_error_count
359
+
350
360
  # Error information pertaining to specific documents. A maximum of 10 document
351
361
  # errors will be returned. Any document with errors will not be used throughout
352
362
  # training.
@@ -360,7 +370,9 @@ module Google
360
370
 
361
371
  # Update properties of this object
362
372
  def update!(**args)
373
+ @dataset_error_count = args[:dataset_error_count] if args.key?(:dataset_error_count)
363
374
  @dataset_errors = args[:dataset_errors] if args.key?(:dataset_errors)
375
+ @document_error_count = args[:document_error_count] if args.key?(:document_error_count)
364
376
  @document_errors = args[:document_errors] if args.key?(:document_errors)
365
377
  end
366
378
  end
@@ -1152,6 +1164,11 @@ module Google
1152
1164
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1BoundingPoly]
1153
1165
  attr_accessor :bounding_poly
1154
1166
 
1167
+ # Optional. Confidence of detected page element, if applicable. Range [0, 1].
1168
+ # Corresponds to the JSON property `confidence`
1169
+ # @return [Float]
1170
+ attr_accessor :confidence
1171
+
1155
1172
  # Optional. Deprecated. Use PageRef.bounding_poly instead.
1156
1173
  # Corresponds to the JSON property `layoutId`
1157
1174
  # @return [String]
@@ -1175,6 +1192,7 @@ module Google
1175
1192
  # Update properties of this object
1176
1193
  def update!(**args)
1177
1194
  @bounding_poly = args[:bounding_poly] if args.key?(:bounding_poly)
1195
+ @confidence = args[:confidence] if args.key?(:confidence)
1178
1196
  @layout_id = args[:layout_id] if args.key?(:layout_id)
1179
1197
  @layout_type = args[:layout_type] if args.key?(:layout_type)
1180
1198
  @page = args[:page] if args.key?(:page)
@@ -1729,6 +1747,12 @@ module Google
1729
1747
  # @return [Fixnum]
1730
1748
  attr_accessor :id
1731
1749
 
1750
+ # The index of the parent revisions corresponding collection of items (eg. list
1751
+ # of entities, properties within entities, etc.)
1752
+ # Corresponds to the JSON property `index`
1753
+ # @return [Fixnum]
1754
+ attr_accessor :index
1755
+
1732
1756
  # The index of the [Document.revisions] identifying the parent revision.
1733
1757
  # Corresponds to the JSON property `revision`
1734
1758
  # @return [Fixnum]
@@ -1741,6 +1765,7 @@ module Google
1741
1765
  # Update properties of this object
1742
1766
  def update!(**args)
1743
1767
  @id = args[:id] if args.key?(:id)
1768
+ @index = args[:index] if args.key?(:index)
1744
1769
  @revision = args[:revision] if args.key?(:revision)
1745
1770
  end
1746
1771
  end
@@ -2890,6 +2915,11 @@ module Google
2890
2915
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1BoundingPoly]
2891
2916
  attr_accessor :bounding_poly
2892
2917
 
2918
+ # Optional. Confidence of detected page element, if applicable. Range [0, 1].
2919
+ # Corresponds to the JSON property `confidence`
2920
+ # @return [Float]
2921
+ attr_accessor :confidence
2922
+
2893
2923
  # Optional. Deprecated. Use PageRef.bounding_poly instead.
2894
2924
  # Corresponds to the JSON property `layoutId`
2895
2925
  # @return [String]
@@ -2913,6 +2943,7 @@ module Google
2913
2943
  # Update properties of this object
2914
2944
  def update!(**args)
2915
2945
  @bounding_poly = args[:bounding_poly] if args.key?(:bounding_poly)
2946
+ @confidence = args[:confidence] if args.key?(:confidence)
2916
2947
  @layout_id = args[:layout_id] if args.key?(:layout_id)
2917
2948
  @layout_type = args[:layout_type] if args.key?(:layout_type)
2918
2949
  @page = args[:page] if args.key?(:page)
@@ -3467,6 +3498,12 @@ module Google
3467
3498
  # @return [Fixnum]
3468
3499
  attr_accessor :id
3469
3500
 
3501
+ # The index of the parent revisions corresponding collection of items (eg. list
3502
+ # of entities, properties within entities, etc.)
3503
+ # Corresponds to the JSON property `index`
3504
+ # @return [Fixnum]
3505
+ attr_accessor :index
3506
+
3470
3507
  # The index of the [Document.revisions] identifying the parent revision.
3471
3508
  # Corresponds to the JSON property `revision`
3472
3509
  # @return [Fixnum]
@@ -3479,6 +3516,7 @@ module Google
3479
3516
  # Update properties of this object
3480
3517
  def update!(**args)
3481
3518
  @id = args[:id] if args.key?(:id)
3519
+ @index = args[:index] if args.key?(:index)
3482
3520
  @revision = args[:revision] if args.key?(:revision)
3483
3521
  end
3484
3522
  end
@@ -4585,6 +4623,11 @@ module Google
4585
4623
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2BoundingPoly]
4586
4624
  attr_accessor :bounding_poly
4587
4625
 
4626
+ # Optional. Confidence of detected page element, if applicable. Range [0, 1].
4627
+ # Corresponds to the JSON property `confidence`
4628
+ # @return [Float]
4629
+ attr_accessor :confidence
4630
+
4588
4631
  # Optional. Deprecated. Use PageRef.bounding_poly instead.
4589
4632
  # Corresponds to the JSON property `layoutId`
4590
4633
  # @return [String]
@@ -4608,6 +4651,7 @@ module Google
4608
4651
  # Update properties of this object
4609
4652
  def update!(**args)
4610
4653
  @bounding_poly = args[:bounding_poly] if args.key?(:bounding_poly)
4654
+ @confidence = args[:confidence] if args.key?(:confidence)
4611
4655
  @layout_id = args[:layout_id] if args.key?(:layout_id)
4612
4656
  @layout_type = args[:layout_type] if args.key?(:layout_type)
4613
4657
  @page = args[:page] if args.key?(:page)
@@ -5162,6 +5206,12 @@ module Google
5162
5206
  # @return [Fixnum]
5163
5207
  attr_accessor :id
5164
5208
 
5209
+ # The index of the parent revisions corresponding collection of items (eg. list
5210
+ # of entities, properties within entities, etc.)
5211
+ # Corresponds to the JSON property `index`
5212
+ # @return [Fixnum]
5213
+ attr_accessor :index
5214
+
5165
5215
  # The index of the [Document.revisions] identifying the parent revision.
5166
5216
  # Corresponds to the JSON property `revision`
5167
5217
  # @return [Fixnum]
@@ -5174,6 +5224,7 @@ module Google
5174
5224
  # Update properties of this object
5175
5225
  def update!(**args)
5176
5226
  @id = args[:id] if args.key?(:id)
5227
+ @index = args[:index] if args.key?(:index)
5177
5228
  @revision = args[:revision] if args.key?(:revision)
5178
5229
  end
5179
5230
  end
@@ -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.1.0"
19
+ GEM_VERSION = "0.2.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210329"
25
+ REVISION = "20210507"
26
26
  end
27
27
  end
28
28
  end
@@ -1230,8 +1230,10 @@ module Google
1230
1230
  class GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation
1231
1231
  # @private
1232
1232
  class Representation < Google::Apis::Core::JsonRepresentation
1233
+ property :dataset_error_count, as: 'datasetErrorCount'
1233
1234
  collection :dataset_errors, as: 'datasetErrors', class: Google::Apis::DocumentaiV1::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1::GoogleRpcStatus::Representation
1234
1235
 
1236
+ property :document_error_count, as: 'documentErrorCount'
1235
1237
  collection :document_errors, as: 'documentErrors', class: Google::Apis::DocumentaiV1::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1::GoogleRpcStatus::Representation
1236
1238
 
1237
1239
  end
@@ -1477,6 +1479,7 @@ module Google
1477
1479
  class Representation < Google::Apis::Core::JsonRepresentation
1478
1480
  property :bounding_poly, as: 'boundingPoly', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1BoundingPoly, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1BoundingPoly::Representation
1479
1481
 
1482
+ property :confidence, as: 'confidence'
1480
1483
  property :layout_id, as: 'layoutId'
1481
1484
  property :layout_type, as: 'layoutType'
1482
1485
  property :page, :numeric_string => true, as: 'page'
@@ -1664,6 +1667,7 @@ module Google
1664
1667
  # @private
1665
1668
  class Representation < Google::Apis::Core::JsonRepresentation
1666
1669
  property :id, as: 'id'
1670
+ property :index, as: 'index'
1667
1671
  property :revision, as: 'revision'
1668
1672
  end
1669
1673
  end
@@ -1986,6 +1990,7 @@ module Google
1986
1990
  class Representation < Google::Apis::Core::JsonRepresentation
1987
1991
  property :bounding_poly, as: 'boundingPoly', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1BoundingPoly, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1BoundingPoly::Representation
1988
1992
 
1993
+ property :confidence, as: 'confidence'
1989
1994
  property :layout_id, as: 'layoutId'
1990
1995
  property :layout_type, as: 'layoutType'
1991
1996
  property :page, :numeric_string => true, as: 'page'
@@ -2173,6 +2178,7 @@ module Google
2173
2178
  # @private
2174
2179
  class Representation < Google::Apis::Core::JsonRepresentation
2175
2180
  property :id, as: 'id'
2181
+ property :index, as: 'index'
2176
2182
  property :revision, as: 'revision'
2177
2183
  end
2178
2184
  end
@@ -2474,6 +2480,7 @@ module Google
2474
2480
  class Representation < Google::Apis::Core::JsonRepresentation
2475
2481
  property :bounding_poly, as: 'boundingPoly', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2BoundingPoly, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2BoundingPoly::Representation
2476
2482
 
2483
+ property :confidence, as: 'confidence'
2477
2484
  property :layout_id, as: 'layoutId'
2478
2485
  property :layout_type, as: 'layoutType'
2479
2486
  property :page, :numeric_string => true, as: 'page'
@@ -2661,6 +2668,7 @@ module Google
2661
2668
  # @private
2662
2669
  class Representation < Google::Apis::Core::JsonRepresentation
2663
2670
  property :id, as: 'id'
2671
+ property :index, as: 'index'
2664
2672
  property :revision, as: 'revision'
2665
2673
  end
2666
2674
  end
@@ -208,7 +208,7 @@ module Google
208
208
  # accepts strings like "displayName=tokyo", and is documented in more detail in [
209
209
  # AIP-160](https://google.aip.dev/160).
210
210
  # @param [Fixnum] page_size
211
- # The maximum number of results to return. If not set, the service will select a
211
+ # The maximum number of results to return. If not set, the service selects a
212
212
  # default.
213
213
  # @param [String] page_token
214
214
  # A page token received from the `next_page_token` field in the response. Send
@@ -526,7 +526,7 @@ module Google
526
526
  # accepts strings like "displayName=tokyo", and is documented in more detail in [
527
527
  # AIP-160](https://google.aip.dev/160).
528
528
  # @param [Fixnum] page_size
529
- # The maximum number of results to return. If not set, the service will select a
529
+ # The maximum number of results to return. If not set, the service selects a
530
530
  # default.
531
531
  # @param [String] page_token
532
532
  # A page token received from the `next_page_token` field in the response. Send
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-documentai_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.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: 2021-04-05 00:00:00.000000000 Z
11
+ date: 2021-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-documentai_v1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.1.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.2.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-documentai_v1
57
57
  post_install_message:
58
58
  rdoc_options: []
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.2.13
72
+ rubygems_version: 3.2.17
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for Cloud Document AI API V1