google-apis-documentai_v1beta2 0.25.0 → 0.29.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: c3766aba62077eb0b3f764386dd66ea35ee5ac719cd6149da76593349b295a8b
4
- data.tar.gz: 382bc1d81971495ca4d1b3558bc8369ab95728cf58479aedf9eb9c2294ae8945
3
+ metadata.gz: 6036bef4ac7be9ccc7e199383d668ceb9047d4de81cfcab27dfcb1f8ddb20d6b
4
+ data.tar.gz: 187962bc592238797854a9506575eacdc83d9b3cdf5c01bbf0ea8632a1388745
5
5
  SHA512:
6
- metadata.gz: 16f6bfd39f327dd3cf04a389d8e6e0070f582f43873e5d297909894efb95e43c112f900e37cd00a60e07a4f1478517bfe37e7a8ba5309b3cd8e77ffe54688350
7
- data.tar.gz: 9e5d1b4ab80bcbcd98f4bc54722de4f0ec093e280b2326639533e580378771a8f244bdec0e31cbc676014b6bfaf469ca0bc14e581026f9ca4f20ab012300d755
6
+ metadata.gz: 919cfb12935050604d0d5f88f1b7be1fcfbdc774103b244fb6d49b9ad08db0de4fd6e67c2b550bf224655a417b8c95b24d6e53f3a09539386dcdd6f0ccb7f1e7
7
+ data.tar.gz: e9e5cdcac1fcc5425eddac5f34e40f3ebeb0242ff37a64a777b995bbd1abc332780fca2bc4bc59eb68385afffe848c373b77635bfa6c78d6cf03ba89fedb2d9f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-documentai_v1beta2
2
2
 
3
+ ### v0.29.0 (2022-02-15)
4
+
5
+ * Regenerated from discovery document revision 20220212
6
+
7
+ ### v0.28.0 (2022-02-08)
8
+
9
+ * Regenerated from discovery document revision 20220205
10
+
11
+ ### v0.27.0 (2022-02-01)
12
+
13
+ * Regenerated from discovery document revision 20220129
14
+
15
+ ### v0.26.0 (2022-01-20)
16
+
17
+ * Regenerated from discovery document revision 20220114
18
+ * Regenerated using generator version 0.4.1
19
+
3
20
  ### v0.25.0 (2021-12-16)
4
21
 
5
22
  * Regenerated from discovery document revision 20211214
@@ -548,6 +548,83 @@ module Google
548
548
  end
549
549
  end
550
550
 
551
+ # The metadata proto of ResyncDataset method.
552
+ class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata
553
+ include Google::Apis::Core::Hashable
554
+
555
+ # The common metadata for long running operations.
556
+ # Corresponds to the JSON property `commonMetadata`
557
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
558
+ attr_accessor :common_metadata
559
+
560
+ # Returns the newly added document Cloud Storage prefix if the documents are
561
+ # founded in Cloud Storage while not in Document Service storage.
562
+ # Corresponds to the JSON property `newlyAddedDocuments`
563
+ # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument>]
564
+ attr_accessor :newly_added_documents
565
+
566
+ def initialize(**args)
567
+ update!(**args)
568
+ end
569
+
570
+ # Update properties of this object
571
+ def update!(**args)
572
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
573
+ @newly_added_documents = args[:newly_added_documents] if args.key?(:newly_added_documents)
574
+ end
575
+ end
576
+
577
+ # The proto for updated document in resync pipeline.
578
+ class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument
579
+ include Google::Apis::Core::Hashable
580
+
581
+ # The prefix of cloud storage, identifies the destination document which should
582
+ # be updated by resync pipeline.
583
+ # Corresponds to the JSON property `destinationPrefix`
584
+ # @return [String]
585
+ attr_accessor :destination_prefix
586
+
587
+ # The prefix of cloud storage, identifies the original document which should be
588
+ # updated by resync pipeline.
589
+ # Corresponds to the JSON property `sourcePrefix`
590
+ # @return [String]
591
+ attr_accessor :source_prefix
592
+
593
+ # The `Status` type defines a logical error model that is suitable for different
594
+ # programming environments, including REST APIs and RPC APIs. It is used by [
595
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
596
+ # data: error code, error message, and error details. You can find out more
597
+ # about this error model and how to work with it in the [API Design Guide](https:
598
+ # //cloud.google.com/apis/design/errors).
599
+ # Corresponds to the JSON property `status`
600
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleRpcStatus]
601
+ attr_accessor :status
602
+
603
+ def initialize(**args)
604
+ update!(**args)
605
+ end
606
+
607
+ # Update properties of this object
608
+ def update!(**args)
609
+ @destination_prefix = args[:destination_prefix] if args.key?(:destination_prefix)
610
+ @source_prefix = args[:source_prefix] if args.key?(:source_prefix)
611
+ @status = args[:status] if args.key?(:status)
612
+ end
613
+ end
614
+
615
+ # The response proto of ResyncDataset method.
616
+ class GoogleCloudDocumentaiUiv1beta3ResyncDatasetResponse
617
+ include Google::Apis::Core::Hashable
618
+
619
+ def initialize(**args)
620
+ update!(**args)
621
+ end
622
+
623
+ # Update properties of this object
624
+ def update!(**args)
625
+ end
626
+ end
627
+
551
628
  # The revision reference specifies which revision on the document to read.
552
629
  class GoogleCloudDocumentaiUiv1beta3RevisionReference
553
630
  include Google::Apis::Core::Hashable
@@ -1120,6 +1197,11 @@ module Google
1120
1197
  # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata]
1121
1198
  attr_accessor :common_metadata
1122
1199
 
1200
+ # The Crowd Compute question ID.
1201
+ # Corresponds to the JSON property `questionId`
1202
+ # @return [String]
1203
+ attr_accessor :question_id
1204
+
1123
1205
  def initialize(**args)
1124
1206
  update!(**args)
1125
1207
  end
@@ -1127,6 +1209,7 @@ module Google
1127
1209
  # Update properties of this object
1128
1210
  def update!(**args)
1129
1211
  @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
1212
+ @question_id = args[:question_id] if args.key?(:question_id)
1130
1213
  end
1131
1214
  end
1132
1215
 
@@ -1213,6 +1296,68 @@ module Google
1213
1296
  end
1214
1297
  end
1215
1298
 
1299
+ # The long running operation metadata for AnalyzeHitlData.
1300
+ class GoogleCloudDocumentaiV1alpha1AnalyzeHitlDataMetadata
1301
+ include Google::Apis::Core::Hashable
1302
+
1303
+ # The common metadata for long running operations.
1304
+ # Corresponds to the JSON property `commonMetadata`
1305
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1alpha1CommonOperationMetadata]
1306
+ attr_accessor :common_metadata
1307
+
1308
+ def initialize(**args)
1309
+ update!(**args)
1310
+ end
1311
+
1312
+ # Update properties of this object
1313
+ def update!(**args)
1314
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
1315
+ end
1316
+ end
1317
+
1318
+ # The common metadata for long running operations.
1319
+ class GoogleCloudDocumentaiV1alpha1CommonOperationMetadata
1320
+ include Google::Apis::Core::Hashable
1321
+
1322
+ # The creation time of the operation.
1323
+ # Corresponds to the JSON property `createTime`
1324
+ # @return [String]
1325
+ attr_accessor :create_time
1326
+
1327
+ # A related resource to this operation.
1328
+ # Corresponds to the JSON property `resource`
1329
+ # @return [String]
1330
+ attr_accessor :resource
1331
+
1332
+ # The state of the operation.
1333
+ # Corresponds to the JSON property `state`
1334
+ # @return [String]
1335
+ attr_accessor :state
1336
+
1337
+ # A message providing more details about the current state of processing.
1338
+ # Corresponds to the JSON property `stateMessage`
1339
+ # @return [String]
1340
+ attr_accessor :state_message
1341
+
1342
+ # The last update time of the operation.
1343
+ # Corresponds to the JSON property `updateTime`
1344
+ # @return [String]
1345
+ attr_accessor :update_time
1346
+
1347
+ def initialize(**args)
1348
+ update!(**args)
1349
+ end
1350
+
1351
+ # Update properties of this object
1352
+ def update!(**args)
1353
+ @create_time = args[:create_time] if args.key?(:create_time)
1354
+ @resource = args[:resource] if args.key?(:resource)
1355
+ @state = args[:state] if args.key?(:state)
1356
+ @state_message = args[:state_message] if args.key?(:state_message)
1357
+ @update_time = args[:update_time] if args.key?(:update_time)
1358
+ end
1359
+ end
1360
+
1216
1361
  # Response to an batch document processing request. This is returned in the LRO
1217
1362
  # Operation after the operation is complete.
1218
1363
  class GoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse
@@ -1479,10 +1624,10 @@ module Google
1479
1624
  # day and time zone are either specified elsewhere or are insignificant. The
1480
1625
  # date is relative to the Gregorian Calendar. This can represent one of the
1481
1626
  # following: * A full date, with non-zero year, month, and day values * A month
1482
- # and day value, with a zero year, such as an anniversary * A year on its own,
1483
- # with zero month and day values * A year and month value, with a zero day, such
1484
- # as a credit card expiration date Related types are google.type.TimeOfDay and `
1485
- # google.protobuf.Timestamp`.
1627
+ # and day, with a zero year (e.g., an anniversary) * A year on its own, with a
1628
+ # zero month and a zero day * A year and month, with a zero day (e.g., a credit
1629
+ # card expiration date) Related types: * google.type.TimeOfDay * google.type.
1630
+ # DateTime * google.protobuf.Timestamp
1486
1631
  # Corresponds to the JSON property `dateValue`
1487
1632
  # @return [Google::Apis::DocumentaiV1beta2::GoogleTypeDate]
1488
1633
  attr_accessor :date_value
@@ -1640,6 +1785,11 @@ module Google
1640
1785
  # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentProvenance]
1641
1786
  attr_accessor :provenance
1642
1787
 
1788
+ # A list of visually detected symbols on the page.
1789
+ # Corresponds to the JSON property `symbols`
1790
+ # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageSymbol>]
1791
+ attr_accessor :symbols
1792
+
1643
1793
  # A list of visually detected tables on the page.
1644
1794
  # Corresponds to the JSON property `tables`
1645
1795
  # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageTable>]
@@ -1678,6 +1828,7 @@ module Google
1678
1828
  @page_number = args[:page_number] if args.key?(:page_number)
1679
1829
  @paragraphs = args[:paragraphs] if args.key?(:paragraphs)
1680
1830
  @provenance = args[:provenance] if args.key?(:provenance)
1831
+ @symbols = args[:symbols] if args.key?(:symbols)
1681
1832
  @tables = args[:tables] if args.key?(:tables)
1682
1833
  @tokens = args[:tokens] if args.key?(:tokens)
1683
1834
  @transforms = args[:transforms] if args.key?(:transforms)
@@ -1795,7 +1946,7 @@ module Google
1795
1946
  attr_accessor :confidence
1796
1947
 
1797
1948
  # The BCP-47 language code, such as "en-US" or "sr-Latn". For more information,
1798
- # see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
1949
+ # see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
1799
1950
  # Corresponds to the JSON property `languageCode`
1800
1951
  # @return [String]
1801
1952
  attr_accessor :language_code
@@ -2094,6 +2245,31 @@ module Google
2094
2245
  end
2095
2246
  end
2096
2247
 
2248
+ # A detected symbol.
2249
+ class GoogleCloudDocumentaiV1beta1DocumentPageSymbol
2250
+ include Google::Apis::Core::Hashable
2251
+
2252
+ # A list of detected languages together with confidence.
2253
+ # Corresponds to the JSON property `detectedLanguages`
2254
+ # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage>]
2255
+ attr_accessor :detected_languages
2256
+
2257
+ # Visual element describing a layout unit on a page.
2258
+ # Corresponds to the JSON property `layout`
2259
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageLayout]
2260
+ attr_accessor :layout
2261
+
2262
+ def initialize(**args)
2263
+ update!(**args)
2264
+ end
2265
+
2266
+ # Update properties of this object
2267
+ def update!(**args)
2268
+ @detected_languages = args[:detected_languages] if args.key?(:detected_languages)
2269
+ @layout = args[:layout] if args.key?(:layout)
2270
+ end
2271
+ end
2272
+
2097
2273
  # A table representation similar to HTML table structure.
2098
2274
  class GoogleCloudDocumentaiV1beta1DocumentPageTable
2099
2275
  include Google::Apis::Core::Hashable
@@ -2642,7 +2818,7 @@ module Google
2642
2818
  include Google::Apis::Core::Hashable
2643
2819
 
2644
2820
  # Contains the content of the text span so that users do not have to look it up
2645
- # in the text_segments.
2821
+ # in the text_segments. It is always populated for formFields.
2646
2822
  # Corresponds to the JSON property `content`
2647
2823
  # @return [String]
2648
2824
  attr_accessor :content
@@ -3246,10 +3422,10 @@ module Google
3246
3422
  # day and time zone are either specified elsewhere or are insignificant. The
3247
3423
  # date is relative to the Gregorian Calendar. This can represent one of the
3248
3424
  # following: * A full date, with non-zero year, month, and day values * A month
3249
- # and day value, with a zero year, such as an anniversary * A year on its own,
3250
- # with zero month and day values * A year and month value, with a zero day, such
3251
- # as a credit card expiration date Related types are google.type.TimeOfDay and `
3252
- # google.protobuf.Timestamp`.
3425
+ # and day, with a zero year (e.g., an anniversary) * A year on its own, with a
3426
+ # zero month and a zero day * A year and month, with a zero day (e.g., a credit
3427
+ # card expiration date) Related types: * google.type.TimeOfDay * google.type.
3428
+ # DateTime * google.protobuf.Timestamp
3253
3429
  # Corresponds to the JSON property `dateValue`
3254
3430
  # @return [Google::Apis::DocumentaiV1beta2::GoogleTypeDate]
3255
3431
  attr_accessor :date_value
@@ -3444,6 +3620,11 @@ module Google
3444
3620
  # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentProvenance]
3445
3621
  attr_accessor :provenance
3446
3622
 
3623
+ # A list of visually detected symbols on the page.
3624
+ # Corresponds to the JSON property `symbols`
3625
+ # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageSymbol>]
3626
+ attr_accessor :symbols
3627
+
3447
3628
  # A list of visually detected tables on the page.
3448
3629
  # Corresponds to the JSON property `tables`
3449
3630
  # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageTable>]
@@ -3482,6 +3663,7 @@ module Google
3482
3663
  @page_number = args[:page_number] if args.key?(:page_number)
3483
3664
  @paragraphs = args[:paragraphs] if args.key?(:paragraphs)
3484
3665
  @provenance = args[:provenance] if args.key?(:provenance)
3666
+ @symbols = args[:symbols] if args.key?(:symbols)
3485
3667
  @tables = args[:tables] if args.key?(:tables)
3486
3668
  @tokens = args[:tokens] if args.key?(:tokens)
3487
3669
  @transforms = args[:transforms] if args.key?(:transforms)
@@ -3599,7 +3781,7 @@ module Google
3599
3781
  attr_accessor :confidence
3600
3782
 
3601
3783
  # The BCP-47 language code, such as "en-US" or "sr-Latn". For more information,
3602
- # see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
3784
+ # see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
3603
3785
  # Corresponds to the JSON property `languageCode`
3604
3786
  # @return [String]
3605
3787
  attr_accessor :language_code
@@ -3898,6 +4080,31 @@ module Google
3898
4080
  end
3899
4081
  end
3900
4082
 
4083
+ # A detected symbol.
4084
+ class GoogleCloudDocumentaiV1beta2DocumentPageSymbol
4085
+ include Google::Apis::Core::Hashable
4086
+
4087
+ # A list of detected languages together with confidence.
4088
+ # Corresponds to the JSON property `detectedLanguages`
4089
+ # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage>]
4090
+ attr_accessor :detected_languages
4091
+
4092
+ # Visual element describing a layout unit on a page.
4093
+ # Corresponds to the JSON property `layout`
4094
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageLayout]
4095
+ attr_accessor :layout
4096
+
4097
+ def initialize(**args)
4098
+ update!(**args)
4099
+ end
4100
+
4101
+ # Update properties of this object
4102
+ def update!(**args)
4103
+ @detected_languages = args[:detected_languages] if args.key?(:detected_languages)
4104
+ @layout = args[:layout] if args.key?(:layout)
4105
+ end
4106
+ end
4107
+
3901
4108
  # A table representation similar to HTML table structure.
3902
4109
  class GoogleCloudDocumentaiV1beta2DocumentPageTable
3903
4110
  include Google::Apis::Core::Hashable
@@ -4446,7 +4653,7 @@ module Google
4446
4653
  include Google::Apis::Core::Hashable
4447
4654
 
4448
4655
  # Contains the content of the text span so that users do not have to look it up
4449
- # in the text_segments.
4656
+ # in the text_segments. It is always populated for formFields.
4450
4657
  # Corresponds to the JSON property `content`
4451
4658
  # @return [String]
4452
4659
  attr_accessor :content
@@ -4569,7 +4776,7 @@ module Google
4569
4776
 
4570
4777
  # Model version of the form extraction system. Default is "builtin/stable".
4571
4778
  # Specify "builtin/latest" for the latest model. For custom form models, specify:
4572
- # custom/`model_name`". Model name format is "bucket_name/path/to/modeldir"
4779
+ # "custom/`model_name`". Model name format is "bucket_name/path/to/modeldir"
4573
4780
  # corresponding to "gs://bucket_name/path/to/modeldir" where annotated examples
4574
4781
  # are stored.
4575
4782
  # Corresponds to the JSON property `modelVersion`
@@ -5340,6 +5547,11 @@ module Google
5340
5547
  # @return [String]
5341
5548
  attr_accessor :create_time
5342
5549
 
5550
+ # The Crowd Compute question ID.
5551
+ # Corresponds to the JSON property `questionId`
5552
+ # @return [String]
5553
+ attr_accessor :question_id
5554
+
5343
5555
  # Used only when Operation.done is false.
5344
5556
  # Corresponds to the JSON property `state`
5345
5557
  # @return [String]
@@ -5364,6 +5576,7 @@ module Google
5364
5576
  def update!(**args)
5365
5577
  @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
5366
5578
  @create_time = args[:create_time] if args.key?(:create_time)
5579
+ @question_id = args[:question_id] if args.key?(:question_id)
5367
5580
  @state = args[:state] if args.key?(:state)
5368
5581
  @state_message = args[:state_message] if args.key?(:state_message)
5369
5582
  @update_time = args[:update_time] if args.key?(:update_time)
@@ -5663,10 +5876,10 @@ module Google
5663
5876
  # day and time zone are either specified elsewhere or are insignificant. The
5664
5877
  # date is relative to the Gregorian Calendar. This can represent one of the
5665
5878
  # following: * A full date, with non-zero year, month, and day values * A month
5666
- # and day value, with a zero year, such as an anniversary * A year on its own,
5667
- # with zero month and day values * A year and month value, with a zero day, such
5668
- # as a credit card expiration date Related types are google.type.TimeOfDay and `
5669
- # google.protobuf.Timestamp`.
5879
+ # and day, with a zero year (e.g., an anniversary) * A year on its own, with a
5880
+ # zero month and a zero day * A year and month, with a zero day (e.g., a credit
5881
+ # card expiration date) Related types: * google.type.TimeOfDay * google.type.
5882
+ # DateTime * google.protobuf.Timestamp
5670
5883
  class GoogleTypeDate
5671
5884
  include Google::Apis::Core::Hashable
5672
5885
 
@@ -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.25.0"
19
+ GEM_VERSION = "0.29.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.0"
22
+ GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211214"
25
+ REVISION = "20220212"
26
26
  end
27
27
  end
28
28
  end
@@ -172,6 +172,24 @@ module Google
172
172
  include Google::Apis::Core::JsonObjectSupport
173
173
  end
174
174
 
175
+ class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class GoogleCloudDocumentaiUiv1beta3ResyncDatasetResponse
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
175
193
  class GoogleCloudDocumentaiUiv1beta3RevisionReference
176
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
177
195
 
@@ -352,6 +370,18 @@ module Google
352
370
  include Google::Apis::Core::JsonObjectSupport
353
371
  end
354
372
 
373
+ class GoogleCloudDocumentaiV1alpha1AnalyzeHitlDataMetadata
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ include Google::Apis::Core::JsonObjectSupport
377
+ end
378
+
379
+ class GoogleCloudDocumentaiV1alpha1CommonOperationMetadata
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
355
385
  class GoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse
356
386
  class Representation < Google::Apis::Core::JsonRepresentation; end
357
387
 
@@ -460,6 +490,12 @@ module Google
460
490
  include Google::Apis::Core::JsonObjectSupport
461
491
  end
462
492
 
493
+ class GoogleCloudDocumentaiV1beta1DocumentPageSymbol
494
+ class Representation < Google::Apis::Core::JsonRepresentation; end
495
+
496
+ include Google::Apis::Core::JsonObjectSupport
497
+ end
498
+
463
499
  class GoogleCloudDocumentaiV1beta1DocumentPageTable
464
500
  class Representation < Google::Apis::Core::JsonRepresentation; end
465
501
 
@@ -730,6 +766,12 @@ module Google
730
766
  include Google::Apis::Core::JsonObjectSupport
731
767
  end
732
768
 
769
+ class GoogleCloudDocumentaiV1beta2DocumentPageSymbol
770
+ class Representation < Google::Apis::Core::JsonRepresentation; end
771
+
772
+ include Google::Apis::Core::JsonObjectSupport
773
+ end
774
+
733
775
  class GoogleCloudDocumentaiV1beta2DocumentPageTable
734
776
  class Representation < Google::Apis::Core::JsonRepresentation; end
735
777
 
@@ -1284,6 +1326,32 @@ module Google
1284
1326
  end
1285
1327
  end
1286
1328
 
1329
+ class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata
1330
+ # @private
1331
+ class Representation < Google::Apis::Core::JsonRepresentation
1332
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1333
+
1334
+ collection :newly_added_documents, as: 'newlyAddedDocuments', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument::Representation
1335
+
1336
+ end
1337
+ end
1338
+
1339
+ class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument
1340
+ # @private
1341
+ class Representation < Google::Apis::Core::JsonRepresentation
1342
+ property :destination_prefix, as: 'destinationPrefix'
1343
+ property :source_prefix, as: 'sourcePrefix'
1344
+ property :status, as: 'status', class: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus::Representation
1345
+
1346
+ end
1347
+ end
1348
+
1349
+ class GoogleCloudDocumentaiUiv1beta3ResyncDatasetResponse
1350
+ # @private
1351
+ class Representation < Google::Apis::Core::JsonRepresentation
1352
+ end
1353
+ end
1354
+
1287
1355
  class GoogleCloudDocumentaiUiv1beta3RevisionReference
1288
1356
  # @private
1289
1357
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1489,6 +1557,7 @@ module Google
1489
1557
  class Representation < Google::Apis::Core::JsonRepresentation
1490
1558
  property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1CommonOperationMetadata::Representation
1491
1559
 
1560
+ property :question_id, as: 'questionId'
1492
1561
  end
1493
1562
  end
1494
1563
 
@@ -1527,6 +1596,25 @@ module Google
1527
1596
  end
1528
1597
  end
1529
1598
 
1599
+ class GoogleCloudDocumentaiV1alpha1AnalyzeHitlDataMetadata
1600
+ # @private
1601
+ class Representation < Google::Apis::Core::JsonRepresentation
1602
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1alpha1CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1alpha1CommonOperationMetadata::Representation
1603
+
1604
+ end
1605
+ end
1606
+
1607
+ class GoogleCloudDocumentaiV1alpha1CommonOperationMetadata
1608
+ # @private
1609
+ class Representation < Google::Apis::Core::JsonRepresentation
1610
+ property :create_time, as: 'createTime'
1611
+ property :resource, as: 'resource'
1612
+ property :state, as: 'state'
1613
+ property :state_message, as: 'stateMessage'
1614
+ property :update_time, as: 'updateTime'
1615
+ end
1616
+ end
1617
+
1530
1618
  class GoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse
1531
1619
  # @private
1532
1620
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1642,6 +1730,8 @@ module Google
1642
1730
 
1643
1731
  property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentProvenance::Representation
1644
1732
 
1733
+ collection :symbols, as: 'symbols', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageSymbol, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageSymbol::Representation
1734
+
1645
1735
  collection :tables, as: 'tables', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageTable, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageTable::Representation
1646
1736
 
1647
1737
  collection :tokens, as: 'tokens', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageToken, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageToken::Representation
@@ -1777,6 +1867,16 @@ module Google
1777
1867
  end
1778
1868
  end
1779
1869
 
1870
+ class GoogleCloudDocumentaiV1beta1DocumentPageSymbol
1871
+ # @private
1872
+ class Representation < Google::Apis::Core::JsonRepresentation
1873
+ collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage::Representation
1874
+
1875
+ property :layout, as: 'layout', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageLayout::Representation
1876
+
1877
+ end
1878
+ end
1879
+
1780
1880
  class GoogleCloudDocumentaiV1beta1DocumentPageTable
1781
1881
  # @private
1782
1882
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2156,6 +2256,8 @@ module Google
2156
2256
 
2157
2257
  property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentProvenance::Representation
2158
2258
 
2259
+ collection :symbols, as: 'symbols', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageSymbol, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageSymbol::Representation
2260
+
2159
2261
  collection :tables, as: 'tables', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageTable, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageTable::Representation
2160
2262
 
2161
2263
  collection :tokens, as: 'tokens', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageToken, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageToken::Representation
@@ -2291,6 +2393,16 @@ module Google
2291
2393
  end
2292
2394
  end
2293
2395
 
2396
+ class GoogleCloudDocumentaiV1beta2DocumentPageSymbol
2397
+ # @private
2398
+ class Representation < Google::Apis::Core::JsonRepresentation
2399
+ collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage::Representation
2400
+
2401
+ property :layout, as: 'layout', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageLayout::Representation
2402
+
2403
+ end
2404
+ end
2405
+
2294
2406
  class GoogleCloudDocumentaiV1beta2DocumentPageTable
2295
2407
  # @private
2296
2408
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2720,6 +2832,7 @@ module Google
2720
2832
  property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta3CommonOperationMetadata::Representation
2721
2833
 
2722
2834
  property :create_time, as: 'createTime'
2835
+ property :question_id, as: 'questionId'
2723
2836
  property :state, as: 'state'
2724
2837
  property :state_message, as: 'stateMessage'
2725
2838
  property :update_time, as: 'updateTime'
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.25.0
4
+ version: 0.29.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: 2022-01-10 00:00:00.000000000 Z
11
+ date: 2022-02-21 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/main/generated/google-apis-documentai_v1beta2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta2/v0.25.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta2/v0.29.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1beta2
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.4
78
+ rubygems_version: 3.3.5
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Document AI API V1beta2