google-apis-documentai_v1 0.5.0 → 0.6.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: bcbb6b4878504a3a6e14a781f6ca2b6cf1ccdec61c9b877ba4df751c259cb0f9
4
- data.tar.gz: bf2c3ed5261d9f8f1f2752c878b200e11776a83d2fcc5b85f1c809ee73091748
3
+ metadata.gz: 966915b091808e4904db1e1affc2898d34f29d5d2b2ea8873eedb5f997bf90a9
4
+ data.tar.gz: ab800191cf9cc31456e68308093aaaf0178644bbdad093ac3951337852ab1185
5
5
  SHA512:
6
- metadata.gz: 7f42af2cfc787f1c1165791d4e149eb558a15cfed46743407117aacf9ae51eafadcf598a41c3e540b42f57aaf7858e031ca92ed5f105392de0fc34a988780735
7
- data.tar.gz: d7aa323341a3f094d27ee28e98ee1ddf8d271f668b8f4e0592ea87cad1c032b1bb5c972951627d4031e4b828646d3dbfe2a2a1fb24b0090637f4791423faef4e
6
+ metadata.gz: 5e382f289b3d6602966680fd5de4e5a1420ff18bca5f4c3af9f0fe1b34676e70db7c6583770edea5e9dd4f4e60394773a87738e7df20e134bf2910f966117549
7
+ data.tar.gz: 1a8ded691418e42d7095282efc119eb779754bc961ba72ac9e6f8b9400e833a2b4f4d73fd1928cfd59cdbdb6a929dcae8e4ef8e39ba9295c0ee5f0fa8b1c6c94
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-documentai_v1
2
2
 
3
+ ### v0.6.0 (2021-06-09)
4
+
5
+ * Regenerated from discovery document revision 20210607
6
+
3
7
  ### v0.5.0 (2021-06-03)
4
8
 
5
9
  * Regenerated from discovery document revision 20210527
@@ -1090,6 +1090,12 @@ module Google
1090
1090
  # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageParagraph>]
1091
1091
  attr_accessor :paragraphs
1092
1092
 
1093
+ # Structure to identify provenance relationships between annotations in
1094
+ # different revisions.
1095
+ # Corresponds to the JSON property `provenance`
1096
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentProvenance]
1097
+ attr_accessor :provenance
1098
+
1093
1099
  # A list of visually detected tables on the page.
1094
1100
  # Corresponds to the JSON property `tables`
1095
1101
  # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageTable>]
@@ -1127,6 +1133,7 @@ module Google
1127
1133
  @lines = args[:lines] if args.key?(:lines)
1128
1134
  @page_number = args[:page_number] if args.key?(:page_number)
1129
1135
  @paragraphs = args[:paragraphs] if args.key?(:paragraphs)
1136
+ @provenance = args[:provenance] if args.key?(:provenance)
1130
1137
  @tables = args[:tables] if args.key?(:tables)
1131
1138
  @tokens = args[:tokens] if args.key?(:tokens)
1132
1139
  @transforms = args[:transforms] if args.key?(:transforms)
@@ -1180,7 +1187,9 @@ module Google
1180
1187
  attr_accessor :layout_type
1181
1188
 
1182
1189
  # Required. Index into the Document.pages element, for example using Document.
1183
- # pages to locate the related page element.
1190
+ # pages to locate the related page element. This field is skipped when its value
1191
+ # is the default 0. See https://developers.google.com/protocol-buffers/docs/
1192
+ # proto3#json.
1184
1193
  # Corresponds to the JSON property `page`
1185
1194
  # @return [Fixnum]
1186
1195
  attr_accessor :page
@@ -1308,6 +1317,12 @@ module Google
1308
1317
  # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageDetectedLanguage>]
1309
1318
  attr_accessor :name_detected_languages
1310
1319
 
1320
+ # Structure to identify provenance relationships between annotations in
1321
+ # different revisions.
1322
+ # Corresponds to the JSON property `provenance`
1323
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentProvenance]
1324
+ attr_accessor :provenance
1325
+
1311
1326
  # A list of detected languages for value together with confidence.
1312
1327
  # Corresponds to the JSON property `valueDetectedLanguages`
1313
1328
  # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageDetectedLanguage>]
@@ -1329,6 +1344,7 @@ module Google
1329
1344
  @field_name = args[:field_name] if args.key?(:field_name)
1330
1345
  @field_value = args[:field_value] if args.key?(:field_value)
1331
1346
  @name_detected_languages = args[:name_detected_languages] if args.key?(:name_detected_languages)
1347
+ @provenance = args[:provenance] if args.key?(:provenance)
1332
1348
  @value_detected_languages = args[:value_detected_languages] if args.key?(:value_detected_languages)
1333
1349
  @value_type = args[:value_type] if args.key?(:value_type)
1334
1350
  end
@@ -2369,7 +2385,7 @@ module Google
2369
2385
  end
2370
2386
  end
2371
2387
 
2372
- # Request message for review document method. Next Id: 5.
2388
+ # Request message for review document method. Next Id: 6.
2373
2389
  class GoogleCloudDocumentaiV1ReviewDocumentRequest
2374
2390
  include Google::Apis::Core::Hashable
2375
2391
 
@@ -2387,6 +2403,11 @@ module Google
2387
2403
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1Document]
2388
2404
  attr_accessor :inline_document
2389
2405
 
2406
+ # The priority of the human review task.
2407
+ # Corresponds to the JSON property `priority`
2408
+ # @return [String]
2409
+ attr_accessor :priority
2410
+
2390
2411
  def initialize(**args)
2391
2412
  update!(**args)
2392
2413
  end
@@ -2395,6 +2416,7 @@ module Google
2395
2416
  def update!(**args)
2396
2417
  @enable_schema_validation = args[:enable_schema_validation] if args.key?(:enable_schema_validation)
2397
2418
  @inline_document = args[:inline_document] if args.key?(:inline_document)
2419
+ @priority = args[:priority] if args.key?(:priority)
2398
2420
  end
2399
2421
  end
2400
2422
 
@@ -2848,6 +2870,12 @@ module Google
2848
2870
  # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageParagraph>]
2849
2871
  attr_accessor :paragraphs
2850
2872
 
2873
+ # Structure to identify provenance relationships between annotations in
2874
+ # different revisions.
2875
+ # Corresponds to the JSON property `provenance`
2876
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentProvenance]
2877
+ attr_accessor :provenance
2878
+
2851
2879
  # A list of visually detected tables on the page.
2852
2880
  # Corresponds to the JSON property `tables`
2853
2881
  # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageTable>]
@@ -2885,6 +2913,7 @@ module Google
2885
2913
  @lines = args[:lines] if args.key?(:lines)
2886
2914
  @page_number = args[:page_number] if args.key?(:page_number)
2887
2915
  @paragraphs = args[:paragraphs] if args.key?(:paragraphs)
2916
+ @provenance = args[:provenance] if args.key?(:provenance)
2888
2917
  @tables = args[:tables] if args.key?(:tables)
2889
2918
  @tokens = args[:tokens] if args.key?(:tokens)
2890
2919
  @transforms = args[:transforms] if args.key?(:transforms)
@@ -2938,7 +2967,9 @@ module Google
2938
2967
  attr_accessor :layout_type
2939
2968
 
2940
2969
  # Required. Index into the Document.pages element, for example using Document.
2941
- # pages to locate the related page element.
2970
+ # pages to locate the related page element. This field is skipped when its value
2971
+ # is the default 0. See https://developers.google.com/protocol-buffers/docs/
2972
+ # proto3#json.
2942
2973
  # Corresponds to the JSON property `page`
2943
2974
  # @return [Fixnum]
2944
2975
  attr_accessor :page
@@ -3066,6 +3097,12 @@ module Google
3066
3097
  # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage>]
3067
3098
  attr_accessor :name_detected_languages
3068
3099
 
3100
+ # Structure to identify provenance relationships between annotations in
3101
+ # different revisions.
3102
+ # Corresponds to the JSON property `provenance`
3103
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentProvenance]
3104
+ attr_accessor :provenance
3105
+
3069
3106
  # A list of detected languages for value together with confidence.
3070
3107
  # Corresponds to the JSON property `valueDetectedLanguages`
3071
3108
  # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage>]
@@ -3087,6 +3124,7 @@ module Google
3087
3124
  @field_name = args[:field_name] if args.key?(:field_name)
3088
3125
  @field_value = args[:field_value] if args.key?(:field_value)
3089
3126
  @name_detected_languages = args[:name_detected_languages] if args.key?(:name_detected_languages)
3127
+ @provenance = args[:provenance] if args.key?(:provenance)
3090
3128
  @value_detected_languages = args[:value_detected_languages] if args.key?(:value_detected_languages)
3091
3129
  @value_type = args[:value_type] if args.key?(:value_type)
3092
3130
  end
@@ -4556,6 +4594,12 @@ module Google
4556
4594
  # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageParagraph>]
4557
4595
  attr_accessor :paragraphs
4558
4596
 
4597
+ # Structure to identify provenance relationships between annotations in
4598
+ # different revisions.
4599
+ # Corresponds to the JSON property `provenance`
4600
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentProvenance]
4601
+ attr_accessor :provenance
4602
+
4559
4603
  # A list of visually detected tables on the page.
4560
4604
  # Corresponds to the JSON property `tables`
4561
4605
  # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageTable>]
@@ -4593,6 +4637,7 @@ module Google
4593
4637
  @lines = args[:lines] if args.key?(:lines)
4594
4638
  @page_number = args[:page_number] if args.key?(:page_number)
4595
4639
  @paragraphs = args[:paragraphs] if args.key?(:paragraphs)
4640
+ @provenance = args[:provenance] if args.key?(:provenance)
4596
4641
  @tables = args[:tables] if args.key?(:tables)
4597
4642
  @tokens = args[:tokens] if args.key?(:tokens)
4598
4643
  @transforms = args[:transforms] if args.key?(:transforms)
@@ -4646,7 +4691,9 @@ module Google
4646
4691
  attr_accessor :layout_type
4647
4692
 
4648
4693
  # Required. Index into the Document.pages element, for example using Document.
4649
- # pages to locate the related page element.
4694
+ # pages to locate the related page element. This field is skipped when its value
4695
+ # is the default 0. See https://developers.google.com/protocol-buffers/docs/
4696
+ # proto3#json.
4650
4697
  # Corresponds to the JSON property `page`
4651
4698
  # @return [Fixnum]
4652
4699
  attr_accessor :page
@@ -4774,6 +4821,12 @@ module Google
4774
4821
  # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage>]
4775
4822
  attr_accessor :name_detected_languages
4776
4823
 
4824
+ # Structure to identify provenance relationships between annotations in
4825
+ # different revisions.
4826
+ # Corresponds to the JSON property `provenance`
4827
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentProvenance]
4828
+ attr_accessor :provenance
4829
+
4777
4830
  # A list of detected languages for value together with confidence.
4778
4831
  # Corresponds to the JSON property `valueDetectedLanguages`
4779
4832
  # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage>]
@@ -4795,6 +4848,7 @@ module Google
4795
4848
  @field_name = args[:field_name] if args.key?(:field_name)
4796
4849
  @field_value = args[:field_value] if args.key?(:field_value)
4797
4850
  @name_detected_languages = args[:name_detected_languages] if args.key?(:name_detected_languages)
4851
+ @provenance = args[:provenance] if args.key?(:provenance)
4798
4852
  @value_detected_languages = args[:value_detected_languages] if args.key?(:value_detected_languages)
4799
4853
  @value_type = args[:value_type] if args.key?(:value_type)
4800
4854
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DocumentaiV1
18
18
  # Version of the google-apis-documentai_v1 gem
19
- GEM_VERSION = "0.5.0"
19
+ GEM_VERSION = "0.6.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.3.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210527"
25
+ REVISION = "20210607"
26
26
  end
27
27
  end
28
28
  end
@@ -1479,6 +1479,8 @@ module Google
1479
1479
  property :page_number, as: 'pageNumber'
1480
1480
  collection :paragraphs, as: 'paragraphs', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageParagraph, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageParagraph::Representation
1481
1481
 
1482
+ property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentProvenance, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentProvenance::Representation
1483
+
1482
1484
  collection :tables, as: 'tables', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageTable, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageTable::Representation
1483
1485
 
1484
1486
  collection :tokens, as: 'tokens', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageToken, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageToken::Representation
@@ -1548,6 +1550,8 @@ module Google
1548
1550
 
1549
1551
  collection :name_detected_languages, as: 'nameDetectedLanguages', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageDetectedLanguage::Representation
1550
1552
 
1553
+ property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentProvenance, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentProvenance::Representation
1554
+
1551
1555
  collection :value_detected_languages, as: 'valueDetectedLanguages', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageDetectedLanguage::Representation
1552
1556
 
1553
1557
  property :value_type, as: 'valueType'
@@ -1862,6 +1866,7 @@ module Google
1862
1866
  property :enable_schema_validation, as: 'enableSchemaValidation'
1863
1867
  property :inline_document, as: 'inlineDocument', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1Document, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1Document::Representation
1864
1868
 
1869
+ property :priority, as: 'priority'
1865
1870
  end
1866
1871
  end
1867
1872
 
@@ -1991,6 +1996,8 @@ module Google
1991
1996
  property :page_number, as: 'pageNumber'
1992
1997
  collection :paragraphs, as: 'paragraphs', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageParagraph, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageParagraph::Representation
1993
1998
 
1999
+ property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentProvenance, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentProvenance::Representation
2000
+
1994
2001
  collection :tables, as: 'tables', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageTable, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageTable::Representation
1995
2002
 
1996
2003
  collection :tokens, as: 'tokens', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageToken, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageToken::Representation
@@ -2060,6 +2067,8 @@ module Google
2060
2067
 
2061
2068
  collection :name_detected_languages, as: 'nameDetectedLanguages', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage::Representation
2062
2069
 
2070
+ property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentProvenance, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentProvenance::Representation
2071
+
2063
2072
  collection :value_detected_languages, as: 'valueDetectedLanguages', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage::Representation
2064
2073
 
2065
2074
  property :value_type, as: 'valueType'
@@ -2481,6 +2490,8 @@ module Google
2481
2490
  property :page_number, as: 'pageNumber'
2482
2491
  collection :paragraphs, as: 'paragraphs', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageParagraph, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageParagraph::Representation
2483
2492
 
2493
+ property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentProvenance, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentProvenance::Representation
2494
+
2484
2495
  collection :tables, as: 'tables', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageTable, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageTable::Representation
2485
2496
 
2486
2497
  collection :tokens, as: 'tokens', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageToken, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageToken::Representation
@@ -2550,6 +2561,8 @@ module Google
2550
2561
 
2551
2562
  collection :name_detected_languages, as: 'nameDetectedLanguages', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage::Representation
2552
2563
 
2564
+ property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentProvenance, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentProvenance::Representation
2565
+
2553
2566
  collection :value_detected_languages, as: 'valueDetectedLanguages', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage::Representation
2554
2567
 
2555
2568
  property :value_type, as: 'valueType'
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.5.0
4
+ version: 0.6.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-06-07 00:00:00.000000000 Z
11
+ date: 2021-06-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-documentai_v1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.5.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.6.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-documentai_v1
57
57
  post_install_message:
58
58
  rdoc_options: []