google-apis-documentai_v1beta3 0.30.0 → 0.34.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: 54881d713ec3072ff77587cb0ad006bedf24609dcd3426ab80f20927af272e99
4
- data.tar.gz: b72e127a17eef359c96e69b8b6b8490b1050e40abf79f23bb9715d4dd0f83eb3
3
+ metadata.gz: d8ddec4ba5c12ec235cb7571b1909c57ecc7a6f56f2abd3d2b3c623e9a74485e
4
+ data.tar.gz: d9cc1f8f78fe0bdb6ca0cfa33ed043075cafcf29429ae59968091ab5c10f7088
5
5
  SHA512:
6
- metadata.gz: 4eeb81c79c8ec2f94dce1c20f85235a8af04b0e5b2c5db5cd07c5a3e53a519db31bde7748bd09cb873ccb6ec82c80a58b8c421225c40294d55d07961f135acc2
7
- data.tar.gz: b335e5b8c50cd9872b28628bada6ebf32c740f3d3c0dd328f3676387a5d1ccebcd616d4f641427a3984ed76be0d78d517a73d9b262e391717877d24d49f946c4
6
+ metadata.gz: 857534320d6603b275516367306bc3798e5f7ff5dd6daa8a83ff2f01eb46e4e4e4212e98b4b24b3640a2f922d7ab88a1aaafd00d854c0209271b2b955a10cdd8
7
+ data.tar.gz: c9926b2177758cb0d332b072fc718c769a59fd06a9e2e2bd25ab12d802607a1894241bd85de170a2e146022e79a2cbcc7738173d30fa3cdbb1df0163ed3dc0e4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-documentai_v1beta3
2
2
 
3
+ ### v0.34.0 (2022-02-15)
4
+
5
+ * Regenerated from discovery document revision 20220212
6
+
7
+ ### v0.33.0 (2022-02-08)
8
+
9
+ * Regenerated from discovery document revision 20220205
10
+
11
+ ### v0.32.0 (2022-02-01)
12
+
13
+ * Regenerated from discovery document revision 20220129
14
+
15
+ ### v0.31.0 (2022-01-20)
16
+
17
+ * Regenerated from discovery document revision 20220114
18
+ * Regenerated using generator version 0.4.1
19
+
3
20
  ### v0.30.0 (2022-01-06)
4
21
 
5
22
  * Regenerated from discovery document revision 20211230
@@ -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::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::GoogleTypeDate]
1488
1633
  attr_accessor :date_value
@@ -1640,6 +1785,11 @@ module Google
1640
1785
  # @return [Google::Apis::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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
@@ -3206,10 +3382,10 @@ module Google
3206
3382
  # day and time zone are either specified elsewhere or are insignificant. The
3207
3383
  # date is relative to the Gregorian Calendar. This can represent one of the
3208
3384
  # following: * A full date, with non-zero year, month, and day values * A month
3209
- # and day value, with a zero year, such as an anniversary * A year on its own,
3210
- # with zero month and day values * A year and month value, with a zero day, such
3211
- # as a credit card expiration date Related types are google.type.TimeOfDay and `
3212
- # google.protobuf.Timestamp`.
3385
+ # and day, with a zero year (e.g., an anniversary) * A year on its own, with a
3386
+ # zero month and a zero day * A year and month, with a zero day (e.g., a credit
3387
+ # card expiration date) Related types: * google.type.TimeOfDay * google.type.
3388
+ # DateTime * google.protobuf.Timestamp
3213
3389
  # Corresponds to the JSON property `dateValue`
3214
3390
  # @return [Google::Apis::DocumentaiV1beta3::GoogleTypeDate]
3215
3391
  attr_accessor :date_value
@@ -3404,6 +3580,11 @@ module Google
3404
3580
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentProvenance]
3405
3581
  attr_accessor :provenance
3406
3582
 
3583
+ # A list of visually detected symbols on the page.
3584
+ # Corresponds to the JSON property `symbols`
3585
+ # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageSymbol>]
3586
+ attr_accessor :symbols
3587
+
3407
3588
  # A list of visually detected tables on the page.
3408
3589
  # Corresponds to the JSON property `tables`
3409
3590
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageTable>]
@@ -3442,6 +3623,7 @@ module Google
3442
3623
  @page_number = args[:page_number] if args.key?(:page_number)
3443
3624
  @paragraphs = args[:paragraphs] if args.key?(:paragraphs)
3444
3625
  @provenance = args[:provenance] if args.key?(:provenance)
3626
+ @symbols = args[:symbols] if args.key?(:symbols)
3445
3627
  @tables = args[:tables] if args.key?(:tables)
3446
3628
  @tokens = args[:tokens] if args.key?(:tokens)
3447
3629
  @transforms = args[:transforms] if args.key?(:transforms)
@@ -3559,7 +3741,7 @@ module Google
3559
3741
  attr_accessor :confidence
3560
3742
 
3561
3743
  # The BCP-47 language code, such as "en-US" or "sr-Latn". For more information,
3562
- # see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
3744
+ # see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
3563
3745
  # Corresponds to the JSON property `languageCode`
3564
3746
  # @return [String]
3565
3747
  attr_accessor :language_code
@@ -3858,6 +4040,31 @@ module Google
3858
4040
  end
3859
4041
  end
3860
4042
 
4043
+ # A detected symbol.
4044
+ class GoogleCloudDocumentaiV1beta2DocumentPageSymbol
4045
+ include Google::Apis::Core::Hashable
4046
+
4047
+ # A list of detected languages together with confidence.
4048
+ # Corresponds to the JSON property `detectedLanguages`
4049
+ # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage>]
4050
+ attr_accessor :detected_languages
4051
+
4052
+ # Visual element describing a layout unit on a page.
4053
+ # Corresponds to the JSON property `layout`
4054
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageLayout]
4055
+ attr_accessor :layout
4056
+
4057
+ def initialize(**args)
4058
+ update!(**args)
4059
+ end
4060
+
4061
+ # Update properties of this object
4062
+ def update!(**args)
4063
+ @detected_languages = args[:detected_languages] if args.key?(:detected_languages)
4064
+ @layout = args[:layout] if args.key?(:layout)
4065
+ end
4066
+ end
4067
+
3861
4068
  # A table representation similar to HTML table structure.
3862
4069
  class GoogleCloudDocumentaiV1beta2DocumentPageTable
3863
4070
  include Google::Apis::Core::Hashable
@@ -4406,7 +4613,7 @@ module Google
4406
4613
  include Google::Apis::Core::Hashable
4407
4614
 
4408
4615
  # Contains the content of the text span so that users do not have to look it up
4409
- # in the text_segments.
4616
+ # in the text_segments. It is always populated for formFields.
4410
4617
  # Corresponds to the JSON property `content`
4411
4618
  # @return [String]
4412
4619
  attr_accessor :content
@@ -5355,10 +5562,10 @@ module Google
5355
5562
  # day and time zone are either specified elsewhere or are insignificant. The
5356
5563
  # date is relative to the Gregorian Calendar. This can represent one of the
5357
5564
  # following: * A full date, with non-zero year, month, and day values * A month
5358
- # and day value, with a zero year, such as an anniversary * A year on its own,
5359
- # with zero month and day values * A year and month value, with a zero day, such
5360
- # as a credit card expiration date Related types are google.type.TimeOfDay and `
5361
- # google.protobuf.Timestamp`.
5565
+ # and day, with a zero year (e.g., an anniversary) * A year on its own, with a
5566
+ # zero month and a zero day * A year and month, with a zero day (e.g., a credit
5567
+ # card expiration date) Related types: * google.type.TimeOfDay * google.type.
5568
+ # DateTime * google.protobuf.Timestamp
5362
5569
  # Corresponds to the JSON property `dateValue`
5363
5570
  # @return [Google::Apis::DocumentaiV1beta3::GoogleTypeDate]
5364
5571
  attr_accessor :date_value
@@ -5555,6 +5762,11 @@ module Google
5555
5762
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentProvenance]
5556
5763
  attr_accessor :provenance
5557
5764
 
5765
+ # A list of visually detected symbols on the page.
5766
+ # Corresponds to the JSON property `symbols`
5767
+ # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageSymbol>]
5768
+ attr_accessor :symbols
5769
+
5558
5770
  # A list of visually detected tables on the page.
5559
5771
  # Corresponds to the JSON property `tables`
5560
5772
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageTable>]
@@ -5593,6 +5805,7 @@ module Google
5593
5805
  @page_number = args[:page_number] if args.key?(:page_number)
5594
5806
  @paragraphs = args[:paragraphs] if args.key?(:paragraphs)
5595
5807
  @provenance = args[:provenance] if args.key?(:provenance)
5808
+ @symbols = args[:symbols] if args.key?(:symbols)
5596
5809
  @tables = args[:tables] if args.key?(:tables)
5597
5810
  @tokens = args[:tokens] if args.key?(:tokens)
5598
5811
  @transforms = args[:transforms] if args.key?(:transforms)
@@ -5710,7 +5923,7 @@ module Google
5710
5923
  attr_accessor :confidence
5711
5924
 
5712
5925
  # The BCP-47 language code, such as "en-US" or "sr-Latn". For more information,
5713
- # see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
5926
+ # see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
5714
5927
  # Corresponds to the JSON property `languageCode`
5715
5928
  # @return [String]
5716
5929
  attr_accessor :language_code
@@ -6009,6 +6222,31 @@ module Google
6009
6222
  end
6010
6223
  end
6011
6224
 
6225
+ # A detected symbol.
6226
+ class GoogleCloudDocumentaiV1beta3DocumentPageSymbol
6227
+ include Google::Apis::Core::Hashable
6228
+
6229
+ # A list of detected languages together with confidence.
6230
+ # Corresponds to the JSON property `detectedLanguages`
6231
+ # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage>]
6232
+ attr_accessor :detected_languages
6233
+
6234
+ # Visual element describing a layout unit on a page.
6235
+ # Corresponds to the JSON property `layout`
6236
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageLayout]
6237
+ attr_accessor :layout
6238
+
6239
+ def initialize(**args)
6240
+ update!(**args)
6241
+ end
6242
+
6243
+ # Update properties of this object
6244
+ def update!(**args)
6245
+ @detected_languages = args[:detected_languages] if args.key?(:detected_languages)
6246
+ @layout = args[:layout] if args.key?(:layout)
6247
+ end
6248
+ end
6249
+
6012
6250
  # A table representation similar to HTML table structure.
6013
6251
  class GoogleCloudDocumentaiV1beta3DocumentPageTable
6014
6252
  include Google::Apis::Core::Hashable
@@ -6557,7 +6795,7 @@ module Google
6557
6795
  include Google::Apis::Core::Hashable
6558
6796
 
6559
6797
  # Contains the content of the text span so that users do not have to look it up
6560
- # in the text_segments.
6798
+ # in the text_segments. It is always populated for formFields.
6561
6799
  # Corresponds to the JSON property `content`
6562
6800
  # @return [String]
6563
6801
  attr_accessor :content
@@ -7176,6 +7414,11 @@ module Google
7176
7414
  # @return [String]
7177
7415
  attr_accessor :create_time
7178
7416
 
7417
+ # The Crowd Compute question ID.
7418
+ # Corresponds to the JSON property `questionId`
7419
+ # @return [String]
7420
+ attr_accessor :question_id
7421
+
7179
7422
  # Used only when Operation.done is false.
7180
7423
  # Corresponds to the JSON property `state`
7181
7424
  # @return [String]
@@ -7200,6 +7443,7 @@ module Google
7200
7443
  def update!(**args)
7201
7444
  @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
7202
7445
  @create_time = args[:create_time] if args.key?(:create_time)
7446
+ @question_id = args[:question_id] if args.key?(:question_id)
7203
7447
  @state = args[:state] if args.key?(:state)
7204
7448
  @state_message = args[:state_message] if args.key?(:state_message)
7205
7449
  @update_time = args[:update_time] if args.key?(:update_time)
@@ -7698,10 +7942,10 @@ module Google
7698
7942
  # day and time zone are either specified elsewhere or are insignificant. The
7699
7943
  # date is relative to the Gregorian Calendar. This can represent one of the
7700
7944
  # following: * A full date, with non-zero year, month, and day values * A month
7701
- # and day value, with a zero year, such as an anniversary * A year on its own,
7702
- # with zero month and day values * A year and month value, with a zero day, such
7703
- # as a credit card expiration date Related types are google.type.TimeOfDay and `
7704
- # google.protobuf.Timestamp`.
7945
+ # and day, with a zero year (e.g., an anniversary) * A year on its own, with a
7946
+ # zero month and a zero day * A year and month, with a zero day (e.g., a credit
7947
+ # card expiration date) Related types: * google.type.TimeOfDay * google.type.
7948
+ # DateTime * google.protobuf.Timestamp
7705
7949
  class GoogleTypeDate
7706
7950
  include Google::Apis::Core::Hashable
7707
7951
 
@@ -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.30.0"
19
+ GEM_VERSION = "0.34.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 = "20211230"
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
 
@@ -718,6 +754,12 @@ module Google
718
754
  include Google::Apis::Core::JsonObjectSupport
719
755
  end
720
756
 
757
+ class GoogleCloudDocumentaiV1beta2DocumentPageSymbol
758
+ class Representation < Google::Apis::Core::JsonRepresentation; end
759
+
760
+ include Google::Apis::Core::JsonObjectSupport
761
+ end
762
+
721
763
  class GoogleCloudDocumentaiV1beta2DocumentPageTable
722
764
  class Representation < Google::Apis::Core::JsonRepresentation; end
723
765
 
@@ -1072,6 +1114,12 @@ module Google
1072
1114
  include Google::Apis::Core::JsonObjectSupport
1073
1115
  end
1074
1116
 
1117
+ class GoogleCloudDocumentaiV1beta3DocumentPageSymbol
1118
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1119
+
1120
+ include Google::Apis::Core::JsonObjectSupport
1121
+ end
1122
+
1075
1123
  class GoogleCloudDocumentaiV1beta3DocumentPageTable
1076
1124
  class Representation < Google::Apis::Core::JsonRepresentation; end
1077
1125
 
@@ -1608,6 +1656,32 @@ module Google
1608
1656
  end
1609
1657
  end
1610
1658
 
1659
+ class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata
1660
+ # @private
1661
+ class Representation < Google::Apis::Core::JsonRepresentation
1662
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1663
+
1664
+ collection :newly_added_documents, as: 'newlyAddedDocuments', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument::Representation
1665
+
1666
+ end
1667
+ end
1668
+
1669
+ class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument
1670
+ # @private
1671
+ class Representation < Google::Apis::Core::JsonRepresentation
1672
+ property :destination_prefix, as: 'destinationPrefix'
1673
+ property :source_prefix, as: 'sourcePrefix'
1674
+ property :status, as: 'status', class: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus::Representation
1675
+
1676
+ end
1677
+ end
1678
+
1679
+ class GoogleCloudDocumentaiUiv1beta3ResyncDatasetResponse
1680
+ # @private
1681
+ class Representation < Google::Apis::Core::JsonRepresentation
1682
+ end
1683
+ end
1684
+
1611
1685
  class GoogleCloudDocumentaiUiv1beta3RevisionReference
1612
1686
  # @private
1613
1687
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1813,6 +1887,7 @@ module Google
1813
1887
  class Representation < Google::Apis::Core::JsonRepresentation
1814
1888
  property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1CommonOperationMetadata::Representation
1815
1889
 
1890
+ property :question_id, as: 'questionId'
1816
1891
  end
1817
1892
  end
1818
1893
 
@@ -1851,6 +1926,25 @@ module Google
1851
1926
  end
1852
1927
  end
1853
1928
 
1929
+ class GoogleCloudDocumentaiV1alpha1AnalyzeHitlDataMetadata
1930
+ # @private
1931
+ class Representation < Google::Apis::Core::JsonRepresentation
1932
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1alpha1CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1alpha1CommonOperationMetadata::Representation
1933
+
1934
+ end
1935
+ end
1936
+
1937
+ class GoogleCloudDocumentaiV1alpha1CommonOperationMetadata
1938
+ # @private
1939
+ class Representation < Google::Apis::Core::JsonRepresentation
1940
+ property :create_time, as: 'createTime'
1941
+ property :resource, as: 'resource'
1942
+ property :state, as: 'state'
1943
+ property :state_message, as: 'stateMessage'
1944
+ property :update_time, as: 'updateTime'
1945
+ end
1946
+ end
1947
+
1854
1948
  class GoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse
1855
1949
  # @private
1856
1950
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1966,6 +2060,8 @@ module Google
1966
2060
 
1967
2061
  property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentProvenance::Representation
1968
2062
 
2063
+ collection :symbols, as: 'symbols', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageSymbol, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageSymbol::Representation
2064
+
1969
2065
  collection :tables, as: 'tables', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageTable, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageTable::Representation
1970
2066
 
1971
2067
  collection :tokens, as: 'tokens', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageToken, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageToken::Representation
@@ -2101,6 +2197,16 @@ module Google
2101
2197
  end
2102
2198
  end
2103
2199
 
2200
+ class GoogleCloudDocumentaiV1beta1DocumentPageSymbol
2201
+ # @private
2202
+ class Representation < Google::Apis::Core::JsonRepresentation
2203
+ collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage::Representation
2204
+
2205
+ property :layout, as: 'layout', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageLayout::Representation
2206
+
2207
+ end
2208
+ end
2209
+
2104
2210
  class GoogleCloudDocumentaiV1beta1DocumentPageTable
2105
2211
  # @private
2106
2212
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2465,6 +2571,8 @@ module Google
2465
2571
 
2466
2572
  property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentProvenance::Representation
2467
2573
 
2574
+ collection :symbols, as: 'symbols', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageSymbol, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageSymbol::Representation
2575
+
2468
2576
  collection :tables, as: 'tables', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageTable, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageTable::Representation
2469
2577
 
2470
2578
  collection :tokens, as: 'tokens', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageToken, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageToken::Representation
@@ -2600,6 +2708,16 @@ module Google
2600
2708
  end
2601
2709
  end
2602
2710
 
2711
+ class GoogleCloudDocumentaiV1beta2DocumentPageSymbol
2712
+ # @private
2713
+ class Representation < Google::Apis::Core::JsonRepresentation
2714
+ collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage::Representation
2715
+
2716
+ property :layout, as: 'layout', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageLayout::Representation
2717
+
2718
+ end
2719
+ end
2720
+
2603
2721
  class GoogleCloudDocumentaiV1beta2DocumentPageTable
2604
2722
  # @private
2605
2723
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3099,6 +3217,8 @@ module Google
3099
3217
 
3100
3218
  property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentProvenance::Representation
3101
3219
 
3220
+ collection :symbols, as: 'symbols', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageSymbol, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageSymbol::Representation
3221
+
3102
3222
  collection :tables, as: 'tables', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageTable, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageTable::Representation
3103
3223
 
3104
3224
  collection :tokens, as: 'tokens', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageToken, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageToken::Representation
@@ -3234,6 +3354,16 @@ module Google
3234
3354
  end
3235
3355
  end
3236
3356
 
3357
+ class GoogleCloudDocumentaiV1beta3DocumentPageSymbol
3358
+ # @private
3359
+ class Representation < Google::Apis::Core::JsonRepresentation
3360
+ collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage::Representation
3361
+
3362
+ property :layout, as: 'layout', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageLayout::Representation
3363
+
3364
+ end
3365
+ end
3366
+
3237
3367
  class GoogleCloudDocumentaiV1beta3DocumentPageTable
3238
3368
  # @private
3239
3369
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3572,6 +3702,7 @@ module Google
3572
3702
  property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3CommonOperationMetadata::Representation
3573
3703
 
3574
3704
  property :create_time, as: 'createTime'
3705
+ property :question_id, as: 'questionId'
3575
3706
  property :state, as: 'state'
3576
3707
  property :state_message, as: 'stateMessage'
3577
3708
  property :update_time, as: 'updateTime'
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.30.0
4
+ version: 0.34.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_v1beta3/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.30.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.34.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1beta3
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 V1beta3