google-apis-documentai_v1beta2 0.8.0 → 0.9.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: 705924780649685c53473ec217eb0c74a1c82047c2832b253dc79eba77e2ad30
4
- data.tar.gz: 66cd77361e2f8c3ce89bf3e352073542b069883b18c2e64ca8fd4b2536faa12d
3
+ metadata.gz: 831938999e0daa7c9771de59c087be50d4c66e73de01e04a3fa5816c10539ff4
4
+ data.tar.gz: 491c06fe0da4e23cdf78c2b70e9bda3c35d1ae0d97400b76bfe469a024968dc6
5
5
  SHA512:
6
- metadata.gz: 9366f71f3600d5099d35be5cc03493e547fef99e1146bebd04421e3f7db18b1193b889c84cb4ad03d108169998b36e2ee276cb49d89f05acf23c39940d54f725
7
- data.tar.gz: 691af8764b3848887e1a97041cba2d823b0ca9b5bfb4988f32fe2547204b82e4f5f3012e277129bac655cdc7b3a920feba08038f3585e678f2a4d7c7c7e747e3
6
+ metadata.gz: 36a9ee823926958427cb36a8576e95b71d3832ac0ed35022d73443f50277c5a5d9660ccec87af9d2a46d9dea69ca90a43bcb2e738266abab874202088a4fb70c
7
+ data.tar.gz: fabb642f1b149e5361aedad4753ca8091b243c0047ed46e3efad2442f8593fda234521406527718edb43457213561c8f9c2562834e190cc0c172ccc19a8d9adc
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-documentai_v1beta2
2
2
 
3
+ ### v0.9.0 (2021-05-12)
4
+
5
+ * Regenerated from discovery document revision 20210507
6
+
3
7
  ### v0.8.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::DocumentaiV1beta2::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
@@ -1146,6 +1158,11 @@ module Google
1146
1158
  # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1BoundingPoly]
1147
1159
  attr_accessor :bounding_poly
1148
1160
 
1161
+ # Optional. Confidence of detected page element, if applicable. Range [0, 1].
1162
+ # Corresponds to the JSON property `confidence`
1163
+ # @return [Float]
1164
+ attr_accessor :confidence
1165
+
1149
1166
  # Optional. Deprecated. Use PageRef.bounding_poly instead.
1150
1167
  # Corresponds to the JSON property `layoutId`
1151
1168
  # @return [String]
@@ -1169,6 +1186,7 @@ module Google
1169
1186
  # Update properties of this object
1170
1187
  def update!(**args)
1171
1188
  @bounding_poly = args[:bounding_poly] if args.key?(:bounding_poly)
1189
+ @confidence = args[:confidence] if args.key?(:confidence)
1172
1190
  @layout_id = args[:layout_id] if args.key?(:layout_id)
1173
1191
  @layout_type = args[:layout_type] if args.key?(:layout_type)
1174
1192
  @page = args[:page] if args.key?(:page)
@@ -1723,6 +1741,12 @@ module Google
1723
1741
  # @return [Fixnum]
1724
1742
  attr_accessor :id
1725
1743
 
1744
+ # The index of the parent revisions corresponding collection of items (eg. list
1745
+ # of entities, properties within entities, etc.)
1746
+ # Corresponds to the JSON property `index`
1747
+ # @return [Fixnum]
1748
+ attr_accessor :index
1749
+
1726
1750
  # The index of the [Document.revisions] identifying the parent revision.
1727
1751
  # Corresponds to the JSON property `revision`
1728
1752
  # @return [Fixnum]
@@ -1735,6 +1759,7 @@ module Google
1735
1759
  # Update properties of this object
1736
1760
  def update!(**args)
1737
1761
  @id = args[:id] if args.key?(:id)
1762
+ @index = args[:index] if args.key?(:index)
1738
1763
  @revision = args[:revision] if args.key?(:revision)
1739
1764
  end
1740
1765
  end
@@ -2881,6 +2906,11 @@ module Google
2881
2906
  # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2BoundingPoly]
2882
2907
  attr_accessor :bounding_poly
2883
2908
 
2909
+ # Optional. Confidence of detected page element, if applicable. Range [0, 1].
2910
+ # Corresponds to the JSON property `confidence`
2911
+ # @return [Float]
2912
+ attr_accessor :confidence
2913
+
2884
2914
  # Optional. Deprecated. Use PageRef.bounding_poly instead.
2885
2915
  # Corresponds to the JSON property `layoutId`
2886
2916
  # @return [String]
@@ -2904,6 +2934,7 @@ module Google
2904
2934
  # Update properties of this object
2905
2935
  def update!(**args)
2906
2936
  @bounding_poly = args[:bounding_poly] if args.key?(:bounding_poly)
2937
+ @confidence = args[:confidence] if args.key?(:confidence)
2907
2938
  @layout_id = args[:layout_id] if args.key?(:layout_id)
2908
2939
  @layout_type = args[:layout_type] if args.key?(:layout_type)
2909
2940
  @page = args[:page] if args.key?(:page)
@@ -3458,6 +3489,12 @@ module Google
3458
3489
  # @return [Fixnum]
3459
3490
  attr_accessor :id
3460
3491
 
3492
+ # The index of the parent revisions corresponding collection of items (eg. list
3493
+ # of entities, properties within entities, etc.)
3494
+ # Corresponds to the JSON property `index`
3495
+ # @return [Fixnum]
3496
+ attr_accessor :index
3497
+
3461
3498
  # The index of the [Document.revisions] identifying the parent revision.
3462
3499
  # Corresponds to the JSON property `revision`
3463
3500
  # @return [Fixnum]
@@ -3470,6 +3507,7 @@ module Google
3470
3507
  # Update properties of this object
3471
3508
  def update!(**args)
3472
3509
  @id = args[:id] if args.key?(:id)
3510
+ @index = args[:index] if args.key?(:index)
3473
3511
  @revision = args[:revision] if args.key?(:revision)
3474
3512
  end
3475
3513
  end
@@ -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.8.0"
19
+ GEM_VERSION = "0.9.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
@@ -984,8 +984,10 @@ module Google
984
984
  class GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation
985
985
  # @private
986
986
  class Representation < Google::Apis::Core::JsonRepresentation
987
+ property :dataset_error_count, as: 'datasetErrorCount'
987
988
  collection :dataset_errors, as: 'datasetErrors', class: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus::Representation
988
989
 
990
+ property :document_error_count, as: 'documentErrorCount'
989
991
  collection :document_errors, as: 'documentErrors', class: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus::Representation
990
992
 
991
993
  end
@@ -1227,6 +1229,7 @@ module Google
1227
1229
  class Representation < Google::Apis::Core::JsonRepresentation
1228
1230
  property :bounding_poly, as: 'boundingPoly', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1BoundingPoly, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1BoundingPoly::Representation
1229
1231
 
1232
+ property :confidence, as: 'confidence'
1230
1233
  property :layout_id, as: 'layoutId'
1231
1234
  property :layout_type, as: 'layoutType'
1232
1235
  property :page, :numeric_string => true, as: 'page'
@@ -1414,6 +1417,7 @@ module Google
1414
1417
  # @private
1415
1418
  class Representation < Google::Apis::Core::JsonRepresentation
1416
1419
  property :id, as: 'id'
1420
+ property :index, as: 'index'
1417
1421
  property :revision, as: 'revision'
1418
1422
  end
1419
1423
  end
@@ -1730,6 +1734,7 @@ module Google
1730
1734
  class Representation < Google::Apis::Core::JsonRepresentation
1731
1735
  property :bounding_poly, as: 'boundingPoly', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2BoundingPoly, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2BoundingPoly::Representation
1732
1736
 
1737
+ property :confidence, as: 'confidence'
1733
1738
  property :layout_id, as: 'layoutId'
1734
1739
  property :layout_type, as: 'layoutType'
1735
1740
  property :page, :numeric_string => true, as: 'page'
@@ -1917,6 +1922,7 @@ module Google
1917
1922
  # @private
1918
1923
  class Representation < Google::Apis::Core::JsonRepresentation
1919
1924
  property :id, as: 'id'
1925
+ property :index, as: 'index'
1920
1926
  property :revision, as: 'revision'
1921
1927
  end
1922
1928
  end
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.8.0
4
+ version: 0.9.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_v1beta2/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta2/v0.8.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta2/v0.9.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-documentai_v1beta2
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 V1beta2