google-apis-documentai_v1beta2 0.8.0 → 0.13.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: dd2ce150231514e26d557a09c46942359fc48e2d3ac59e550c27f28db498f1de
4
+ data.tar.gz: c43f253c2019530554ebc1aa14b768231bf97956be1e7608f0d887f0eda75089
5
5
  SHA512:
6
- metadata.gz: 9366f71f3600d5099d35be5cc03493e547fef99e1146bebd04421e3f7db18b1193b889c84cb4ad03d108169998b36e2ee276cb49d89f05acf23c39940d54f725
7
- data.tar.gz: 691af8764b3848887e1a97041cba2d823b0ca9b5bfb4988f32fe2547204b82e4f5f3012e277129bac655cdc7b3a920feba08038f3585e678f2a4d7c7c7e747e3
6
+ metadata.gz: 284176eb916f942679bc310983d5cb61712ad3e67363495e55f1f7f19fa815c9f0c09c5e14452ffabe55e92f770bd6fdbcf254c2986aff212e848ec3a063e4d0
7
+ data.tar.gz: 9bdf1eb7096d1d14f3a18085cebb1e236e2f88cb0f3f51a52a68d1c19412a42dae7fb65608076618ad76084288f73e254e78ca73c9cd8c1d0647b4665c4ef452
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Release history for google-apis-documentai_v1beta2
2
2
 
3
+ ### v0.13.0 (2021-06-24)
4
+
5
+ * Unspecified changes
6
+
7
+ ### v0.12.0 (2021-06-09)
8
+
9
+ * Regenerated from discovery document revision 20210607
10
+
11
+ ### v0.11.0 (2021-06-03)
12
+
13
+ * Regenerated from discovery document revision 20210527
14
+ * Regenerated using generator version 0.3.0
15
+
16
+ ### v0.10.0 (2021-05-19)
17
+
18
+ * Unspecified changes
19
+
20
+ ### v0.9.0 (2021-05-12)
21
+
22
+ * Regenerated from discovery document revision 20210507
23
+
3
24
  ### v0.8.0 (2021-03-31)
4
25
 
5
26
  * 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
@@ -1072,6 +1084,12 @@ module Google
1072
1084
  # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageParagraph>]
1073
1085
  attr_accessor :paragraphs
1074
1086
 
1087
+ # Structure to identify provenance relationships between annotations in
1088
+ # different revisions.
1089
+ # Corresponds to the JSON property `provenance`
1090
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentProvenance]
1091
+ attr_accessor :provenance
1092
+
1075
1093
  # A list of visually detected tables on the page.
1076
1094
  # Corresponds to the JSON property `tables`
1077
1095
  # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageTable>]
@@ -1109,6 +1127,7 @@ module Google
1109
1127
  @lines = args[:lines] if args.key?(:lines)
1110
1128
  @page_number = args[:page_number] if args.key?(:page_number)
1111
1129
  @paragraphs = args[:paragraphs] if args.key?(:paragraphs)
1130
+ @provenance = args[:provenance] if args.key?(:provenance)
1112
1131
  @tables = args[:tables] if args.key?(:tables)
1113
1132
  @tokens = args[:tokens] if args.key?(:tokens)
1114
1133
  @transforms = args[:transforms] if args.key?(:transforms)
@@ -1146,6 +1165,11 @@ module Google
1146
1165
  # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1BoundingPoly]
1147
1166
  attr_accessor :bounding_poly
1148
1167
 
1168
+ # Optional. Confidence of detected page element, if applicable. Range [0, 1].
1169
+ # Corresponds to the JSON property `confidence`
1170
+ # @return [Float]
1171
+ attr_accessor :confidence
1172
+
1149
1173
  # Optional. Deprecated. Use PageRef.bounding_poly instead.
1150
1174
  # Corresponds to the JSON property `layoutId`
1151
1175
  # @return [String]
@@ -1157,7 +1181,9 @@ module Google
1157
1181
  attr_accessor :layout_type
1158
1182
 
1159
1183
  # Required. Index into the Document.pages element, for example using Document.
1160
- # pages to locate the related page element.
1184
+ # pages to locate the related page element. This field is skipped when its value
1185
+ # is the default 0. See https://developers.google.com/protocol-buffers/docs/
1186
+ # proto3#json.
1161
1187
  # Corresponds to the JSON property `page`
1162
1188
  # @return [Fixnum]
1163
1189
  attr_accessor :page
@@ -1169,6 +1195,7 @@ module Google
1169
1195
  # Update properties of this object
1170
1196
  def update!(**args)
1171
1197
  @bounding_poly = args[:bounding_poly] if args.key?(:bounding_poly)
1198
+ @confidence = args[:confidence] if args.key?(:confidence)
1172
1199
  @layout_id = args[:layout_id] if args.key?(:layout_id)
1173
1200
  @layout_type = args[:layout_type] if args.key?(:layout_type)
1174
1201
  @page = args[:page] if args.key?(:page)
@@ -1284,6 +1311,12 @@ module Google
1284
1311
  # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage>]
1285
1312
  attr_accessor :name_detected_languages
1286
1313
 
1314
+ # Structure to identify provenance relationships between annotations in
1315
+ # different revisions.
1316
+ # Corresponds to the JSON property `provenance`
1317
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentProvenance]
1318
+ attr_accessor :provenance
1319
+
1287
1320
  # A list of detected languages for value together with confidence.
1288
1321
  # Corresponds to the JSON property `valueDetectedLanguages`
1289
1322
  # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage>]
@@ -1305,6 +1338,7 @@ module Google
1305
1338
  @field_name = args[:field_name] if args.key?(:field_name)
1306
1339
  @field_value = args[:field_value] if args.key?(:field_value)
1307
1340
  @name_detected_languages = args[:name_detected_languages] if args.key?(:name_detected_languages)
1341
+ @provenance = args[:provenance] if args.key?(:provenance)
1308
1342
  @value_detected_languages = args[:value_detected_languages] if args.key?(:value_detected_languages)
1309
1343
  @value_type = args[:value_type] if args.key?(:value_type)
1310
1344
  end
@@ -1723,6 +1757,12 @@ module Google
1723
1757
  # @return [Fixnum]
1724
1758
  attr_accessor :id
1725
1759
 
1760
+ # The index of the parent revisions corresponding collection of items (eg. list
1761
+ # of entities, properties within entities, etc.)
1762
+ # Corresponds to the JSON property `index`
1763
+ # @return [Fixnum]
1764
+ attr_accessor :index
1765
+
1726
1766
  # The index of the [Document.revisions] identifying the parent revision.
1727
1767
  # Corresponds to the JSON property `revision`
1728
1768
  # @return [Fixnum]
@@ -1735,6 +1775,7 @@ module Google
1735
1775
  # Update properties of this object
1736
1776
  def update!(**args)
1737
1777
  @id = args[:id] if args.key?(:id)
1778
+ @index = args[:index] if args.key?(:index)
1738
1779
  @revision = args[:revision] if args.key?(:revision)
1739
1780
  end
1740
1781
  end
@@ -2807,6 +2848,12 @@ module Google
2807
2848
  # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageParagraph>]
2808
2849
  attr_accessor :paragraphs
2809
2850
 
2851
+ # Structure to identify provenance relationships between annotations in
2852
+ # different revisions.
2853
+ # Corresponds to the JSON property `provenance`
2854
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentProvenance]
2855
+ attr_accessor :provenance
2856
+
2810
2857
  # A list of visually detected tables on the page.
2811
2858
  # Corresponds to the JSON property `tables`
2812
2859
  # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageTable>]
@@ -2844,6 +2891,7 @@ module Google
2844
2891
  @lines = args[:lines] if args.key?(:lines)
2845
2892
  @page_number = args[:page_number] if args.key?(:page_number)
2846
2893
  @paragraphs = args[:paragraphs] if args.key?(:paragraphs)
2894
+ @provenance = args[:provenance] if args.key?(:provenance)
2847
2895
  @tables = args[:tables] if args.key?(:tables)
2848
2896
  @tokens = args[:tokens] if args.key?(:tokens)
2849
2897
  @transforms = args[:transforms] if args.key?(:transforms)
@@ -2881,6 +2929,11 @@ module Google
2881
2929
  # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2BoundingPoly]
2882
2930
  attr_accessor :bounding_poly
2883
2931
 
2932
+ # Optional. Confidence of detected page element, if applicable. Range [0, 1].
2933
+ # Corresponds to the JSON property `confidence`
2934
+ # @return [Float]
2935
+ attr_accessor :confidence
2936
+
2884
2937
  # Optional. Deprecated. Use PageRef.bounding_poly instead.
2885
2938
  # Corresponds to the JSON property `layoutId`
2886
2939
  # @return [String]
@@ -2892,7 +2945,9 @@ module Google
2892
2945
  attr_accessor :layout_type
2893
2946
 
2894
2947
  # Required. Index into the Document.pages element, for example using Document.
2895
- # pages to locate the related page element.
2948
+ # pages to locate the related page element. This field is skipped when its value
2949
+ # is the default 0. See https://developers.google.com/protocol-buffers/docs/
2950
+ # proto3#json.
2896
2951
  # Corresponds to the JSON property `page`
2897
2952
  # @return [Fixnum]
2898
2953
  attr_accessor :page
@@ -2904,6 +2959,7 @@ module Google
2904
2959
  # Update properties of this object
2905
2960
  def update!(**args)
2906
2961
  @bounding_poly = args[:bounding_poly] if args.key?(:bounding_poly)
2962
+ @confidence = args[:confidence] if args.key?(:confidence)
2907
2963
  @layout_id = args[:layout_id] if args.key?(:layout_id)
2908
2964
  @layout_type = args[:layout_type] if args.key?(:layout_type)
2909
2965
  @page = args[:page] if args.key?(:page)
@@ -3019,6 +3075,12 @@ module Google
3019
3075
  # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage>]
3020
3076
  attr_accessor :name_detected_languages
3021
3077
 
3078
+ # Structure to identify provenance relationships between annotations in
3079
+ # different revisions.
3080
+ # Corresponds to the JSON property `provenance`
3081
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentProvenance]
3082
+ attr_accessor :provenance
3083
+
3022
3084
  # A list of detected languages for value together with confidence.
3023
3085
  # Corresponds to the JSON property `valueDetectedLanguages`
3024
3086
  # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage>]
@@ -3040,6 +3102,7 @@ module Google
3040
3102
  @field_name = args[:field_name] if args.key?(:field_name)
3041
3103
  @field_value = args[:field_value] if args.key?(:field_value)
3042
3104
  @name_detected_languages = args[:name_detected_languages] if args.key?(:name_detected_languages)
3105
+ @provenance = args[:provenance] if args.key?(:provenance)
3043
3106
  @value_detected_languages = args[:value_detected_languages] if args.key?(:value_detected_languages)
3044
3107
  @value_type = args[:value_type] if args.key?(:value_type)
3045
3108
  end
@@ -3458,6 +3521,12 @@ module Google
3458
3521
  # @return [Fixnum]
3459
3522
  attr_accessor :id
3460
3523
 
3524
+ # The index of the parent revisions corresponding collection of items (eg. list
3525
+ # of entities, properties within entities, etc.)
3526
+ # Corresponds to the JSON property `index`
3527
+ # @return [Fixnum]
3528
+ attr_accessor :index
3529
+
3461
3530
  # The index of the [Document.revisions] identifying the parent revision.
3462
3531
  # Corresponds to the JSON property `revision`
3463
3532
  # @return [Fixnum]
@@ -3470,6 +3539,7 @@ module Google
3470
3539
  # Update properties of this object
3471
3540
  def update!(**args)
3472
3541
  @id = args[:id] if args.key?(:id)
3542
+ @index = args[:index] if args.key?(:index)
3473
3543
  @revision = args[:revision] if args.key?(:revision)
3474
3544
  end
3475
3545
  end
@@ -4466,6 +4536,91 @@ module Google
4466
4536
  end
4467
4537
  end
4468
4538
 
4539
+ # The long running operation metadata for delete processor method.
4540
+ class GoogleCloudDocumentaiV1beta3DeleteProcessorMetadata
4541
+ include Google::Apis::Core::Hashable
4542
+
4543
+ # The common metadata for long running operations.
4544
+ # Corresponds to the JSON property `commonMetadata`
4545
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata]
4546
+ attr_accessor :common_metadata
4547
+
4548
+ def initialize(**args)
4549
+ update!(**args)
4550
+ end
4551
+
4552
+ # Update properties of this object
4553
+ def update!(**args)
4554
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
4555
+ end
4556
+ end
4557
+
4558
+ # The long running operation metadata for disable processor method.
4559
+ class GoogleCloudDocumentaiV1beta3DisableProcessorMetadata
4560
+ include Google::Apis::Core::Hashable
4561
+
4562
+ # The common metadata for long running operations.
4563
+ # Corresponds to the JSON property `commonMetadata`
4564
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata]
4565
+ attr_accessor :common_metadata
4566
+
4567
+ def initialize(**args)
4568
+ update!(**args)
4569
+ end
4570
+
4571
+ # Update properties of this object
4572
+ def update!(**args)
4573
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
4574
+ end
4575
+ end
4576
+
4577
+ # Response message for the disable processor method. Intentionally empty proto
4578
+ # for adding fields in future.
4579
+ class GoogleCloudDocumentaiV1beta3DisableProcessorResponse
4580
+ include Google::Apis::Core::Hashable
4581
+
4582
+ def initialize(**args)
4583
+ update!(**args)
4584
+ end
4585
+
4586
+ # Update properties of this object
4587
+ def update!(**args)
4588
+ end
4589
+ end
4590
+
4591
+ # The long running operation metadata for enable processor method.
4592
+ class GoogleCloudDocumentaiV1beta3EnableProcessorMetadata
4593
+ include Google::Apis::Core::Hashable
4594
+
4595
+ # The common metadata for long running operations.
4596
+ # Corresponds to the JSON property `commonMetadata`
4597
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata]
4598
+ attr_accessor :common_metadata
4599
+
4600
+ def initialize(**args)
4601
+ update!(**args)
4602
+ end
4603
+
4604
+ # Update properties of this object
4605
+ def update!(**args)
4606
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
4607
+ end
4608
+ end
4609
+
4610
+ # Response message for the enable processor method. Intentionally empty proto
4611
+ # for adding fields in future.
4612
+ class GoogleCloudDocumentaiV1beta3EnableProcessorResponse
4613
+ include Google::Apis::Core::Hashable
4614
+
4615
+ def initialize(**args)
4616
+ update!(**args)
4617
+ end
4618
+
4619
+ # Update properties of this object
4620
+ def update!(**args)
4621
+ end
4622
+ end
4623
+
4469
4624
  # The status of human review on a processed document.
4470
4625
  class GoogleCloudDocumentaiV1beta3HumanReviewStatus
4471
4626
  include Google::Apis::Core::Hashable
@@ -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.13.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.2.0"
22
+ GENERATOR_VERSION = "0.3.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210329"
25
+ REVISION = "20210607"
26
26
  end
27
27
  end
28
28
  end
@@ -784,6 +784,36 @@ module Google
784
784
  include Google::Apis::Core::JsonObjectSupport
785
785
  end
786
786
 
787
+ class GoogleCloudDocumentaiV1beta3DeleteProcessorMetadata
788
+ class Representation < Google::Apis::Core::JsonRepresentation; end
789
+
790
+ include Google::Apis::Core::JsonObjectSupport
791
+ end
792
+
793
+ class GoogleCloudDocumentaiV1beta3DisableProcessorMetadata
794
+ class Representation < Google::Apis::Core::JsonRepresentation; end
795
+
796
+ include Google::Apis::Core::JsonObjectSupport
797
+ end
798
+
799
+ class GoogleCloudDocumentaiV1beta3DisableProcessorResponse
800
+ class Representation < Google::Apis::Core::JsonRepresentation; end
801
+
802
+ include Google::Apis::Core::JsonObjectSupport
803
+ end
804
+
805
+ class GoogleCloudDocumentaiV1beta3EnableProcessorMetadata
806
+ class Representation < Google::Apis::Core::JsonRepresentation; end
807
+
808
+ include Google::Apis::Core::JsonObjectSupport
809
+ end
810
+
811
+ class GoogleCloudDocumentaiV1beta3EnableProcessorResponse
812
+ class Representation < Google::Apis::Core::JsonRepresentation; end
813
+
814
+ include Google::Apis::Core::JsonObjectSupport
815
+ end
816
+
787
817
  class GoogleCloudDocumentaiV1beta3HumanReviewStatus
788
818
  class Representation < Google::Apis::Core::JsonRepresentation; end
789
819
 
@@ -984,8 +1014,10 @@ module Google
984
1014
  class GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation
985
1015
  # @private
986
1016
  class Representation < Google::Apis::Core::JsonRepresentation
1017
+ property :dataset_error_count, as: 'datasetErrorCount'
987
1018
  collection :dataset_errors, as: 'datasetErrors', class: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus::Representation
988
1019
 
1020
+ property :document_error_count, as: 'documentErrorCount'
989
1021
  collection :document_errors, as: 'documentErrors', class: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus::Representation
990
1022
 
991
1023
  end
@@ -1203,6 +1235,8 @@ module Google
1203
1235
  property :page_number, as: 'pageNumber'
1204
1236
  collection :paragraphs, as: 'paragraphs', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageParagraph, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageParagraph::Representation
1205
1237
 
1238
+ property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentProvenance::Representation
1239
+
1206
1240
  collection :tables, as: 'tables', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageTable, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageTable::Representation
1207
1241
 
1208
1242
  collection :tokens, as: 'tokens', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageToken, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageToken::Representation
@@ -1227,6 +1261,7 @@ module Google
1227
1261
  class Representation < Google::Apis::Core::JsonRepresentation
1228
1262
  property :bounding_poly, as: 'boundingPoly', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1BoundingPoly, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1BoundingPoly::Representation
1229
1263
 
1264
+ property :confidence, as: 'confidence'
1230
1265
  property :layout_id, as: 'layoutId'
1231
1266
  property :layout_type, as: 'layoutType'
1232
1267
  property :page, :numeric_string => true, as: 'page'
@@ -1271,6 +1306,8 @@ module Google
1271
1306
 
1272
1307
  collection :name_detected_languages, as: 'nameDetectedLanguages', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage::Representation
1273
1308
 
1309
+ property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentProvenance::Representation
1310
+
1274
1311
  collection :value_detected_languages, as: 'valueDetectedLanguages', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage::Representation
1275
1312
 
1276
1313
  property :value_type, as: 'valueType'
@@ -1414,6 +1451,7 @@ module Google
1414
1451
  # @private
1415
1452
  class Representation < Google::Apis::Core::JsonRepresentation
1416
1453
  property :id, as: 'id'
1454
+ property :index, as: 'index'
1417
1455
  property :revision, as: 'revision'
1418
1456
  end
1419
1457
  end
@@ -1706,6 +1744,8 @@ module Google
1706
1744
  property :page_number, as: 'pageNumber'
1707
1745
  collection :paragraphs, as: 'paragraphs', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageParagraph, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageParagraph::Representation
1708
1746
 
1747
+ property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentProvenance::Representation
1748
+
1709
1749
  collection :tables, as: 'tables', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageTable, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageTable::Representation
1710
1750
 
1711
1751
  collection :tokens, as: 'tokens', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageToken, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageToken::Representation
@@ -1730,6 +1770,7 @@ module Google
1730
1770
  class Representation < Google::Apis::Core::JsonRepresentation
1731
1771
  property :bounding_poly, as: 'boundingPoly', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2BoundingPoly, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2BoundingPoly::Representation
1732
1772
 
1773
+ property :confidence, as: 'confidence'
1733
1774
  property :layout_id, as: 'layoutId'
1734
1775
  property :layout_type, as: 'layoutType'
1735
1776
  property :page, :numeric_string => true, as: 'page'
@@ -1774,6 +1815,8 @@ module Google
1774
1815
 
1775
1816
  collection :name_detected_languages, as: 'nameDetectedLanguages', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage::Representation
1776
1817
 
1818
+ property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentProvenance::Representation
1819
+
1777
1820
  collection :value_detected_languages, as: 'valueDetectedLanguages', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage::Representation
1778
1821
 
1779
1822
  property :value_type, as: 'valueType'
@@ -1917,6 +1960,7 @@ module Google
1917
1960
  # @private
1918
1961
  class Representation < Google::Apis::Core::JsonRepresentation
1919
1962
  property :id, as: 'id'
1963
+ property :index, as: 'index'
1920
1964
  property :revision, as: 'revision'
1921
1965
  end
1922
1966
  end
@@ -2189,6 +2233,42 @@ module Google
2189
2233
  end
2190
2234
  end
2191
2235
 
2236
+ class GoogleCloudDocumentaiV1beta3DeleteProcessorMetadata
2237
+ # @private
2238
+ class Representation < Google::Apis::Core::JsonRepresentation
2239
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata::Representation
2240
+
2241
+ end
2242
+ end
2243
+
2244
+ class GoogleCloudDocumentaiV1beta3DisableProcessorMetadata
2245
+ # @private
2246
+ class Representation < Google::Apis::Core::JsonRepresentation
2247
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata::Representation
2248
+
2249
+ end
2250
+ end
2251
+
2252
+ class GoogleCloudDocumentaiV1beta3DisableProcessorResponse
2253
+ # @private
2254
+ class Representation < Google::Apis::Core::JsonRepresentation
2255
+ end
2256
+ end
2257
+
2258
+ class GoogleCloudDocumentaiV1beta3EnableProcessorMetadata
2259
+ # @private
2260
+ class Representation < Google::Apis::Core::JsonRepresentation
2261
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata::Representation
2262
+
2263
+ end
2264
+ end
2265
+
2266
+ class GoogleCloudDocumentaiV1beta3EnableProcessorResponse
2267
+ # @private
2268
+ class Representation < Google::Apis::Core::JsonRepresentation
2269
+ end
2270
+ end
2271
+
2192
2272
  class GoogleCloudDocumentaiV1beta3HumanReviewStatus
2193
2273
  # @private
2194
2274
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,29 +1,35 @@
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.13.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-06-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.1'
19
+ version: '0.3'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
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.3'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '0.1'
32
+ version: 2.a
27
33
  description: This is the simple REST client for Cloud Document AI API V1beta2. Simple
28
34
  REST clients are Ruby client libraries that provide access to Google services via
29
35
  their HTTP REST API endpoints. These libraries are generated and updated automatically
@@ -52,7 +58,7 @@ licenses:
52
58
  metadata:
53
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
60
  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
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta2/v0.13.0
56
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-documentai_v1beta2
57
63
  post_install_message:
58
64
  rdoc_options: []
@@ -69,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
75
  - !ruby/object:Gem::Version
70
76
  version: '0'
71
77
  requirements: []
72
- rubygems_version: 3.2.13
78
+ rubygems_version: 3.2.17
73
79
  signing_key:
74
80
  specification_version: 4
75
81
  summary: Simple REST client for Cloud Document AI API V1beta2