google-apis-documentai_v1beta3 0.18.0 → 0.22.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: 8d99ef171e85f8208a1283e80b0ac4d57b4b6f286452b6716caa90ecb566d04a
4
- data.tar.gz: 845effcf4fe1144d709193d91f71f5ab75ccc6fb901394d510f03591c203c214
3
+ metadata.gz: 6d5753d793c66c22645676775ae74bb3b35b509b71a8f1ece5ddcc79933c3a4c
4
+ data.tar.gz: a47f90e1e2d9f032a9923f4a3344eb6051264be50173b987ce257f87728a8c62
5
5
  SHA512:
6
- metadata.gz: 43a3bad6f9d6f4e4e174c39be32fd0567281c4daa951b0d96d2060da3b0a5e660b6692edddd5dd715be4b9989955fa9e929d46adbfc53b6fe1d19c45b75bc1e8
7
- data.tar.gz: eb87755c762b207a05382aa835bbf3736205f4ac354bc2952c35614ae12f1d6ad4a76a49cd2a4b0e859d1a2dc8539de2e6c13975e392096baf6057604d9f1309
6
+ metadata.gz: 823b2c164306537f6060daeeb1c3a3b3f73de1f0ec38b908330adcb93231e357392aa6c7630a0a3a664e737621c87465d9ecdd60f4019ecad3f33dfcc3808daa
7
+ data.tar.gz: 24782f0bf511f96c39e55e92a0268c772fcc96abba822625d1576ffbec5208fbf15ed161e4963c5c4bac4e057d984dd2fa324fdb1551b4f4a85000b47e1ff0c3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-documentai_v1beta3
2
2
 
3
+ ### v0.22.0 (2021-09-02)
4
+
5
+ * Regenerated from discovery document revision 20210830
6
+
7
+ ### v0.21.0 (2021-08-24)
8
+
9
+ * Regenerated from discovery document revision 20210820
10
+
11
+ ### v0.20.0 (2021-08-19)
12
+
13
+ * Regenerated from discovery document revision 20210817
14
+
15
+ ### v0.19.0 (2021-08-03)
16
+
17
+ * Regenerated from discovery document revision 20210731
18
+
3
19
  ### v0.18.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 DocumentaiV1beta3
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::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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
@@ -867,8 +982,9 @@ module Google
867
982
  end
868
983
  end
869
984
 
870
- # A phrase in the text that is a known entity type, such as a person, an
871
- # organization, or location.
985
+ # An entity that could be a phrase in the text or a property belongs to the
986
+ # document. It is a known entity type, such as a person, an organization, or
987
+ # location.
872
988
  class GoogleCloudDocumentaiV1beta1DocumentEntity
873
989
  include Google::Apis::Core::Hashable
874
990
 
@@ -888,7 +1004,8 @@ module Google
888
1004
  # @return [String]
889
1005
  attr_accessor :mention_id
890
1006
 
891
- # Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`.
1007
+ # Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`. If the
1008
+ # entity is not present in the document, this field will be empty.
892
1009
  # Corresponds to the JSON property `mentionText`
893
1010
  # @return [String]
894
1011
  attr_accessor :mention_text
@@ -1007,17 +1124,29 @@ module Google
1007
1124
  # @return [Google::Apis::DocumentaiV1beta3::GoogleTypeDateTime]
1008
1125
  attr_accessor :datetime_value
1009
1126
 
1127
+ # Float value.
1128
+ # Corresponds to the JSON property `floatValue`
1129
+ # @return [Float]
1130
+ attr_accessor :float_value
1131
+
1132
+ # Integer value.
1133
+ # Corresponds to the JSON property `integerValue`
1134
+ # @return [Fixnum]
1135
+ attr_accessor :integer_value
1136
+
1010
1137
  # Represents an amount of money with its currency type.
1011
1138
  # Corresponds to the JSON property `moneyValue`
1012
1139
  # @return [Google::Apis::DocumentaiV1beta3::GoogleTypeMoney]
1013
1140
  attr_accessor :money_value
1014
1141
 
1015
- # Required. Normalized entity value stored as a string. This field is populated
1016
- # for supported document type (e.g. Invoice). For some entity types, one of
1017
- # respective 'structured_value' fields may also be populated. - Money/Currency
1018
- # type (`money_value`) is in the ISO 4217 text format. - Date type (`date_value`)
1019
- # is in the ISO 8601 text format. - Datetime type (`datetime_value`) is in the
1020
- # ISO 8601 text format.
1142
+ # Optional. An optional field to store a normalized string. For some entity
1143
+ # types, one of respective 'structured_value' fields may also be populated. Also
1144
+ # not all the types of 'structured_value' will be normalized. For example, some
1145
+ # processors may not generate float or int normalized text by default. Below are
1146
+ # sample formats mapped to structured values. - Money/Currency type (`
1147
+ # money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in
1148
+ # the ISO 8601 text format. - Datetime type (`datetime_value`) is in the ISO
1149
+ # 8601 text format.
1021
1150
  # Corresponds to the JSON property `text`
1022
1151
  # @return [String]
1023
1152
  attr_accessor :text
@@ -1032,6 +1161,8 @@ module Google
1032
1161
  @boolean_value = args[:boolean_value] if args.key?(:boolean_value)
1033
1162
  @date_value = args[:date_value] if args.key?(:date_value)
1034
1163
  @datetime_value = args[:datetime_value] if args.key?(:datetime_value)
1164
+ @float_value = args[:float_value] if args.key?(:float_value)
1165
+ @integer_value = args[:integer_value] if args.key?(:integer_value)
1035
1166
  @money_value = args[:money_value] if args.key?(:money_value)
1036
1167
  @text = args[:text] if args.key?(:text)
1037
1168
  end
@@ -1334,6 +1465,20 @@ module Google
1334
1465
  class GoogleCloudDocumentaiV1beta1DocumentPageFormField
1335
1466
  include Google::Apis::Core::Hashable
1336
1467
 
1468
+ # Created for Labeling UI to export key text. If corrections were made to the
1469
+ # text identified by the `field_name.text_anchor`, this field will contain the
1470
+ # correction.
1471
+ # Corresponds to the JSON property `correctedKeyText`
1472
+ # @return [String]
1473
+ attr_accessor :corrected_key_text
1474
+
1475
+ # Created for Labeling UI to export value text. If corrections were made to the
1476
+ # text identified by the `field_value.text_anchor`, this field will contain the
1477
+ # correction.
1478
+ # Corresponds to the JSON property `correctedValueText`
1479
+ # @return [String]
1480
+ attr_accessor :corrected_value_text
1481
+
1337
1482
  # Visual element describing a layout unit on a page.
1338
1483
  # Corresponds to the JSON property `fieldName`
1339
1484
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageLayout]
@@ -1373,6 +1518,8 @@ module Google
1373
1518
 
1374
1519
  # Update properties of this object
1375
1520
  def update!(**args)
1521
+ @corrected_key_text = args[:corrected_key_text] if args.key?(:corrected_key_text)
1522
+ @corrected_value_text = args[:corrected_value_text] if args.key?(:corrected_value_text)
1376
1523
  @field_name = args[:field_name] if args.key?(:field_name)
1377
1524
  @field_value = args[:field_value] if args.key?(:field_value)
1378
1525
  @name_detected_languages = args[:name_detected_languages] if args.key?(:name_detected_languages)
@@ -1795,8 +1942,8 @@ module Google
1795
1942
  # @return [Fixnum]
1796
1943
  attr_accessor :id
1797
1944
 
1798
- # The index of the parent revisions corresponding collection of items (eg. list
1799
- # of entities, properties within entities, etc.)
1945
+ # The index of the parent item in the corresponding item list (eg. list of
1946
+ # entities, properties within entities, etc.) on parent revision.
1800
1947
  # Corresponds to the JSON property `index`
1801
1948
  # @return [Fixnum]
1802
1949
  attr_accessor :index
@@ -2554,8 +2701,9 @@ module Google
2554
2701
  end
2555
2702
  end
2556
2703
 
2557
- # A phrase in the text that is a known entity type, such as a person, an
2558
- # organization, or location.
2704
+ # An entity that could be a phrase in the text or a property belongs to the
2705
+ # document. It is a known entity type, such as a person, an organization, or
2706
+ # location.
2559
2707
  class GoogleCloudDocumentaiV1beta2DocumentEntity
2560
2708
  include Google::Apis::Core::Hashable
2561
2709
 
@@ -2575,7 +2723,8 @@ module Google
2575
2723
  # @return [String]
2576
2724
  attr_accessor :mention_id
2577
2725
 
2578
- # Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`.
2726
+ # Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`. If the
2727
+ # entity is not present in the document, this field will be empty.
2579
2728
  # Corresponds to the JSON property `mentionText`
2580
2729
  # @return [String]
2581
2730
  attr_accessor :mention_text
@@ -2694,17 +2843,29 @@ module Google
2694
2843
  # @return [Google::Apis::DocumentaiV1beta3::GoogleTypeDateTime]
2695
2844
  attr_accessor :datetime_value
2696
2845
 
2846
+ # Float value.
2847
+ # Corresponds to the JSON property `floatValue`
2848
+ # @return [Float]
2849
+ attr_accessor :float_value
2850
+
2851
+ # Integer value.
2852
+ # Corresponds to the JSON property `integerValue`
2853
+ # @return [Fixnum]
2854
+ attr_accessor :integer_value
2855
+
2697
2856
  # Represents an amount of money with its currency type.
2698
2857
  # Corresponds to the JSON property `moneyValue`
2699
2858
  # @return [Google::Apis::DocumentaiV1beta3::GoogleTypeMoney]
2700
2859
  attr_accessor :money_value
2701
2860
 
2702
- # Required. Normalized entity value stored as a string. This field is populated
2703
- # for supported document type (e.g. Invoice). For some entity types, one of
2704
- # respective 'structured_value' fields may also be populated. - Money/Currency
2705
- # type (`money_value`) is in the ISO 4217 text format. - Date type (`date_value`)
2706
- # is in the ISO 8601 text format. - Datetime type (`datetime_value`) is in the
2707
- # ISO 8601 text format.
2861
+ # Optional. An optional field to store a normalized string. For some entity
2862
+ # types, one of respective 'structured_value' fields may also be populated. Also
2863
+ # not all the types of 'structured_value' will be normalized. For example, some
2864
+ # processors may not generate float or int normalized text by default. Below are
2865
+ # sample formats mapped to structured values. - Money/Currency type (`
2866
+ # money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in
2867
+ # the ISO 8601 text format. - Datetime type (`datetime_value`) is in the ISO
2868
+ # 8601 text format.
2708
2869
  # Corresponds to the JSON property `text`
2709
2870
  # @return [String]
2710
2871
  attr_accessor :text
@@ -2719,6 +2880,8 @@ module Google
2719
2880
  @boolean_value = args[:boolean_value] if args.key?(:boolean_value)
2720
2881
  @date_value = args[:date_value] if args.key?(:date_value)
2721
2882
  @datetime_value = args[:datetime_value] if args.key?(:datetime_value)
2883
+ @float_value = args[:float_value] if args.key?(:float_value)
2884
+ @integer_value = args[:integer_value] if args.key?(:integer_value)
2722
2885
  @money_value = args[:money_value] if args.key?(:money_value)
2723
2886
  @text = args[:text] if args.key?(:text)
2724
2887
  end
@@ -3058,6 +3221,20 @@ module Google
3058
3221
  class GoogleCloudDocumentaiV1beta2DocumentPageFormField
3059
3222
  include Google::Apis::Core::Hashable
3060
3223
 
3224
+ # Created for Labeling UI to export key text. If corrections were made to the
3225
+ # text identified by the `field_name.text_anchor`, this field will contain the
3226
+ # correction.
3227
+ # Corresponds to the JSON property `correctedKeyText`
3228
+ # @return [String]
3229
+ attr_accessor :corrected_key_text
3230
+
3231
+ # Created for Labeling UI to export value text. If corrections were made to the
3232
+ # text identified by the `field_value.text_anchor`, this field will contain the
3233
+ # correction.
3234
+ # Corresponds to the JSON property `correctedValueText`
3235
+ # @return [String]
3236
+ attr_accessor :corrected_value_text
3237
+
3061
3238
  # Visual element describing a layout unit on a page.
3062
3239
  # Corresponds to the JSON property `fieldName`
3063
3240
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageLayout]
@@ -3097,6 +3274,8 @@ module Google
3097
3274
 
3098
3275
  # Update properties of this object
3099
3276
  def update!(**args)
3277
+ @corrected_key_text = args[:corrected_key_text] if args.key?(:corrected_key_text)
3278
+ @corrected_value_text = args[:corrected_value_text] if args.key?(:corrected_value_text)
3100
3279
  @field_name = args[:field_name] if args.key?(:field_name)
3101
3280
  @field_value = args[:field_value] if args.key?(:field_value)
3102
3281
  @name_detected_languages = args[:name_detected_languages] if args.key?(:name_detected_languages)
@@ -3519,8 +3698,8 @@ module Google
3519
3698
  # @return [Fixnum]
3520
3699
  attr_accessor :id
3521
3700
 
3522
- # The index of the parent revisions corresponding collection of items (eg. list
3523
- # of entities, properties within entities, etc.)
3701
+ # The index of the parent item in the corresponding item list (eg. list of
3702
+ # entities, properties within entities, etc.) on parent revision.
3524
3703
  # Corresponds to the JSON property `index`
3525
3704
  # @return [Fixnum]
3526
3705
  attr_accessor :index
@@ -4593,8 +4772,9 @@ module Google
4593
4772
  end
4594
4773
  end
4595
4774
 
4596
- # A phrase in the text that is a known entity type, such as a person, an
4597
- # organization, or location.
4775
+ # An entity that could be a phrase in the text or a property belongs to the
4776
+ # document. It is a known entity type, such as a person, an organization, or
4777
+ # location.
4598
4778
  class GoogleCloudDocumentaiV1beta3DocumentEntity
4599
4779
  include Google::Apis::Core::Hashable
4600
4780
 
@@ -4614,7 +4794,8 @@ module Google
4614
4794
  # @return [String]
4615
4795
  attr_accessor :mention_id
4616
4796
 
4617
- # Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`.
4797
+ # Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`. If the
4798
+ # entity is not present in the document, this field will be empty.
4618
4799
  # Corresponds to the JSON property `mentionText`
4619
4800
  # @return [String]
4620
4801
  attr_accessor :mention_text
@@ -4733,17 +4914,29 @@ module Google
4733
4914
  # @return [Google::Apis::DocumentaiV1beta3::GoogleTypeDateTime]
4734
4915
  attr_accessor :datetime_value
4735
4916
 
4917
+ # Float value.
4918
+ # Corresponds to the JSON property `floatValue`
4919
+ # @return [Float]
4920
+ attr_accessor :float_value
4921
+
4922
+ # Integer value.
4923
+ # Corresponds to the JSON property `integerValue`
4924
+ # @return [Fixnum]
4925
+ attr_accessor :integer_value
4926
+
4736
4927
  # Represents an amount of money with its currency type.
4737
4928
  # Corresponds to the JSON property `moneyValue`
4738
4929
  # @return [Google::Apis::DocumentaiV1beta3::GoogleTypeMoney]
4739
4930
  attr_accessor :money_value
4740
4931
 
4741
- # Required. Normalized entity value stored as a string. This field is populated
4742
- # for supported document type (e.g. Invoice). For some entity types, one of
4743
- # respective 'structured_value' fields may also be populated. - Money/Currency
4744
- # type (`money_value`) is in the ISO 4217 text format. - Date type (`date_value`)
4745
- # is in the ISO 8601 text format. - Datetime type (`datetime_value`) is in the
4746
- # ISO 8601 text format.
4932
+ # Optional. An optional field to store a normalized string. For some entity
4933
+ # types, one of respective 'structured_value' fields may also be populated. Also
4934
+ # not all the types of 'structured_value' will be normalized. For example, some
4935
+ # processors may not generate float or int normalized text by default. Below are
4936
+ # sample formats mapped to structured values. - Money/Currency type (`
4937
+ # money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in
4938
+ # the ISO 8601 text format. - Datetime type (`datetime_value`) is in the ISO
4939
+ # 8601 text format.
4747
4940
  # Corresponds to the JSON property `text`
4748
4941
  # @return [String]
4749
4942
  attr_accessor :text
@@ -4758,6 +4951,8 @@ module Google
4758
4951
  @boolean_value = args[:boolean_value] if args.key?(:boolean_value)
4759
4952
  @date_value = args[:date_value] if args.key?(:date_value)
4760
4953
  @datetime_value = args[:datetime_value] if args.key?(:datetime_value)
4954
+ @float_value = args[:float_value] if args.key?(:float_value)
4955
+ @integer_value = args[:integer_value] if args.key?(:integer_value)
4761
4956
  @money_value = args[:money_value] if args.key?(:money_value)
4762
4957
  @text = args[:text] if args.key?(:text)
4763
4958
  end
@@ -5099,6 +5294,20 @@ module Google
5099
5294
  class GoogleCloudDocumentaiV1beta3DocumentPageFormField
5100
5295
  include Google::Apis::Core::Hashable
5101
5296
 
5297
+ # Created for Labeling UI to export key text. If corrections were made to the
5298
+ # text identified by the `field_name.text_anchor`, this field will contain the
5299
+ # correction.
5300
+ # Corresponds to the JSON property `correctedKeyText`
5301
+ # @return [String]
5302
+ attr_accessor :corrected_key_text
5303
+
5304
+ # Created for Labeling UI to export value text. If corrections were made to the
5305
+ # text identified by the `field_value.text_anchor`, this field will contain the
5306
+ # correction.
5307
+ # Corresponds to the JSON property `correctedValueText`
5308
+ # @return [String]
5309
+ attr_accessor :corrected_value_text
5310
+
5102
5311
  # Visual element describing a layout unit on a page.
5103
5312
  # Corresponds to the JSON property `fieldName`
5104
5313
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageLayout]
@@ -5138,6 +5347,8 @@ module Google
5138
5347
 
5139
5348
  # Update properties of this object
5140
5349
  def update!(**args)
5350
+ @corrected_key_text = args[:corrected_key_text] if args.key?(:corrected_key_text)
5351
+ @corrected_value_text = args[:corrected_value_text] if args.key?(:corrected_value_text)
5141
5352
  @field_name = args[:field_name] if args.key?(:field_name)
5142
5353
  @field_value = args[:field_value] if args.key?(:field_value)
5143
5354
  @name_detected_languages = args[:name_detected_languages] if args.key?(:name_detected_languages)
@@ -5560,8 +5771,8 @@ module Google
5560
5771
  # @return [Fixnum]
5561
5772
  attr_accessor :id
5562
5773
 
5563
- # The index of the parent revisions corresponding collection of items (eg. list
5564
- # of entities, properties within entities, etc.)
5774
+ # The index of the parent item in the corresponding item list (eg. list of
5775
+ # entities, properties within entities, etc.) on parent revision.
5565
5776
  # Corresponds to the JSON property `index`
5566
5777
  # @return [Fixnum]
5567
5778
  attr_accessor :index
@@ -6325,7 +6536,7 @@ module Google
6325
6536
  # EU' endpoint to feach processor types. In the return, we will have an 'invoice
6326
6537
  # parsing' processor with 'available_locations' field only containing 'US'. So
6327
6538
  # the user can try to create an 'invoice parsing' processor under the location '
6328
- # US'. Such attempt of creating under the location 'EU' will fail. Next ID: 7.
6539
+ # US'. Such attempt of creating under the location 'EU' will fail. Next ID: 8.
6329
6540
  class GoogleCloudDocumentaiV1beta3ProcessorType
6330
6541
  include Google::Apis::Core::Hashable
6331
6542
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DocumentaiV1beta3
18
18
  # Version of the google-apis-documentai_v1beta3 gem
19
- GEM_VERSION = "0.18.0"
19
+ GEM_VERSION = "0.22.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 DocumentaiV1beta3
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
 
@@ -1192,6 +1234,34 @@ module Google
1192
1234
  include Google::Apis::Core::JsonObjectSupport
1193
1235
  end
1194
1236
 
1237
+ class GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata
1238
+ # @private
1239
+ class Representation < Google::Apis::Core::JsonRepresentation
1240
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1241
+
1242
+ end
1243
+ end
1244
+
1245
+ class GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse
1246
+ # @private
1247
+ class Representation < Google::Apis::Core::JsonRepresentation
1248
+ end
1249
+ end
1250
+
1251
+ class GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata
1252
+ # @private
1253
+ class Representation < Google::Apis::Core::JsonRepresentation
1254
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1255
+
1256
+ end
1257
+ end
1258
+
1259
+ class GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse
1260
+ # @private
1261
+ class Representation < Google::Apis::Core::JsonRepresentation
1262
+ end
1263
+ end
1264
+
1195
1265
  class GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata
1196
1266
  # @private
1197
1267
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1306,6 +1376,20 @@ module Google
1306
1376
  end
1307
1377
  end
1308
1378
 
1379
+ class GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata
1380
+ # @private
1381
+ class Representation < Google::Apis::Core::JsonRepresentation
1382
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1383
+
1384
+ end
1385
+ end
1386
+
1387
+ class GoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse
1388
+ # @private
1389
+ class Representation < Google::Apis::Core::JsonRepresentation
1390
+ end
1391
+ end
1392
+
1309
1393
  class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata
1310
1394
  # @private
1311
1395
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1365,6 +1449,14 @@ module Google
1365
1449
  end
1366
1450
  end
1367
1451
 
1452
+ class GoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata
1453
+ # @private
1454
+ class Representation < Google::Apis::Core::JsonRepresentation
1455
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1456
+
1457
+ end
1458
+ end
1459
+
1368
1460
  class GoogleCloudDocumentaiUiv1beta3UpdateHumanReviewConfigMetadata
1369
1461
  # @private
1370
1462
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1521,6 +1613,8 @@ module Google
1521
1613
 
1522
1614
  property :datetime_value, as: 'datetimeValue', class: Google::Apis::DocumentaiV1beta3::GoogleTypeDateTime, decorator: Google::Apis::DocumentaiV1beta3::GoogleTypeDateTime::Representation
1523
1615
 
1616
+ property :float_value, as: 'floatValue'
1617
+ property :integer_value, as: 'integerValue'
1524
1618
  property :money_value, as: 'moneyValue', class: Google::Apis::DocumentaiV1beta3::GoogleTypeMoney, decorator: Google::Apis::DocumentaiV1beta3::GoogleTypeMoney::Representation
1525
1619
 
1526
1620
  property :text, as: 'text'
@@ -1621,6 +1715,8 @@ module Google
1621
1715
  class GoogleCloudDocumentaiV1beta1DocumentPageFormField
1622
1716
  # @private
1623
1717
  class Representation < Google::Apis::Core::JsonRepresentation
1718
+ property :corrected_key_text, as: 'correctedKeyText'
1719
+ property :corrected_value_text, as: 'correctedValueText'
1624
1720
  property :field_name, as: 'fieldName', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageLayout::Representation
1625
1721
 
1626
1722
  property :field_value, as: 'fieldValue', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageLayout::Representation
@@ -2006,6 +2102,8 @@ module Google
2006
2102
 
2007
2103
  property :datetime_value, as: 'datetimeValue', class: Google::Apis::DocumentaiV1beta3::GoogleTypeDateTime, decorator: Google::Apis::DocumentaiV1beta3::GoogleTypeDateTime::Representation
2008
2104
 
2105
+ property :float_value, as: 'floatValue'
2106
+ property :integer_value, as: 'integerValue'
2009
2107
  property :money_value, as: 'moneyValue', class: Google::Apis::DocumentaiV1beta3::GoogleTypeMoney, decorator: Google::Apis::DocumentaiV1beta3::GoogleTypeMoney::Representation
2010
2108
 
2011
2109
  property :text, as: 'text'
@@ -2115,6 +2213,8 @@ module Google
2115
2213
  class GoogleCloudDocumentaiV1beta2DocumentPageFormField
2116
2214
  # @private
2117
2215
  class Representation < Google::Apis::Core::JsonRepresentation
2216
+ property :corrected_key_text, as: 'correctedKeyText'
2217
+ property :corrected_value_text, as: 'correctedValueText'
2118
2218
  property :field_name, as: 'fieldName', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageLayout::Representation
2119
2219
 
2120
2220
  property :field_value, as: 'fieldValue', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageLayout::Representation
@@ -2600,6 +2700,8 @@ module Google
2600
2700
 
2601
2701
  property :datetime_value, as: 'datetimeValue', class: Google::Apis::DocumentaiV1beta3::GoogleTypeDateTime, decorator: Google::Apis::DocumentaiV1beta3::GoogleTypeDateTime::Representation
2602
2702
 
2703
+ property :float_value, as: 'floatValue'
2704
+ property :integer_value, as: 'integerValue'
2603
2705
  property :money_value, as: 'moneyValue', class: Google::Apis::DocumentaiV1beta3::GoogleTypeMoney, decorator: Google::Apis::DocumentaiV1beta3::GoogleTypeMoney::Representation
2604
2706
 
2605
2707
  property :text, as: 'text'
@@ -2715,6 +2817,8 @@ module Google
2715
2817
  class GoogleCloudDocumentaiV1beta3DocumentPageFormField
2716
2818
  # @private
2717
2819
  class Representation < Google::Apis::Core::JsonRepresentation
2820
+ property :corrected_key_text, as: 'correctedKeyText'
2821
+ property :corrected_value_text, as: 'correctedValueText'
2718
2822
  property :field_name, as: 'fieldName', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageLayout::Representation
2719
2823
 
2720
2824
  property :field_value, as: 'fieldValue', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageLayout::Representation
@@ -183,8 +183,8 @@ module Google
183
183
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
184
184
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
185
185
  # @raise [Google::Apis::AuthorizationError] Authorization is required
186
- def cancel_project_location_operation_operation(name, fields: nil, quota_user: nil, options: nil, &block)
187
- command = make_simple_command(:delete, 'v1beta3/{+name}', options)
186
+ def cancel_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
187
+ command = make_simple_command(:post, 'v1beta3/{+name}:cancel', options)
188
188
  command.response_representation = Google::Apis::DocumentaiV1beta3::GoogleProtobufEmpty::Representation
189
189
  command.response_class = Google::Apis::DocumentaiV1beta3::GoogleProtobufEmpty
190
190
  command.params['name'] = name unless name.nil?
@@ -31,7 +31,7 @@ module Google
31
31
  # This is NOT the gem version.
32
32
  VERSION = 'V1beta3'
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_v1beta3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.0
4
+ version: 0.22.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_v1beta3/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.18.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.22.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-documentai_v1beta3
63
63
  post_install_message:
64
64
  rdoc_options: []