google-apis-documentai_v1beta3 0.32.0 → 0.35.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: 67ebc6f151b9404d2a3e7d006f589837d7a462950090b65c5e98f6cb9fa14304
4
- data.tar.gz: 5cdc9a47634d9a70ca3264e1508408575f8bfde27b6cdf1d5c6129c66f867ec2
3
+ metadata.gz: 6105745b0a523b8cf53b0caeccda6b180e01d8f730755537b35093cfafe2f8c6
4
+ data.tar.gz: 0ec1e2dd05ec8fe39a667cc03e24a67516e922bf3bf9614d1ca40f0336845e45
5
5
  SHA512:
6
- metadata.gz: 2e9187a38a88556c347b17a27e445105018f42f2af7378557843f7705a3485d8f29c982f63aa30ab4517288c14f9db58b6146df499a5391972cb1e1316d4175d
7
- data.tar.gz: 1a94120522ef3f8828e16ebb1920cad716f54a630ad6be2dd0bbd6f00a784ca5d443c342fc4e28155cda17eefd00216ede6b8454fd6eb74fda79ef5dec60e7fa
6
+ metadata.gz: af34877b1519632fd15b405116a8d6ed4bb9164059d6fa5ea9063390fafea64ab6e85c9bc756028fd8110a3480c92a465468bb8a9dbcbac4703fe0428ccd915f
7
+ data.tar.gz: f4bb612720c55e0c77d7a9ab0255c570e6b0c5952a31022eb6d223b1d9a0356d32bb4baa086f315a60444a3c7f2fcce8c2e1599de913d01b26c7cfb15af791ec
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-documentai_v1beta3
2
2
 
3
+ ### v0.35.0 (2022-02-24)
4
+
5
+ * Regenerated from discovery document revision 20220222
6
+
7
+ ### v0.34.0 (2022-02-15)
8
+
9
+ * Regenerated from discovery document revision 20220212
10
+
11
+ ### v0.33.0 (2022-02-08)
12
+
13
+ * Regenerated from discovery document revision 20220205
14
+
3
15
  ### v0.32.0 (2022-02-01)
4
16
 
5
17
  * Regenerated from discovery document revision 20220129
@@ -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
@@ -1347,7 +1424,7 @@ module Google
1347
1424
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentEntity>]
1348
1425
  attr_accessor :entities
1349
1426
 
1350
- # Relationship among Document.entities.
1427
+ # Placeholder. Relationship among Document.entities.
1351
1428
  # Corresponds to the JSON property `entityRelations`
1352
1429
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentEntityRelation>]
1353
1430
  attr_accessor :entity_relations
@@ -1374,7 +1451,7 @@ module Google
1374
1451
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPage>]
1375
1452
  attr_accessor :pages
1376
1453
 
1377
- # Revision history of this document.
1454
+ # Placeholder. Revision history of this document.
1378
1455
  # Corresponds to the JSON property `revisions`
1379
1456
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentRevision>]
1380
1457
  attr_accessor :revisions
@@ -1390,14 +1467,14 @@ module Google
1390
1467
  # @return [String]
1391
1468
  attr_accessor :text
1392
1469
 
1393
- # A list of text corrections made to [Document.text]. This is usually used for
1394
- # annotating corrections to OCR mistakes. Text changes for a given revision may
1395
- # not overlap with each other.
1470
+ # Placeholder. A list of text corrections made to [Document.text]. This is
1471
+ # usually used for annotating corrections to OCR mistakes. Text changes for a
1472
+ # given revision may not overlap with each other.
1396
1473
  # Corresponds to the JSON property `textChanges`
1397
1474
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentTextChange>]
1398
1475
  attr_accessor :text_changes
1399
1476
 
1400
- # Styles for the Document.text.
1477
+ # Placeholder. Styles for the Document.text.
1401
1478
  # Corresponds to the JSON property `textStyles`
1402
1479
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentStyle>]
1403
1480
  attr_accessor :text_styles
@@ -1543,8 +1620,14 @@ module Google
1543
1620
  attr_accessor :boolean_value
1544
1621
  alias_method :boolean_value?, :boolean_value
1545
1622
 
1546
- # Date value. Includes year, month, day. See also: https://github.com/googleapis/
1547
- # googleapis/blob/master/google/type/date.proto
1623
+ # Represents a whole or partial calendar date, such as a birthday. The time of
1624
+ # day and time zone are either specified elsewhere or are insignificant. The
1625
+ # date is relative to the Gregorian Calendar. This can represent one of the
1626
+ # following: * A full date, with non-zero year, month, and day values * A month
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
1548
1631
  # Corresponds to the JSON property `dateValue`
1549
1632
  # @return [Google::Apis::DocumentaiV1beta3::GoogleTypeDate]
1550
1633
  attr_accessor :date_value
@@ -1702,6 +1785,11 @@ module Google
1702
1785
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentProvenance]
1703
1786
  attr_accessor :provenance
1704
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
+
1705
1793
  # A list of visually detected tables on the page.
1706
1794
  # Corresponds to the JSON property `tables`
1707
1795
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageTable>]
@@ -1740,6 +1828,7 @@ module Google
1740
1828
  @page_number = args[:page_number] if args.key?(:page_number)
1741
1829
  @paragraphs = args[:paragraphs] if args.key?(:paragraphs)
1742
1830
  @provenance = args[:provenance] if args.key?(:provenance)
1831
+ @symbols = args[:symbols] if args.key?(:symbols)
1743
1832
  @tables = args[:tables] if args.key?(:tables)
1744
1833
  @tokens = args[:tokens] if args.key?(:tokens)
1745
1834
  @transforms = args[:transforms] if args.key?(:transforms)
@@ -1857,7 +1946,7 @@ module Google
1857
1946
  attr_accessor :confidence
1858
1947
 
1859
1948
  # The BCP-47 language code, such as "en-US" or "sr-Latn". For more information,
1860
- # see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
1949
+ # see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
1861
1950
  # Corresponds to the JSON property `languageCode`
1862
1951
  # @return [String]
1863
1952
  attr_accessor :language_code
@@ -2156,6 +2245,31 @@ module Google
2156
2245
  end
2157
2246
  end
2158
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
+
2159
2273
  # A table representation similar to HTML table structure.
2160
2274
  class GoogleCloudDocumentaiV1beta1DocumentPageTable
2161
2275
  include Google::Apis::Core::Hashable
@@ -2704,7 +2818,7 @@ module Google
2704
2818
  include Google::Apis::Core::Hashable
2705
2819
 
2706
2820
  # Contains the content of the text span so that users do not have to look it up
2707
- # in the text_segments.
2821
+ # in the text_segments. It is always populated for formFields.
2708
2822
  # Corresponds to the JSON property `content`
2709
2823
  # @return [String]
2710
2824
  attr_accessor :content
@@ -3062,7 +3176,7 @@ module Google
3062
3176
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentEntity>]
3063
3177
  attr_accessor :entities
3064
3178
 
3065
- # Relationship among Document.entities.
3179
+ # Placeholder. Relationship among Document.entities.
3066
3180
  # Corresponds to the JSON property `entityRelations`
3067
3181
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentEntityRelation>]
3068
3182
  attr_accessor :entity_relations
@@ -3094,7 +3208,7 @@ module Google
3094
3208
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPage>]
3095
3209
  attr_accessor :pages
3096
3210
 
3097
- # Revision history of this document.
3211
+ # Placeholder. Revision history of this document.
3098
3212
  # Corresponds to the JSON property `revisions`
3099
3213
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentRevision>]
3100
3214
  attr_accessor :revisions
@@ -3110,14 +3224,14 @@ module Google
3110
3224
  # @return [String]
3111
3225
  attr_accessor :text
3112
3226
 
3113
- # A list of text corrections made to [Document.text]. This is usually used for
3114
- # annotating corrections to OCR mistakes. Text changes for a given revision may
3115
- # not overlap with each other.
3227
+ # Placeholder. A list of text corrections made to [Document.text]. This is
3228
+ # usually used for annotating corrections to OCR mistakes. Text changes for a
3229
+ # given revision may not overlap with each other.
3116
3230
  # Corresponds to the JSON property `textChanges`
3117
3231
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentTextChange>]
3118
3232
  attr_accessor :text_changes
3119
3233
 
3120
- # Styles for the Document.text.
3234
+ # Placeholder. Styles for the Document.text.
3121
3235
  # Corresponds to the JSON property `textStyles`
3122
3236
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentStyle>]
3123
3237
  attr_accessor :text_styles
@@ -3264,8 +3378,14 @@ module Google
3264
3378
  attr_accessor :boolean_value
3265
3379
  alias_method :boolean_value?, :boolean_value
3266
3380
 
3267
- # Date value. Includes year, month, day. See also: https://github.com/googleapis/
3268
- # googleapis/blob/master/google/type/date.proto
3381
+ # Represents a whole or partial calendar date, such as a birthday. The time of
3382
+ # day and time zone are either specified elsewhere or are insignificant. The
3383
+ # date is relative to the Gregorian Calendar. This can represent one of the
3384
+ # following: * A full date, with non-zero year, month, and day values * A month
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
3269
3389
  # Corresponds to the JSON property `dateValue`
3270
3390
  # @return [Google::Apis::DocumentaiV1beta3::GoogleTypeDate]
3271
3391
  attr_accessor :date_value
@@ -3460,6 +3580,11 @@ module Google
3460
3580
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentProvenance]
3461
3581
  attr_accessor :provenance
3462
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
+
3463
3588
  # A list of visually detected tables on the page.
3464
3589
  # Corresponds to the JSON property `tables`
3465
3590
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageTable>]
@@ -3498,6 +3623,7 @@ module Google
3498
3623
  @page_number = args[:page_number] if args.key?(:page_number)
3499
3624
  @paragraphs = args[:paragraphs] if args.key?(:paragraphs)
3500
3625
  @provenance = args[:provenance] if args.key?(:provenance)
3626
+ @symbols = args[:symbols] if args.key?(:symbols)
3501
3627
  @tables = args[:tables] if args.key?(:tables)
3502
3628
  @tokens = args[:tokens] if args.key?(:tokens)
3503
3629
  @transforms = args[:transforms] if args.key?(:transforms)
@@ -3615,7 +3741,7 @@ module Google
3615
3741
  attr_accessor :confidence
3616
3742
 
3617
3743
  # The BCP-47 language code, such as "en-US" or "sr-Latn". For more information,
3618
- # see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
3744
+ # see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
3619
3745
  # Corresponds to the JSON property `languageCode`
3620
3746
  # @return [String]
3621
3747
  attr_accessor :language_code
@@ -3914,6 +4040,31 @@ module Google
3914
4040
  end
3915
4041
  end
3916
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
+
3917
4068
  # A table representation similar to HTML table structure.
3918
4069
  class GoogleCloudDocumentaiV1beta2DocumentPageTable
3919
4070
  include Google::Apis::Core::Hashable
@@ -4462,7 +4613,7 @@ module Google
4462
4613
  include Google::Apis::Core::Hashable
4463
4614
 
4464
4615
  # Contains the content of the text span so that users do not have to look it up
4465
- # in the text_segments.
4616
+ # in the text_segments. It is always populated for formFields.
4466
4617
  # Corresponds to the JSON property `content`
4467
4618
  # @return [String]
4468
4619
  attr_accessor :content
@@ -5211,7 +5362,7 @@ module Google
5211
5362
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentEntity>]
5212
5363
  attr_accessor :entities
5213
5364
 
5214
- # Relationship among Document.entities.
5365
+ # Placeholder. Relationship among Document.entities.
5215
5366
  # Corresponds to the JSON property `entityRelations`
5216
5367
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentEntityRelation>]
5217
5368
  attr_accessor :entity_relations
@@ -5238,7 +5389,7 @@ module Google
5238
5389
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPage>]
5239
5390
  attr_accessor :pages
5240
5391
 
5241
- # Revision history of this document.
5392
+ # Placeholder. Revision history of this document.
5242
5393
  # Corresponds to the JSON property `revisions`
5243
5394
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentRevision>]
5244
5395
  attr_accessor :revisions
@@ -5254,14 +5405,14 @@ module Google
5254
5405
  # @return [String]
5255
5406
  attr_accessor :text
5256
5407
 
5257
- # A list of text corrections made to [Document.text]. This is usually used for
5258
- # annotating corrections to OCR mistakes. Text changes for a given revision may
5259
- # not overlap with each other.
5408
+ # Placeholder. A list of text corrections made to [Document.text]. This is
5409
+ # usually used for annotating corrections to OCR mistakes. Text changes for a
5410
+ # given revision may not overlap with each other.
5260
5411
  # Corresponds to the JSON property `textChanges`
5261
5412
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentTextChange>]
5262
5413
  attr_accessor :text_changes
5263
5414
 
5264
- # Styles for the Document.text.
5415
+ # Placeholder. Styles for the Document.text.
5265
5416
  # Corresponds to the JSON property `textStyles`
5266
5417
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentStyle>]
5267
5418
  attr_accessor :text_styles
@@ -5407,8 +5558,14 @@ module Google
5407
5558
  attr_accessor :boolean_value
5408
5559
  alias_method :boolean_value?, :boolean_value
5409
5560
 
5410
- # Date value. Includes year, month, day. See also: https://github.com/googleapis/
5411
- # googleapis/blob/master/google/type/date.proto
5561
+ # Represents a whole or partial calendar date, such as a birthday. The time of
5562
+ # day and time zone are either specified elsewhere or are insignificant. The
5563
+ # date is relative to the Gregorian Calendar. This can represent one of the
5564
+ # following: * A full date, with non-zero year, month, and day values * A month
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
5412
5569
  # Corresponds to the JSON property `dateValue`
5413
5570
  # @return [Google::Apis::DocumentaiV1beta3::GoogleTypeDate]
5414
5571
  attr_accessor :date_value
@@ -5605,6 +5762,11 @@ module Google
5605
5762
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentProvenance]
5606
5763
  attr_accessor :provenance
5607
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
+
5608
5770
  # A list of visually detected tables on the page.
5609
5771
  # Corresponds to the JSON property `tables`
5610
5772
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageTable>]
@@ -5643,6 +5805,7 @@ module Google
5643
5805
  @page_number = args[:page_number] if args.key?(:page_number)
5644
5806
  @paragraphs = args[:paragraphs] if args.key?(:paragraphs)
5645
5807
  @provenance = args[:provenance] if args.key?(:provenance)
5808
+ @symbols = args[:symbols] if args.key?(:symbols)
5646
5809
  @tables = args[:tables] if args.key?(:tables)
5647
5810
  @tokens = args[:tokens] if args.key?(:tokens)
5648
5811
  @transforms = args[:transforms] if args.key?(:transforms)
@@ -5760,7 +5923,7 @@ module Google
5760
5923
  attr_accessor :confidence
5761
5924
 
5762
5925
  # The BCP-47 language code, such as "en-US" or "sr-Latn". For more information,
5763
- # see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
5926
+ # see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
5764
5927
  # Corresponds to the JSON property `languageCode`
5765
5928
  # @return [String]
5766
5929
  attr_accessor :language_code
@@ -6059,6 +6222,31 @@ module Google
6059
6222
  end
6060
6223
  end
6061
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
+
6062
6250
  # A table representation similar to HTML table structure.
6063
6251
  class GoogleCloudDocumentaiV1beta3DocumentPageTable
6064
6252
  include Google::Apis::Core::Hashable
@@ -6607,7 +6795,7 @@ module Google
6607
6795
  include Google::Apis::Core::Hashable
6608
6796
 
6609
6797
  # Contains the content of the text span so that users do not have to look it up
6610
- # in the text_segments.
6798
+ # in the text_segments. It is always populated for formFields.
6611
6799
  # Corresponds to the JSON property `content`
6612
6800
  # @return [String]
6613
6801
  attr_accessor :content
@@ -7161,6 +7349,16 @@ module Google
7161
7349
  # @return [String]
7162
7350
  attr_accessor :display_name
7163
7351
 
7352
+ # The KMS key name used for encryption.
7353
+ # Corresponds to the JSON property `kmsKeyName`
7354
+ # @return [String]
7355
+ attr_accessor :kms_key_name
7356
+
7357
+ # The KMS key version with which data is encrypted.
7358
+ # Corresponds to the JSON property `kmsKeyVersionName`
7359
+ # @return [String]
7360
+ attr_accessor :kms_key_version_name
7361
+
7164
7362
  # The resource name of the processor version. Format: `projects/`project`/
7165
7363
  # locations/`location`/processors/`processor`/processorVersions/`
7166
7364
  # processor_version``
@@ -7181,6 +7379,8 @@ module Google
7181
7379
  def update!(**args)
7182
7380
  @create_time = args[:create_time] if args.key?(:create_time)
7183
7381
  @display_name = args[:display_name] if args.key?(:display_name)
7382
+ @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
7383
+ @kms_key_version_name = args[:kms_key_version_name] if args.key?(:kms_key_version_name)
7184
7384
  @name = args[:name] if args.key?(:name)
7185
7385
  @state = args[:state] if args.key?(:state)
7186
7386
  end
@@ -7750,7 +7950,14 @@ module Google
7750
7950
  end
7751
7951
  end
7752
7952
 
7753
- #
7953
+ # Represents a whole or partial calendar date, such as a birthday. The time of
7954
+ # day and time zone are either specified elsewhere or are insignificant. The
7955
+ # date is relative to the Gregorian Calendar. This can represent one of the
7956
+ # following: * A full date, with non-zero year, month, and day values * A month
7957
+ # and day, with a zero year (e.g., an anniversary) * A year on its own, with a
7958
+ # zero month and a zero day * A year and month, with a zero day (e.g., a credit
7959
+ # card expiration date) Related types: * google.type.TimeOfDay * google.type.
7960
+ # DateTime * google.protobuf.Timestamp
7754
7961
  class GoogleTypeDate
7755
7962
  include Google::Apis::Core::Hashable
7756
7963
 
@@ -7989,8 +8196,8 @@ module Google
7989
8196
  attr_accessor :recipients
7990
8197
 
7991
8198
  # Required. CLDR region code of the country/region of the address. This is never
7992
- # inferred and it is up to the user to ensure the value is correct. See http://
7993
- # cldr.unicode.org/ and http://www.unicode.org/cldr/charts/30/supplemental/
8199
+ # inferred and it is up to the user to ensure the value is correct. See https://
8200
+ # cldr.unicode.org/ and https://www.unicode.org/cldr/charts/30/supplemental/
7994
8201
  # territory_information.html for details. Example: "CH" for Switzerland.
7995
8202
  # Corresponds to the JSON property `regionCode`
7996
8203
  # @return [String]
@@ -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.32.0"
19
+ GEM_VERSION = "0.35.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220129"
25
+ REVISION = "20220222"
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
 
@@ -472,6 +490,12 @@ module Google
472
490
  include Google::Apis::Core::JsonObjectSupport
473
491
  end
474
492
 
493
+ class GoogleCloudDocumentaiV1beta1DocumentPageSymbol
494
+ class Representation < Google::Apis::Core::JsonRepresentation; end
495
+
496
+ include Google::Apis::Core::JsonObjectSupport
497
+ end
498
+
475
499
  class GoogleCloudDocumentaiV1beta1DocumentPageTable
476
500
  class Representation < Google::Apis::Core::JsonRepresentation; end
477
501
 
@@ -730,6 +754,12 @@ module Google
730
754
  include Google::Apis::Core::JsonObjectSupport
731
755
  end
732
756
 
757
+ class GoogleCloudDocumentaiV1beta2DocumentPageSymbol
758
+ class Representation < Google::Apis::Core::JsonRepresentation; end
759
+
760
+ include Google::Apis::Core::JsonObjectSupport
761
+ end
762
+
733
763
  class GoogleCloudDocumentaiV1beta2DocumentPageTable
734
764
  class Representation < Google::Apis::Core::JsonRepresentation; end
735
765
 
@@ -1084,6 +1114,12 @@ module Google
1084
1114
  include Google::Apis::Core::JsonObjectSupport
1085
1115
  end
1086
1116
 
1117
+ class GoogleCloudDocumentaiV1beta3DocumentPageSymbol
1118
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1119
+
1120
+ include Google::Apis::Core::JsonObjectSupport
1121
+ end
1122
+
1087
1123
  class GoogleCloudDocumentaiV1beta3DocumentPageTable
1088
1124
  class Representation < Google::Apis::Core::JsonRepresentation; end
1089
1125
 
@@ -1620,6 +1656,32 @@ module Google
1620
1656
  end
1621
1657
  end
1622
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
+
1623
1685
  class GoogleCloudDocumentaiUiv1beta3RevisionReference
1624
1686
  # @private
1625
1687
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1998,6 +2060,8 @@ module Google
1998
2060
 
1999
2061
  property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentProvenance::Representation
2000
2062
 
2063
+ collection :symbols, as: 'symbols', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageSymbol, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageSymbol::Representation
2064
+
2001
2065
  collection :tables, as: 'tables', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageTable, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageTable::Representation
2002
2066
 
2003
2067
  collection :tokens, as: 'tokens', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageToken, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageToken::Representation
@@ -2133,6 +2197,16 @@ module Google
2133
2197
  end
2134
2198
  end
2135
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
+
2136
2210
  class GoogleCloudDocumentaiV1beta1DocumentPageTable
2137
2211
  # @private
2138
2212
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2497,6 +2571,8 @@ module Google
2497
2571
 
2498
2572
  property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentProvenance::Representation
2499
2573
 
2574
+ collection :symbols, as: 'symbols', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageSymbol, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageSymbol::Representation
2575
+
2500
2576
  collection :tables, as: 'tables', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageTable, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageTable::Representation
2501
2577
 
2502
2578
  collection :tokens, as: 'tokens', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageToken, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageToken::Representation
@@ -2632,6 +2708,16 @@ module Google
2632
2708
  end
2633
2709
  end
2634
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
+
2635
2721
  class GoogleCloudDocumentaiV1beta2DocumentPageTable
2636
2722
  # @private
2637
2723
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3131,6 +3217,8 @@ module Google
3131
3217
 
3132
3218
  property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentProvenance::Representation
3133
3219
 
3220
+ collection :symbols, as: 'symbols', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageSymbol, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageSymbol::Representation
3221
+
3134
3222
  collection :tables, as: 'tables', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageTable, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageTable::Representation
3135
3223
 
3136
3224
  collection :tokens, as: 'tokens', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageToken, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageToken::Representation
@@ -3266,6 +3354,16 @@ module Google
3266
3354
  end
3267
3355
  end
3268
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
+
3269
3367
  class GoogleCloudDocumentaiV1beta3DocumentPageTable
3270
3368
  # @private
3271
3369
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3585,6 +3683,8 @@ module Google
3585
3683
  class Representation < Google::Apis::Core::JsonRepresentation
3586
3684
  property :create_time, as: 'createTime'
3587
3685
  property :display_name, as: 'displayName'
3686
+ property :kms_key_name, as: 'kmsKeyName'
3687
+ property :kms_key_version_name, as: 'kmsKeyVersionName'
3588
3688
  property :name, as: 'name'
3589
3689
  property :state, as: 'state'
3590
3690
  end
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.32.0
4
+ version: 0.35.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-02-07 00:00:00.000000000 Z
11
+ date: 2022-02-28 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.32.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.35.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: []