google-apis-documentai_v1 0.10.0 → 0.14.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: 80cf927b45e4e36631dac28696f00f1ce87c531f526ed371fcce72c8ef569624
4
- data.tar.gz: 0bea49405279ae1a9b2faace512f3f0972124a15bf7c6eb9d8f248032ddc4222
3
+ metadata.gz: d8477495501e992d09e9b236e2a0868c1640285ff57829bdc419d84b8fcb4b58
4
+ data.tar.gz: 06ce8c7b1c39c3b233f6ac7e3af78ebed57ee3d957d0bf81f8611c97be71c467
5
5
  SHA512:
6
- metadata.gz: 68793cb5e6eea471bf98814aeed3d9dfa46b14b6ef78538ee77598f309913225bef9fdca3f7b9889b2ea3b041e9be1d283e72a788ffb42480165ca8451a13a6a
7
- data.tar.gz: b56489227f3be7b1d67b87949b2b862242e818dc9b147565b30f9f7fd914fd02aec568096a3964f3b644317b9fbdc9bad1700119fea8332a95f4ee8373505598
6
+ metadata.gz: 3045c6536f4b0fab5eea9b34714df01d54fdf125614a01fc6a6885bfa9c9701d851f60d0bca3f60c99b700195a7eb871f7d80daac15b7145b7bdf38345b5d46c
7
+ data.tar.gz: ed6445f78ed5faabf706012518ee5dce1a444bfe5f57c92dbd0ccd4463a239b899273c20068b20bb4c1911c904ee8ec31483f96508ffd09553f3e2910653b37c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-documentai_v1
2
2
 
3
+ ### v0.14.0 (2021-09-02)
4
+
5
+ * Regenerated from discovery document revision 20210830
6
+
7
+ ### v0.13.0 (2021-08-24)
8
+
9
+ * Regenerated from discovery document revision 20210820
10
+
11
+ ### v0.12.0 (2021-08-19)
12
+
13
+ * Regenerated from discovery document revision 20210817
14
+
15
+ ### v0.11.0 (2021-08-03)
16
+
17
+ * Regenerated from discovery document revision 20210731
18
+
3
19
  ### v0.10.0 (2021-07-29)
4
20
 
5
21
  * Regenerated from discovery document revision 20210728
@@ -22,6 +22,70 @@ module Google
22
22
  module Apis
23
23
  module DocumentaiV1
24
24
 
25
+ #
26
+ class GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # The common metadata for long running operations.
30
+ # Corresponds to the JSON property `commonMetadata`
31
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
32
+ attr_accessor :common_metadata
33
+
34
+ def initialize(**args)
35
+ update!(**args)
36
+ end
37
+
38
+ # Update properties of this object
39
+ def update!(**args)
40
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
41
+ end
42
+ end
43
+
44
+ # Response of the delete documents operation.
45
+ class GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse
46
+ include Google::Apis::Core::Hashable
47
+
48
+ def initialize(**args)
49
+ update!(**args)
50
+ end
51
+
52
+ # Update properties of this object
53
+ def update!(**args)
54
+ end
55
+ end
56
+
57
+ #
58
+ class GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata
59
+ include Google::Apis::Core::Hashable
60
+
61
+ # The common metadata for long running operations.
62
+ # Corresponds to the JSON property `commonMetadata`
63
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
64
+ attr_accessor :common_metadata
65
+
66
+ def initialize(**args)
67
+ update!(**args)
68
+ end
69
+
70
+ # Update properties of this object
71
+ def update!(**args)
72
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
73
+ end
74
+ end
75
+
76
+ # Response of the batch move documents operation.
77
+ class GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse
78
+ include Google::Apis::Core::Hashable
79
+
80
+ def initialize(**args)
81
+ update!(**args)
82
+ end
83
+
84
+ # Update properties of this object
85
+ def update!(**args)
86
+ end
87
+ end
88
+
25
89
  # The common metadata for long running operations.
26
90
  class GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata
27
91
  include Google::Apis::Core::Hashable
@@ -309,6 +373,38 @@ module Google
309
373
  end
310
374
  end
311
375
 
376
+ # Metadata of the import document operation.
377
+ class GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata
378
+ include Google::Apis::Core::Hashable
379
+
380
+ # The common metadata for long running operations.
381
+ # Corresponds to the JSON property `commonMetadata`
382
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
383
+ attr_accessor :common_metadata
384
+
385
+ def initialize(**args)
386
+ update!(**args)
387
+ end
388
+
389
+ # Update properties of this object
390
+ def update!(**args)
391
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
392
+ end
393
+ end
394
+
395
+ # Response of the import document operation.
396
+ class GoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse
397
+ include Google::Apis::Core::Hashable
398
+
399
+ def initialize(**args)
400
+ update!(**args)
401
+ end
402
+
403
+ # Update properties of this object
404
+ def update!(**args)
405
+ end
406
+ end
407
+
312
408
  # The long running operation metadata for set default processor version method.
313
409
  class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata
314
410
  include Google::Apis::Core::Hashable
@@ -466,6 +562,25 @@ module Google
466
562
  end
467
563
  end
468
564
 
565
+ #
566
+ class GoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata
567
+ include Google::Apis::Core::Hashable
568
+
569
+ # The common metadata for long running operations.
570
+ # Corresponds to the JSON property `commonMetadata`
571
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
572
+ attr_accessor :common_metadata
573
+
574
+ def initialize(**args)
575
+ update!(**args)
576
+ end
577
+
578
+ # Update properties of this object
579
+ def update!(**args)
580
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
581
+ end
582
+ end
583
+
469
584
  # The long running operation metadata for updating the human review
470
585
  # configuration.
471
586
  class GoogleCloudDocumentaiUiv1beta3UpdateHumanReviewConfigMetadata
@@ -834,8 +949,9 @@ module Google
834
949
  end
835
950
  end
836
951
 
837
- # A phrase in the text that is a known entity type, such as a person, an
838
- # organization, or location.
952
+ # An entity that could be a phrase in the text or a property belongs to the
953
+ # document. It is a known entity type, such as a person, an organization, or
954
+ # location.
839
955
  class GoogleCloudDocumentaiV1DocumentEntity
840
956
  include Google::Apis::Core::Hashable
841
957
 
@@ -855,7 +971,8 @@ module Google
855
971
  # @return [String]
856
972
  attr_accessor :mention_id
857
973
 
858
- # Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`.
974
+ # Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`. If the
975
+ # entity is not present in the document, this field will be empty.
859
976
  # Corresponds to the JSON property `mentionText`
860
977
  # @return [String]
861
978
  attr_accessor :mention_text
@@ -974,17 +1091,29 @@ module Google
974
1091
  # @return [Google::Apis::DocumentaiV1::GoogleTypeDateTime]
975
1092
  attr_accessor :datetime_value
976
1093
 
1094
+ # Float value.
1095
+ # Corresponds to the JSON property `floatValue`
1096
+ # @return [Float]
1097
+ attr_accessor :float_value
1098
+
1099
+ # Integer value.
1100
+ # Corresponds to the JSON property `integerValue`
1101
+ # @return [Fixnum]
1102
+ attr_accessor :integer_value
1103
+
977
1104
  # Represents an amount of money with its currency type.
978
1105
  # Corresponds to the JSON property `moneyValue`
979
1106
  # @return [Google::Apis::DocumentaiV1::GoogleTypeMoney]
980
1107
  attr_accessor :money_value
981
1108
 
982
- # Required. Normalized entity value stored as a string. This field is populated
983
- # for supported document type (e.g. Invoice). For some entity types, one of
984
- # respective 'structured_value' fields may also be populated. - Money/Currency
985
- # type (`money_value`) is in the ISO 4217 text format. - Date type (`date_value`)
986
- # is in the ISO 8601 text format. - Datetime type (`datetime_value`) is in the
987
- # ISO 8601 text format.
1109
+ # Optional. An optional field to store a normalized string. For some entity
1110
+ # types, one of respective 'structured_value' fields may also be populated. Also
1111
+ # not all the types of 'structured_value' will be normalized. For example, some
1112
+ # processors may not generate float or int normalized text by default. Below are
1113
+ # sample formats mapped to structured values. - Money/Currency type (`
1114
+ # money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in
1115
+ # the ISO 8601 text format. - Datetime type (`datetime_value`) is in the ISO
1116
+ # 8601 text format.
988
1117
  # Corresponds to the JSON property `text`
989
1118
  # @return [String]
990
1119
  attr_accessor :text
@@ -999,6 +1128,8 @@ module Google
999
1128
  @boolean_value = args[:boolean_value] if args.key?(:boolean_value)
1000
1129
  @date_value = args[:date_value] if args.key?(:date_value)
1001
1130
  @datetime_value = args[:datetime_value] if args.key?(:datetime_value)
1131
+ @float_value = args[:float_value] if args.key?(:float_value)
1132
+ @integer_value = args[:integer_value] if args.key?(:integer_value)
1002
1133
  @money_value = args[:money_value] if args.key?(:money_value)
1003
1134
  @text = args[:text] if args.key?(:text)
1004
1135
  end
@@ -1340,6 +1471,20 @@ module Google
1340
1471
  class GoogleCloudDocumentaiV1DocumentPageFormField
1341
1472
  include Google::Apis::Core::Hashable
1342
1473
 
1474
+ # Created for Labeling UI to export key text. If corrections were made to the
1475
+ # text identified by the `field_name.text_anchor`, this field will contain the
1476
+ # correction.
1477
+ # Corresponds to the JSON property `correctedKeyText`
1478
+ # @return [String]
1479
+ attr_accessor :corrected_key_text
1480
+
1481
+ # Created for Labeling UI to export value text. If corrections were made to the
1482
+ # text identified by the `field_value.text_anchor`, this field will contain the
1483
+ # correction.
1484
+ # Corresponds to the JSON property `correctedValueText`
1485
+ # @return [String]
1486
+ attr_accessor :corrected_value_text
1487
+
1343
1488
  # Visual element describing a layout unit on a page.
1344
1489
  # Corresponds to the JSON property `fieldName`
1345
1490
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageLayout]
@@ -1379,6 +1524,8 @@ module Google
1379
1524
 
1380
1525
  # Update properties of this object
1381
1526
  def update!(**args)
1527
+ @corrected_key_text = args[:corrected_key_text] if args.key?(:corrected_key_text)
1528
+ @corrected_value_text = args[:corrected_value_text] if args.key?(:corrected_value_text)
1382
1529
  @field_name = args[:field_name] if args.key?(:field_name)
1383
1530
  @field_value = args[:field_value] if args.key?(:field_value)
1384
1531
  @name_detected_languages = args[:name_detected_languages] if args.key?(:name_detected_languages)
@@ -1801,8 +1948,8 @@ module Google
1801
1948
  # @return [Fixnum]
1802
1949
  attr_accessor :id
1803
1950
 
1804
- # The index of the parent revisions corresponding collection of items (eg. list
1805
- # of entities, properties within entities, etc.)
1951
+ # The index of the parent item in the corresponding item list (eg. list of
1952
+ # entities, properties within entities, etc.) on parent revision.
1806
1953
  # Corresponds to the JSON property `index`
1807
1954
  # @return [Fixnum]
1808
1955
  attr_accessor :index
@@ -2653,8 +2800,9 @@ module Google
2653
2800
  end
2654
2801
  end
2655
2802
 
2656
- # A phrase in the text that is a known entity type, such as a person, an
2657
- # organization, or location.
2803
+ # An entity that could be a phrase in the text or a property belongs to the
2804
+ # document. It is a known entity type, such as a person, an organization, or
2805
+ # location.
2658
2806
  class GoogleCloudDocumentaiV1beta1DocumentEntity
2659
2807
  include Google::Apis::Core::Hashable
2660
2808
 
@@ -2674,7 +2822,8 @@ module Google
2674
2822
  # @return [String]
2675
2823
  attr_accessor :mention_id
2676
2824
 
2677
- # Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`.
2825
+ # Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`. If the
2826
+ # entity is not present in the document, this field will be empty.
2678
2827
  # Corresponds to the JSON property `mentionText`
2679
2828
  # @return [String]
2680
2829
  attr_accessor :mention_text
@@ -2793,17 +2942,29 @@ module Google
2793
2942
  # @return [Google::Apis::DocumentaiV1::GoogleTypeDateTime]
2794
2943
  attr_accessor :datetime_value
2795
2944
 
2945
+ # Float value.
2946
+ # Corresponds to the JSON property `floatValue`
2947
+ # @return [Float]
2948
+ attr_accessor :float_value
2949
+
2950
+ # Integer value.
2951
+ # Corresponds to the JSON property `integerValue`
2952
+ # @return [Fixnum]
2953
+ attr_accessor :integer_value
2954
+
2796
2955
  # Represents an amount of money with its currency type.
2797
2956
  # Corresponds to the JSON property `moneyValue`
2798
2957
  # @return [Google::Apis::DocumentaiV1::GoogleTypeMoney]
2799
2958
  attr_accessor :money_value
2800
2959
 
2801
- # Required. Normalized entity value stored as a string. This field is populated
2802
- # for supported document type (e.g. Invoice). For some entity types, one of
2803
- # respective 'structured_value' fields may also be populated. - Money/Currency
2804
- # type (`money_value`) is in the ISO 4217 text format. - Date type (`date_value`)
2805
- # is in the ISO 8601 text format. - Datetime type (`datetime_value`) is in the
2806
- # ISO 8601 text format.
2960
+ # Optional. An optional field to store a normalized string. For some entity
2961
+ # types, one of respective 'structured_value' fields may also be populated. Also
2962
+ # not all the types of 'structured_value' will be normalized. For example, some
2963
+ # processors may not generate float or int normalized text by default. Below are
2964
+ # sample formats mapped to structured values. - Money/Currency type (`
2965
+ # money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in
2966
+ # the ISO 8601 text format. - Datetime type (`datetime_value`) is in the ISO
2967
+ # 8601 text format.
2807
2968
  # Corresponds to the JSON property `text`
2808
2969
  # @return [String]
2809
2970
  attr_accessor :text
@@ -2818,6 +2979,8 @@ module Google
2818
2979
  @boolean_value = args[:boolean_value] if args.key?(:boolean_value)
2819
2980
  @date_value = args[:date_value] if args.key?(:date_value)
2820
2981
  @datetime_value = args[:datetime_value] if args.key?(:datetime_value)
2982
+ @float_value = args[:float_value] if args.key?(:float_value)
2983
+ @integer_value = args[:integer_value] if args.key?(:integer_value)
2821
2984
  @money_value = args[:money_value] if args.key?(:money_value)
2822
2985
  @text = args[:text] if args.key?(:text)
2823
2986
  end
@@ -3120,6 +3283,20 @@ module Google
3120
3283
  class GoogleCloudDocumentaiV1beta1DocumentPageFormField
3121
3284
  include Google::Apis::Core::Hashable
3122
3285
 
3286
+ # Created for Labeling UI to export key text. If corrections were made to the
3287
+ # text identified by the `field_name.text_anchor`, this field will contain the
3288
+ # correction.
3289
+ # Corresponds to the JSON property `correctedKeyText`
3290
+ # @return [String]
3291
+ attr_accessor :corrected_key_text
3292
+
3293
+ # Created for Labeling UI to export value text. If corrections were made to the
3294
+ # text identified by the `field_value.text_anchor`, this field will contain the
3295
+ # correction.
3296
+ # Corresponds to the JSON property `correctedValueText`
3297
+ # @return [String]
3298
+ attr_accessor :corrected_value_text
3299
+
3123
3300
  # Visual element describing a layout unit on a page.
3124
3301
  # Corresponds to the JSON property `fieldName`
3125
3302
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageLayout]
@@ -3159,6 +3336,8 @@ module Google
3159
3336
 
3160
3337
  # Update properties of this object
3161
3338
  def update!(**args)
3339
+ @corrected_key_text = args[:corrected_key_text] if args.key?(:corrected_key_text)
3340
+ @corrected_value_text = args[:corrected_value_text] if args.key?(:corrected_value_text)
3162
3341
  @field_name = args[:field_name] if args.key?(:field_name)
3163
3342
  @field_value = args[:field_value] if args.key?(:field_value)
3164
3343
  @name_detected_languages = args[:name_detected_languages] if args.key?(:name_detected_languages)
@@ -3581,8 +3760,8 @@ module Google
3581
3760
  # @return [Fixnum]
3582
3761
  attr_accessor :id
3583
3762
 
3584
- # The index of the parent revisions corresponding collection of items (eg. list
3585
- # of entities, properties within entities, etc.)
3763
+ # The index of the parent item in the corresponding item list (eg. list of
3764
+ # entities, properties within entities, etc.) on parent revision.
3586
3765
  # Corresponds to the JSON property `index`
3587
3766
  # @return [Fixnum]
3588
3767
  attr_accessor :index
@@ -4340,8 +4519,9 @@ module Google
4340
4519
  end
4341
4520
  end
4342
4521
 
4343
- # A phrase in the text that is a known entity type, such as a person, an
4344
- # organization, or location.
4522
+ # An entity that could be a phrase in the text or a property belongs to the
4523
+ # document. It is a known entity type, such as a person, an organization, or
4524
+ # location.
4345
4525
  class GoogleCloudDocumentaiV1beta2DocumentEntity
4346
4526
  include Google::Apis::Core::Hashable
4347
4527
 
@@ -4361,7 +4541,8 @@ module Google
4361
4541
  # @return [String]
4362
4542
  attr_accessor :mention_id
4363
4543
 
4364
- # Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`.
4544
+ # Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`. If the
4545
+ # entity is not present in the document, this field will be empty.
4365
4546
  # Corresponds to the JSON property `mentionText`
4366
4547
  # @return [String]
4367
4548
  attr_accessor :mention_text
@@ -4480,17 +4661,29 @@ module Google
4480
4661
  # @return [Google::Apis::DocumentaiV1::GoogleTypeDateTime]
4481
4662
  attr_accessor :datetime_value
4482
4663
 
4664
+ # Float value.
4665
+ # Corresponds to the JSON property `floatValue`
4666
+ # @return [Float]
4667
+ attr_accessor :float_value
4668
+
4669
+ # Integer value.
4670
+ # Corresponds to the JSON property `integerValue`
4671
+ # @return [Fixnum]
4672
+ attr_accessor :integer_value
4673
+
4483
4674
  # Represents an amount of money with its currency type.
4484
4675
  # Corresponds to the JSON property `moneyValue`
4485
4676
  # @return [Google::Apis::DocumentaiV1::GoogleTypeMoney]
4486
4677
  attr_accessor :money_value
4487
4678
 
4488
- # Required. Normalized entity value stored as a string. This field is populated
4489
- # for supported document type (e.g. Invoice). For some entity types, one of
4490
- # respective 'structured_value' fields may also be populated. - Money/Currency
4491
- # type (`money_value`) is in the ISO 4217 text format. - Date type (`date_value`)
4492
- # is in the ISO 8601 text format. - Datetime type (`datetime_value`) is in the
4493
- # ISO 8601 text format.
4679
+ # Optional. An optional field to store a normalized string. For some entity
4680
+ # types, one of respective 'structured_value' fields may also be populated. Also
4681
+ # not all the types of 'structured_value' will be normalized. For example, some
4682
+ # processors may not generate float or int normalized text by default. Below are
4683
+ # sample formats mapped to structured values. - Money/Currency type (`
4684
+ # money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in
4685
+ # the ISO 8601 text format. - Datetime type (`datetime_value`) is in the ISO
4686
+ # 8601 text format.
4494
4687
  # Corresponds to the JSON property `text`
4495
4688
  # @return [String]
4496
4689
  attr_accessor :text
@@ -4505,6 +4698,8 @@ module Google
4505
4698
  @boolean_value = args[:boolean_value] if args.key?(:boolean_value)
4506
4699
  @date_value = args[:date_value] if args.key?(:date_value)
4507
4700
  @datetime_value = args[:datetime_value] if args.key?(:datetime_value)
4701
+ @float_value = args[:float_value] if args.key?(:float_value)
4702
+ @integer_value = args[:integer_value] if args.key?(:integer_value)
4508
4703
  @money_value = args[:money_value] if args.key?(:money_value)
4509
4704
  @text = args[:text] if args.key?(:text)
4510
4705
  end
@@ -4844,6 +5039,20 @@ module Google
4844
5039
  class GoogleCloudDocumentaiV1beta2DocumentPageFormField
4845
5040
  include Google::Apis::Core::Hashable
4846
5041
 
5042
+ # Created for Labeling UI to export key text. If corrections were made to the
5043
+ # text identified by the `field_name.text_anchor`, this field will contain the
5044
+ # correction.
5045
+ # Corresponds to the JSON property `correctedKeyText`
5046
+ # @return [String]
5047
+ attr_accessor :corrected_key_text
5048
+
5049
+ # Created for Labeling UI to export value text. If corrections were made to the
5050
+ # text identified by the `field_value.text_anchor`, this field will contain the
5051
+ # correction.
5052
+ # Corresponds to the JSON property `correctedValueText`
5053
+ # @return [String]
5054
+ attr_accessor :corrected_value_text
5055
+
4847
5056
  # Visual element describing a layout unit on a page.
4848
5057
  # Corresponds to the JSON property `fieldName`
4849
5058
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageLayout]
@@ -4883,6 +5092,8 @@ module Google
4883
5092
 
4884
5093
  # Update properties of this object
4885
5094
  def update!(**args)
5095
+ @corrected_key_text = args[:corrected_key_text] if args.key?(:corrected_key_text)
5096
+ @corrected_value_text = args[:corrected_value_text] if args.key?(:corrected_value_text)
4886
5097
  @field_name = args[:field_name] if args.key?(:field_name)
4887
5098
  @field_value = args[:field_value] if args.key?(:field_value)
4888
5099
  @name_detected_languages = args[:name_detected_languages] if args.key?(:name_detected_languages)
@@ -5305,8 +5516,8 @@ module Google
5305
5516
  # @return [Fixnum]
5306
5517
  attr_accessor :id
5307
5518
 
5308
- # The index of the parent revisions corresponding collection of items (eg. list
5309
- # of entities, properties within entities, etc.)
5519
+ # The index of the parent item in the corresponding item list (eg. list of
5520
+ # entities, properties within entities, etc.) on parent revision.
5310
5521
  # Corresponds to the JSON property `index`
5311
5522
  # @return [Fixnum]
5312
5523
  attr_accessor :index
@@ -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.10.0"
19
+ GEM_VERSION = "0.14.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210728"
25
+ REVISION = "20210830"
26
26
  end
27
27
  end
28
28
  end
@@ -22,6 +22,30 @@ module Google
22
22
  module Apis
23
23
  module DocumentaiV1
24
24
 
25
+ class GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
25
49
  class GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata
26
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
51
 
@@ -112,6 +136,18 @@ module Google
112
136
  include Google::Apis::Core::JsonObjectSupport
113
137
  end
114
138
 
139
+ class GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class GoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
115
151
  class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata
116
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
153
 
@@ -154,6 +190,12 @@ module Google
154
190
  include Google::Apis::Core::JsonObjectSupport
155
191
  end
156
192
 
193
+ class GoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
157
199
  class GoogleCloudDocumentaiUiv1beta3UpdateHumanReviewConfigMetadata
158
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
201
 
@@ -1138,6 +1180,34 @@ module Google
1138
1180
  include Google::Apis::Core::JsonObjectSupport
1139
1181
  end
1140
1182
 
1183
+ class GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata
1184
+ # @private
1185
+ class Representation < Google::Apis::Core::JsonRepresentation
1186
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1187
+
1188
+ end
1189
+ end
1190
+
1191
+ class GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse
1192
+ # @private
1193
+ class Representation < Google::Apis::Core::JsonRepresentation
1194
+ end
1195
+ end
1196
+
1197
+ class GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata
1198
+ # @private
1199
+ class Representation < Google::Apis::Core::JsonRepresentation
1200
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1201
+
1202
+ end
1203
+ end
1204
+
1205
+ class GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse
1206
+ # @private
1207
+ class Representation < Google::Apis::Core::JsonRepresentation
1208
+ end
1209
+ end
1210
+
1141
1211
  class GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata
1142
1212
  # @private
1143
1213
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1252,6 +1322,20 @@ module Google
1252
1322
  end
1253
1323
  end
1254
1324
 
1325
+ class GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata
1326
+ # @private
1327
+ class Representation < Google::Apis::Core::JsonRepresentation
1328
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1329
+
1330
+ end
1331
+ end
1332
+
1333
+ class GoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse
1334
+ # @private
1335
+ class Representation < Google::Apis::Core::JsonRepresentation
1336
+ end
1337
+ end
1338
+
1255
1339
  class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata
1256
1340
  # @private
1257
1341
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1311,6 +1395,14 @@ module Google
1311
1395
  end
1312
1396
  end
1313
1397
 
1398
+ class GoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata
1399
+ # @private
1400
+ class Representation < Google::Apis::Core::JsonRepresentation
1401
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1402
+
1403
+ end
1404
+ end
1405
+
1314
1406
  class GoogleCloudDocumentaiUiv1beta3UpdateHumanReviewConfigMetadata
1315
1407
  # @private
1316
1408
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1456,6 +1548,8 @@ module Google
1456
1548
 
1457
1549
  property :datetime_value, as: 'datetimeValue', class: Google::Apis::DocumentaiV1::GoogleTypeDateTime, decorator: Google::Apis::DocumentaiV1::GoogleTypeDateTime::Representation
1458
1550
 
1551
+ property :float_value, as: 'floatValue'
1552
+ property :integer_value, as: 'integerValue'
1459
1553
  property :money_value, as: 'moneyValue', class: Google::Apis::DocumentaiV1::GoogleTypeMoney, decorator: Google::Apis::DocumentaiV1::GoogleTypeMoney::Representation
1460
1554
 
1461
1555
  property :text, as: 'text'
@@ -1571,6 +1665,8 @@ module Google
1571
1665
  class GoogleCloudDocumentaiV1DocumentPageFormField
1572
1666
  # @private
1573
1667
  class Representation < Google::Apis::Core::JsonRepresentation
1668
+ property :corrected_key_text, as: 'correctedKeyText'
1669
+ property :corrected_value_text, as: 'correctedValueText'
1574
1670
  property :field_name, as: 'fieldName', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageLayout, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageLayout::Representation
1575
1671
 
1576
1672
  property :field_value, as: 'fieldValue', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageLayout, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageLayout::Representation
@@ -1988,6 +2084,8 @@ module Google
1988
2084
 
1989
2085
  property :datetime_value, as: 'datetimeValue', class: Google::Apis::DocumentaiV1::GoogleTypeDateTime, decorator: Google::Apis::DocumentaiV1::GoogleTypeDateTime::Representation
1990
2086
 
2087
+ property :float_value, as: 'floatValue'
2088
+ property :integer_value, as: 'integerValue'
1991
2089
  property :money_value, as: 'moneyValue', class: Google::Apis::DocumentaiV1::GoogleTypeMoney, decorator: Google::Apis::DocumentaiV1::GoogleTypeMoney::Representation
1992
2090
 
1993
2091
  property :text, as: 'text'
@@ -2088,6 +2186,8 @@ module Google
2088
2186
  class GoogleCloudDocumentaiV1beta1DocumentPageFormField
2089
2187
  # @private
2090
2188
  class Representation < Google::Apis::Core::JsonRepresentation
2189
+ property :corrected_key_text, as: 'correctedKeyText'
2190
+ property :corrected_value_text, as: 'correctedValueText'
2091
2191
  property :field_name, as: 'fieldName', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageLayout, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageLayout::Representation
2092
2192
 
2093
2193
  property :field_value, as: 'fieldValue', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageLayout, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageLayout::Representation
@@ -2473,6 +2573,8 @@ module Google
2473
2573
 
2474
2574
  property :datetime_value, as: 'datetimeValue', class: Google::Apis::DocumentaiV1::GoogleTypeDateTime, decorator: Google::Apis::DocumentaiV1::GoogleTypeDateTime::Representation
2475
2575
 
2576
+ property :float_value, as: 'floatValue'
2577
+ property :integer_value, as: 'integerValue'
2476
2578
  property :money_value, as: 'moneyValue', class: Google::Apis::DocumentaiV1::GoogleTypeMoney, decorator: Google::Apis::DocumentaiV1::GoogleTypeMoney::Representation
2477
2579
 
2478
2580
  property :text, as: 'text'
@@ -2582,6 +2684,8 @@ module Google
2582
2684
  class GoogleCloudDocumentaiV1beta2DocumentPageFormField
2583
2685
  # @private
2584
2686
  class Representation < Google::Apis::Core::JsonRepresentation
2687
+ property :corrected_key_text, as: 'correctedKeyText'
2688
+ property :corrected_value_text, as: 'correctedValueText'
2585
2689
  property :field_name, as: 'fieldName', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageLayout, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageLayout::Representation
2586
2690
 
2587
2691
  property :field_value, as: 'fieldValue', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageLayout, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageLayout::Representation
@@ -184,8 +184,8 @@ module Google
184
184
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
185
185
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
186
186
  # @raise [Google::Apis::AuthorizationError] Authorization is required
187
- def cancel_project_location_operation_operation(name, fields: nil, quota_user: nil, options: nil, &block)
188
- command = make_simple_command(:delete, 'v1/{+name}', options)
187
+ def cancel_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
188
+ command = make_simple_command(:post, 'v1/{+name}:cancel', options)
189
189
  command.response_representation = Google::Apis::DocumentaiV1::GoogleProtobufEmpty::Representation
190
190
  command.response_class = Google::Apis::DocumentaiV1::GoogleProtobufEmpty
191
191
  command.params['name'] = name unless name.nil?
@@ -585,8 +585,8 @@ module Google
585
585
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
586
586
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
587
587
  # @raise [Google::Apis::AuthorizationError] Authorization is required
588
- def cancel_uiv1beta3_project_location_operation_operation(name, fields: nil, quota_user: nil, options: nil, &block)
589
- command = make_simple_command(:delete, 'uiv1beta3/{+name}', options)
588
+ def cancel_uiv1beta3_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
589
+ command = make_simple_command(:post, 'uiv1beta3/{+name}:cancel', options)
590
590
  command.response_representation = Google::Apis::DocumentaiV1::GoogleProtobufEmpty::Representation
591
591
  command.response_class = Google::Apis::DocumentaiV1::GoogleProtobufEmpty
592
592
  command.params['name'] = name unless name.nil?
@@ -31,7 +31,7 @@ module Google
31
31
  # This is NOT the gem version.
32
32
  VERSION = 'V1'
33
33
 
34
- # See, edit, configure, and delete your Google Cloud Platform data
34
+ # See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
35
35
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
36
36
  end
37
37
  end
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.10.0
4
+ version: 0.14.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-08-02 00:00:00.000000000 Z
11
+ date: 2021-09-06 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/master/generated/google-apis-documentai_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.10.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.14.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-documentai_v1
63
63
  post_install_message:
64
64
  rdoc_options: []