google-apis-documentai_v1beta2 0.11.0 → 0.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7c208af4ee4a6ce7b36ee51e0167865f0913849a642a54f4dc3b610ab5622eb8
4
- data.tar.gz: 1ec6e560b1f1cbd32e175d61d6b4c946ecb5907ecc95adf20f9f655ab87c32a1
3
+ metadata.gz: 1ee257956e9ab55a165e04aef53323f5dd44ada73a8b653bf9540ffbd52692d7
4
+ data.tar.gz: e08205d016441e264452065503e55eebfe948a428608c6bb87b6d094e77afe37
5
5
  SHA512:
6
- metadata.gz: 04c66982e0a7ad7e52e4e884f2db045f22ec3d5c4e43d45df6f5203e9f3cf1e163a3f78dd69a126bb4ae633a59a6ce968277375427eccfe4f677509363821d34
7
- data.tar.gz: 3501be76dc2f859235f0ac3f9d28a9a64c4c3bb51772ed1df52c8ec35fd8d32ee292c6b754e5fe4f9c2ba0dd59919ec52449516bf2e6c897d4fdc678859bc61b
6
+ metadata.gz: 7ca0c9aef246c6883ecb4771386813fead2c41764f590e52a7f42f1eba41882c55b27468d329388dc11b6cb8e59ffbb339b60aaab88cbf376c1446f1a7d0ab89
7
+ data.tar.gz: 8ca5514dcf093a3ffdec72374096be649c39ad7e423872f0425e4fd62ea5743f666618a00a828841f194871a9181ce75b4b8e85738d01f8b56207a1cad056c3b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-documentai_v1beta2
2
2
 
3
+ ### v0.12.0 (2021-06-09)
4
+
5
+ * Regenerated from discovery document revision 20210607
6
+
3
7
  ### v0.11.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::DocumentaiV1beta2::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::DocumentaiV1beta2::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::DocumentaiV1beta2::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::DocumentaiV1beta2::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::DocumentaiV1beta2::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::DocumentaiV1beta2::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
@@ -2832,6 +2848,12 @@ module Google
2832
2848
  # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageParagraph>]
2833
2849
  attr_accessor :paragraphs
2834
2850
 
2851
+ # Structure to identify provenance relationships between annotations in
2852
+ # different revisions.
2853
+ # Corresponds to the JSON property `provenance`
2854
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentProvenance]
2855
+ attr_accessor :provenance
2856
+
2835
2857
  # A list of visually detected tables on the page.
2836
2858
  # Corresponds to the JSON property `tables`
2837
2859
  # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageTable>]
@@ -2869,6 +2891,7 @@ module Google
2869
2891
  @lines = args[:lines] if args.key?(:lines)
2870
2892
  @page_number = args[:page_number] if args.key?(:page_number)
2871
2893
  @paragraphs = args[:paragraphs] if args.key?(:paragraphs)
2894
+ @provenance = args[:provenance] if args.key?(:provenance)
2872
2895
  @tables = args[:tables] if args.key?(:tables)
2873
2896
  @tokens = args[:tokens] if args.key?(:tokens)
2874
2897
  @transforms = args[:transforms] if args.key?(:transforms)
@@ -2922,7 +2945,9 @@ module Google
2922
2945
  attr_accessor :layout_type
2923
2946
 
2924
2947
  # Required. Index into the Document.pages element, for example using Document.
2925
- # pages to locate the related page element.
2948
+ # pages to locate the related page element. This field is skipped when its value
2949
+ # is the default 0. See https://developers.google.com/protocol-buffers/docs/
2950
+ # proto3#json.
2926
2951
  # Corresponds to the JSON property `page`
2927
2952
  # @return [Fixnum]
2928
2953
  attr_accessor :page
@@ -3050,6 +3075,12 @@ module Google
3050
3075
  # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage>]
3051
3076
  attr_accessor :name_detected_languages
3052
3077
 
3078
+ # Structure to identify provenance relationships between annotations in
3079
+ # different revisions.
3080
+ # Corresponds to the JSON property `provenance`
3081
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentProvenance]
3082
+ attr_accessor :provenance
3083
+
3053
3084
  # A list of detected languages for value together with confidence.
3054
3085
  # Corresponds to the JSON property `valueDetectedLanguages`
3055
3086
  # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage>]
@@ -3071,6 +3102,7 @@ module Google
3071
3102
  @field_name = args[:field_name] if args.key?(:field_name)
3072
3103
  @field_value = args[:field_value] if args.key?(:field_value)
3073
3104
  @name_detected_languages = args[:name_detected_languages] if args.key?(:name_detected_languages)
3105
+ @provenance = args[:provenance] if args.key?(:provenance)
3074
3106
  @value_detected_languages = args[:value_detected_languages] if args.key?(:value_detected_languages)
3075
3107
  @value_type = args[:value_type] if args.key?(:value_type)
3076
3108
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DocumentaiV1beta2
18
18
  # Version of the google-apis-documentai_v1beta2 gem
19
- GEM_VERSION = "0.11.0"
19
+ GEM_VERSION = "0.12.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
@@ -1235,6 +1235,8 @@ module Google
1235
1235
  property :page_number, as: 'pageNumber'
1236
1236
  collection :paragraphs, as: 'paragraphs', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageParagraph, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageParagraph::Representation
1237
1237
 
1238
+ property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentProvenance::Representation
1239
+
1238
1240
  collection :tables, as: 'tables', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageTable, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageTable::Representation
1239
1241
 
1240
1242
  collection :tokens, as: 'tokens', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageToken, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageToken::Representation
@@ -1304,6 +1306,8 @@ module Google
1304
1306
 
1305
1307
  collection :name_detected_languages, as: 'nameDetectedLanguages', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage::Representation
1306
1308
 
1309
+ property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentProvenance::Representation
1310
+
1307
1311
  collection :value_detected_languages, as: 'valueDetectedLanguages', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage::Representation
1308
1312
 
1309
1313
  property :value_type, as: 'valueType'
@@ -1740,6 +1744,8 @@ module Google
1740
1744
  property :page_number, as: 'pageNumber'
1741
1745
  collection :paragraphs, as: 'paragraphs', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageParagraph, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageParagraph::Representation
1742
1746
 
1747
+ property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentProvenance::Representation
1748
+
1743
1749
  collection :tables, as: 'tables', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageTable, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageTable::Representation
1744
1750
 
1745
1751
  collection :tokens, as: 'tokens', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageToken, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageToken::Representation
@@ -1809,6 +1815,8 @@ module Google
1809
1815
 
1810
1816
  collection :name_detected_languages, as: 'nameDetectedLanguages', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage::Representation
1811
1817
 
1818
+ property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentProvenance::Representation
1819
+
1812
1820
  collection :value_detected_languages, as: 'valueDetectedLanguages', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage::Representation
1813
1821
 
1814
1822
  property :value_type, as: 'valueType'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-documentai_v1beta2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.12.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_v1beta2/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta2/v0.11.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta2/v0.12.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-documentai_v1beta2
57
57
  post_install_message:
58
58
  rdoc_options: []