google-apis-documentai_v1beta3 0.13.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: a11fc86d5bd724a3193ac62b86c11fc40c64dd28701368c6ad74d2174b64557f
4
- data.tar.gz: 0ac384ee62d07dda9c47bf7a98c6ab48a3c1ab91705662cd3f5cbff63d77aa53
3
+ metadata.gz: 9bf0a43f84c8fd4d869f0eb66c151ebf438e719231c6fb7976c298a1a7572f92
4
+ data.tar.gz: 4678a1a572bd3febcde1beec673998030cf648b4b6d09c32c6470ada92242f08
5
5
  SHA512:
6
- metadata.gz: ff249d354f7e0c2dace85fdeb6832502144f7d611ac1d9de8baf0bd4d8b8f6b45b735f6af31c889c4624f7e84a2afb18600e75c8866fffe95fd486d7d2bf1567
7
- data.tar.gz: f54d1a6e9aa70055ce89942e0ec29778bc5a36114703605826b185981a9e2d9b83f12b7db79448812c67477bd74dc3e8d8b2e8b13a7bcf3f864d0db349840147
6
+ metadata.gz: e6ae55ff767f0bc416205da32a373633da170dc4114ae795c085e75f2ab40d4712c12818f3dd01ace6ed0a81ba9764200ec2d500c4f755a9dd62908a4aa6fac6
7
+ data.tar.gz: 93bc58d62b5a1bade51eb98f7d4198b5bb29df809b52d55d9e95629347b6659fd654f64823553ed139da9fc9169990bb3396774d24a64828992fed6cc1d0463a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-documentai_v1beta3
2
2
 
3
+ ### v0.14.0 (2021-06-09)
4
+
5
+ * Regenerated from discovery document revision 20210607
6
+
3
7
  ### v0.13.0 (2021-06-03)
4
8
 
5
9
  * Regenerated from discovery document revision 20210527
@@ -1084,6 +1084,12 @@ module Google
1084
1084
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageParagraph>]
1085
1085
  attr_accessor :paragraphs
1086
1086
 
1087
+ # Structure to identify provenance relationships between annotations in
1088
+ # different revisions.
1089
+ # Corresponds to the JSON property `provenance`
1090
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentProvenance]
1091
+ attr_accessor :provenance
1092
+
1087
1093
  # A list of visually detected tables on the page.
1088
1094
  # Corresponds to the JSON property `tables`
1089
1095
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageTable>]
@@ -1121,6 +1127,7 @@ module Google
1121
1127
  @lines = args[:lines] if args.key?(:lines)
1122
1128
  @page_number = args[:page_number] if args.key?(:page_number)
1123
1129
  @paragraphs = args[:paragraphs] if args.key?(:paragraphs)
1130
+ @provenance = args[:provenance] if args.key?(:provenance)
1124
1131
  @tables = args[:tables] if args.key?(:tables)
1125
1132
  @tokens = args[:tokens] if args.key?(:tokens)
1126
1133
  @transforms = args[:transforms] if args.key?(:transforms)
@@ -1174,7 +1181,9 @@ module Google
1174
1181
  attr_accessor :layout_type
1175
1182
 
1176
1183
  # Required. Index into the Document.pages element, for example using Document.
1177
- # 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.
1178
1187
  # Corresponds to the JSON property `page`
1179
1188
  # @return [Fixnum]
1180
1189
  attr_accessor :page
@@ -1302,6 +1311,12 @@ module Google
1302
1311
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage>]
1303
1312
  attr_accessor :name_detected_languages
1304
1313
 
1314
+ # Structure to identify provenance relationships between annotations in
1315
+ # different revisions.
1316
+ # Corresponds to the JSON property `provenance`
1317
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentProvenance]
1318
+ attr_accessor :provenance
1319
+
1305
1320
  # A list of detected languages for value together with confidence.
1306
1321
  # Corresponds to the JSON property `valueDetectedLanguages`
1307
1322
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage>]
@@ -1323,6 +1338,7 @@ module Google
1323
1338
  @field_name = args[:field_name] if args.key?(:field_name)
1324
1339
  @field_value = args[:field_value] if args.key?(:field_value)
1325
1340
  @name_detected_languages = args[:name_detected_languages] if args.key?(:name_detected_languages)
1341
+ @provenance = args[:provenance] if args.key?(:provenance)
1326
1342
  @value_detected_languages = args[:value_detected_languages] if args.key?(:value_detected_languages)
1327
1343
  @value_type = args[:value_type] if args.key?(:value_type)
1328
1344
  end
@@ -2792,6 +2808,12 @@ module Google
2792
2808
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageParagraph>]
2793
2809
  attr_accessor :paragraphs
2794
2810
 
2811
+ # Structure to identify provenance relationships between annotations in
2812
+ # different revisions.
2813
+ # Corresponds to the JSON property `provenance`
2814
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentProvenance]
2815
+ attr_accessor :provenance
2816
+
2795
2817
  # A list of visually detected tables on the page.
2796
2818
  # Corresponds to the JSON property `tables`
2797
2819
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageTable>]
@@ -2829,6 +2851,7 @@ module Google
2829
2851
  @lines = args[:lines] if args.key?(:lines)
2830
2852
  @page_number = args[:page_number] if args.key?(:page_number)
2831
2853
  @paragraphs = args[:paragraphs] if args.key?(:paragraphs)
2854
+ @provenance = args[:provenance] if args.key?(:provenance)
2832
2855
  @tables = args[:tables] if args.key?(:tables)
2833
2856
  @tokens = args[:tokens] if args.key?(:tokens)
2834
2857
  @transforms = args[:transforms] if args.key?(:transforms)
@@ -2882,7 +2905,9 @@ module Google
2882
2905
  attr_accessor :layout_type
2883
2906
 
2884
2907
  # Required. Index into the Document.pages element, for example using Document.
2885
- # pages to locate the related page element.
2908
+ # pages to locate the related page element. This field is skipped when its value
2909
+ # is the default 0. See https://developers.google.com/protocol-buffers/docs/
2910
+ # proto3#json.
2886
2911
  # Corresponds to the JSON property `page`
2887
2912
  # @return [Fixnum]
2888
2913
  attr_accessor :page
@@ -3010,6 +3035,12 @@ module Google
3010
3035
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage>]
3011
3036
  attr_accessor :name_detected_languages
3012
3037
 
3038
+ # Structure to identify provenance relationships between annotations in
3039
+ # different revisions.
3040
+ # Corresponds to the JSON property `provenance`
3041
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentProvenance]
3042
+ attr_accessor :provenance
3043
+
3013
3044
  # A list of detected languages for value together with confidence.
3014
3045
  # Corresponds to the JSON property `valueDetectedLanguages`
3015
3046
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage>]
@@ -3031,6 +3062,7 @@ module Google
3031
3062
  @field_name = args[:field_name] if args.key?(:field_name)
3032
3063
  @field_value = args[:field_value] if args.key?(:field_value)
3033
3064
  @name_detected_languages = args[:name_detected_languages] if args.key?(:name_detected_languages)
3065
+ @provenance = args[:provenance] if args.key?(:provenance)
3034
3066
  @value_detected_languages = args[:value_detected_languages] if args.key?(:value_detected_languages)
3035
3067
  @value_type = args[:value_type] if args.key?(:value_type)
3036
3068
  end
@@ -4817,6 +4849,12 @@ module Google
4817
4849
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageParagraph>]
4818
4850
  attr_accessor :paragraphs
4819
4851
 
4852
+ # Structure to identify provenance relationships between annotations in
4853
+ # different revisions.
4854
+ # Corresponds to the JSON property `provenance`
4855
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentProvenance]
4856
+ attr_accessor :provenance
4857
+
4820
4858
  # A list of visually detected tables on the page.
4821
4859
  # Corresponds to the JSON property `tables`
4822
4860
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageTable>]
@@ -4854,6 +4892,7 @@ module Google
4854
4892
  @lines = args[:lines] if args.key?(:lines)
4855
4893
  @page_number = args[:page_number] if args.key?(:page_number)
4856
4894
  @paragraphs = args[:paragraphs] if args.key?(:paragraphs)
4895
+ @provenance = args[:provenance] if args.key?(:provenance)
4857
4896
  @tables = args[:tables] if args.key?(:tables)
4858
4897
  @tokens = args[:tokens] if args.key?(:tokens)
4859
4898
  @transforms = args[:transforms] if args.key?(:transforms)
@@ -4907,7 +4946,9 @@ module Google
4907
4946
  attr_accessor :layout_type
4908
4947
 
4909
4948
  # Required. Index into the Document.pages element, for example using Document.
4910
- # pages to locate the related page element.
4949
+ # pages to locate the related page element. This field is skipped when its value
4950
+ # is the default 0. See https://developers.google.com/protocol-buffers/docs/
4951
+ # proto3#json.
4911
4952
  # Corresponds to the JSON property `page`
4912
4953
  # @return [Fixnum]
4913
4954
  attr_accessor :page
@@ -5035,6 +5076,12 @@ module Google
5035
5076
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage>]
5036
5077
  attr_accessor :name_detected_languages
5037
5078
 
5079
+ # Structure to identify provenance relationships between annotations in
5080
+ # different revisions.
5081
+ # Corresponds to the JSON property `provenance`
5082
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentProvenance]
5083
+ attr_accessor :provenance
5084
+
5038
5085
  # A list of detected languages for value together with confidence.
5039
5086
  # Corresponds to the JSON property `valueDetectedLanguages`
5040
5087
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage>]
@@ -5056,6 +5103,7 @@ module Google
5056
5103
  @field_name = args[:field_name] if args.key?(:field_name)
5057
5104
  @field_value = args[:field_value] if args.key?(:field_value)
5058
5105
  @name_detected_languages = args[:name_detected_languages] if args.key?(:name_detected_languages)
5106
+ @provenance = args[:provenance] if args.key?(:provenance)
5059
5107
  @value_detected_languages = args[:value_detected_languages] if args.key?(:value_detected_languages)
5060
5108
  @value_type = args[:value_type] if args.key?(:value_type)
5061
5109
  end
@@ -6381,7 +6429,7 @@ module Google
6381
6429
  end
6382
6430
  end
6383
6431
 
6384
- # Request message for review document method. Next Id: 5.
6432
+ # Request message for review document method. Next Id: 6.
6385
6433
  class GoogleCloudDocumentaiV1beta3ReviewDocumentRequest
6386
6434
  include Google::Apis::Core::Hashable
6387
6435
 
@@ -6407,6 +6455,11 @@ module Google
6407
6455
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document]
6408
6456
  attr_accessor :inline_document
6409
6457
 
6458
+ # The priority of the human review task.
6459
+ # Corresponds to the JSON property `priority`
6460
+ # @return [String]
6461
+ attr_accessor :priority
6462
+
6410
6463
  def initialize(**args)
6411
6464
  update!(**args)
6412
6465
  end
@@ -6416,6 +6469,7 @@ module Google
6416
6469
  @document = args[:document] if args.key?(:document)
6417
6470
  @enable_schema_validation = args[:enable_schema_validation] if args.key?(:enable_schema_validation)
6418
6471
  @inline_document = args[:inline_document] if args.key?(:inline_document)
6472
+ @priority = args[:priority] if args.key?(:priority)
6419
6473
  end
6420
6474
  end
6421
6475
 
@@ -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.13.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.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
@@ -1541,6 +1541,8 @@ module Google
1541
1541
  property :page_number, as: 'pageNumber'
1542
1542
  collection :paragraphs, as: 'paragraphs', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageParagraph, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageParagraph::Representation
1543
1543
 
1544
+ property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentProvenance::Representation
1545
+
1544
1546
  collection :tables, as: 'tables', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageTable, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageTable::Representation
1545
1547
 
1546
1548
  collection :tokens, as: 'tokens', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageToken, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageToken::Representation
@@ -1610,6 +1612,8 @@ module Google
1610
1612
 
1611
1613
  collection :name_detected_languages, as: 'nameDetectedLanguages', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage::Representation
1612
1614
 
1615
+ property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentProvenance::Representation
1616
+
1613
1617
  collection :value_detected_languages, as: 'valueDetectedLanguages', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage::Representation
1614
1618
 
1615
1619
  property :value_type, as: 'valueType'
@@ -2031,6 +2035,8 @@ module Google
2031
2035
  property :page_number, as: 'pageNumber'
2032
2036
  collection :paragraphs, as: 'paragraphs', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageParagraph, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageParagraph::Representation
2033
2037
 
2038
+ property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentProvenance::Representation
2039
+
2034
2040
  collection :tables, as: 'tables', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageTable, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageTable::Representation
2035
2041
 
2036
2042
  collection :tokens, as: 'tokens', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageToken, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageToken::Representation
@@ -2100,6 +2106,8 @@ module Google
2100
2106
 
2101
2107
  collection :name_detected_languages, as: 'nameDetectedLanguages', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage::Representation
2102
2108
 
2109
+ property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentProvenance::Representation
2110
+
2103
2111
  collection :value_detected_languages, as: 'valueDetectedLanguages', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage::Representation
2104
2112
 
2105
2113
  property :value_type, as: 'valueType'
@@ -2627,6 +2635,8 @@ module Google
2627
2635
  property :page_number, as: 'pageNumber'
2628
2636
  collection :paragraphs, as: 'paragraphs', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageParagraph, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageParagraph::Representation
2629
2637
 
2638
+ property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentProvenance::Representation
2639
+
2630
2640
  collection :tables, as: 'tables', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageTable, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageTable::Representation
2631
2641
 
2632
2642
  collection :tokens, as: 'tokens', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageToken, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageToken::Representation
@@ -2696,6 +2706,8 @@ module Google
2696
2706
 
2697
2707
  collection :name_detected_languages, as: 'nameDetectedLanguages', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage::Representation
2698
2708
 
2709
+ property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentProvenance::Representation
2710
+
2699
2711
  collection :value_detected_languages, as: 'valueDetectedLanguages', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage::Representation
2700
2712
 
2701
2713
  property :value_type, as: 'valueType'
@@ -3091,6 +3103,7 @@ module Google
3091
3103
  property :enable_schema_validation, as: 'enableSchemaValidation'
3092
3104
  property :inline_document, as: 'inlineDocument', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document::Representation
3093
3105
 
3106
+ property :priority, as: 'priority'
3094
3107
  end
3095
3108
  end
3096
3109
 
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.13.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-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_v1beta3/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.13.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.14.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-documentai_v1beta3
57
57
  post_install_message:
58
58
  rdoc_options: []