google-apis-documentai_v1beta2 0.28.0 → 0.31.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e81c30249be8b97eb645893e0e04a88d8a820e449860d715163af306ab48790b
4
- data.tar.gz: 40e72f7932e0b5ba2c5e3a5ad3b13ae1ebd85164a5747a45006bb4a21651d899
3
+ metadata.gz: 30502816e907346312887c5ddb71d7748d850df12402f8d2fd1dccb57f550f49
4
+ data.tar.gz: 2a91db245183ae4734d3818bf4ddef53ebab9cfd0af89742a4ed02885ab78d54
5
5
  SHA512:
6
- metadata.gz: 8838a3cf2c5d39d0c2beafce7da660fe81dd35409d16f9830866a50ffc8207605ed825e51a9c671a9ea0417a170c300a2d79dfe57bc9537a71b47d33e0090064
7
- data.tar.gz: 39e88f1c14dcb387b4b7d7d2fcd53b500b955709a999f0e09d91dcefb328081c2da54a501dfbffc5feda9cdf5f57e7f3483338db4492bef341cdbf86ba77584d
6
+ metadata.gz: 4e89659f7afa2dbdf012f1e4101cdd86e5ec30287c6796685820ccb35195ba14f8960c5abfd210c1a8014c90429d3948bdd06ce99618b074e2dfa5c7872de300
7
+ data.tar.gz: bc08843549b1519fa8f677f9a78d34feb6117f046393c8417a957630ae6fafccc094d4a4d3dc2ff6bfcfd6040a69483d44c109f4acf0badff0d8f7a4d5c33d19
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-documentai_v1beta2
2
2
 
3
+ ### v0.31.0 (2022-03-09)
4
+
5
+ * Regenerated from discovery document revision 20220307
6
+
7
+ ### v0.30.0 (2022-02-24)
8
+
9
+ * Regenerated from discovery document revision 20220222
10
+
11
+ ### v0.29.0 (2022-02-15)
12
+
13
+ * Regenerated from discovery document revision 20220212
14
+
3
15
  ### v0.28.0 (2022-02-08)
4
16
 
5
17
  * Regenerated from discovery document revision 20220205
@@ -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
@@ -1347,7 +1424,7 @@ module Google
1347
1424
  # @return [Array<Google::Apis::DocumentaiV1beta2::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::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentEntityRelation>]
1353
1430
  attr_accessor :entity_relations
@@ -1374,7 +1451,7 @@ module Google
1374
1451
  # @return [Array<Google::Apis::DocumentaiV1beta2::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::DocumentaiV1beta2::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::DocumentaiV1beta2::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::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentStyle>]
1403
1480
  attr_accessor :text_styles
@@ -1546,11 +1623,11 @@ module Google
1546
1623
  # Represents a whole or partial calendar date, such as a birthday. The time of
1547
1624
  # day and time zone are either specified elsewhere or are insignificant. The
1548
1625
  # date is relative to the Gregorian Calendar. This can represent one of the
1549
- # following: * A full date, with non-zero year, month, and day values * A month
1550
- # and day, with a zero year (e.g., an anniversary) * A year on its own, with a
1551
- # zero month and a zero day * A year and month, with a zero day (e.g., a credit
1552
- # card expiration date) Related types: * google.type.TimeOfDay * google.type.
1553
- # DateTime * google.protobuf.Timestamp
1626
+ # following: * A full date, with non-zero year, month, and day values. * A month
1627
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
1628
+ # with a zero month and a zero day. * A year and month, with a zero day (for
1629
+ # example, a credit card expiration date). Related types: * google.type.
1630
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
1554
1631
  # Corresponds to the JSON property `dateValue`
1555
1632
  # @return [Google::Apis::DocumentaiV1beta2::GoogleTypeDate]
1556
1633
  attr_accessor :date_value
@@ -1708,6 +1785,11 @@ module Google
1708
1785
  # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentProvenance]
1709
1786
  attr_accessor :provenance
1710
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
+
1711
1793
  # A list of visually detected tables on the page.
1712
1794
  # Corresponds to the JSON property `tables`
1713
1795
  # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageTable>]
@@ -1746,6 +1828,7 @@ module Google
1746
1828
  @page_number = args[:page_number] if args.key?(:page_number)
1747
1829
  @paragraphs = args[:paragraphs] if args.key?(:paragraphs)
1748
1830
  @provenance = args[:provenance] if args.key?(:provenance)
1831
+ @symbols = args[:symbols] if args.key?(:symbols)
1749
1832
  @tables = args[:tables] if args.key?(:tables)
1750
1833
  @tokens = args[:tokens] if args.key?(:tokens)
1751
1834
  @transforms = args[:transforms] if args.key?(:transforms)
@@ -1863,7 +1946,7 @@ module Google
1863
1946
  attr_accessor :confidence
1864
1947
 
1865
1948
  # The BCP-47 language code, such as "en-US" or "sr-Latn". For more information,
1866
- # see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
1949
+ # see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
1867
1950
  # Corresponds to the JSON property `languageCode`
1868
1951
  # @return [String]
1869
1952
  attr_accessor :language_code
@@ -2162,6 +2245,31 @@ module Google
2162
2245
  end
2163
2246
  end
2164
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
+
2165
2273
  # A table representation similar to HTML table structure.
2166
2274
  class GoogleCloudDocumentaiV1beta1DocumentPageTable
2167
2275
  include Google::Apis::Core::Hashable
@@ -2710,7 +2818,7 @@ module Google
2710
2818
  include Google::Apis::Core::Hashable
2711
2819
 
2712
2820
  # Contains the content of the text span so that users do not have to look it up
2713
- # in the text_segments.
2821
+ # in the text_segments. It is always populated for formFields.
2714
2822
  # Corresponds to the JSON property `content`
2715
2823
  # @return [String]
2716
2824
  attr_accessor :content
@@ -3108,7 +3216,7 @@ module Google
3108
3216
  # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentEntity>]
3109
3217
  attr_accessor :entities
3110
3218
 
3111
- # Relationship among Document.entities.
3219
+ # Placeholder. Relationship among Document.entities.
3112
3220
  # Corresponds to the JSON property `entityRelations`
3113
3221
  # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentEntityRelation>]
3114
3222
  attr_accessor :entity_relations
@@ -3140,7 +3248,7 @@ module Google
3140
3248
  # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPage>]
3141
3249
  attr_accessor :pages
3142
3250
 
3143
- # Revision history of this document.
3251
+ # Placeholder. Revision history of this document.
3144
3252
  # Corresponds to the JSON property `revisions`
3145
3253
  # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentRevision>]
3146
3254
  attr_accessor :revisions
@@ -3156,14 +3264,14 @@ module Google
3156
3264
  # @return [String]
3157
3265
  attr_accessor :text
3158
3266
 
3159
- # A list of text corrections made to [Document.text]. This is usually used for
3160
- # annotating corrections to OCR mistakes. Text changes for a given revision may
3161
- # not overlap with each other.
3267
+ # Placeholder. A list of text corrections made to [Document.text]. This is
3268
+ # usually used for annotating corrections to OCR mistakes. Text changes for a
3269
+ # given revision may not overlap with each other.
3162
3270
  # Corresponds to the JSON property `textChanges`
3163
3271
  # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentTextChange>]
3164
3272
  attr_accessor :text_changes
3165
3273
 
3166
- # Styles for the Document.text.
3274
+ # Placeholder. Styles for the Document.text.
3167
3275
  # Corresponds to the JSON property `textStyles`
3168
3276
  # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentStyle>]
3169
3277
  attr_accessor :text_styles
@@ -3313,11 +3421,11 @@ module Google
3313
3421
  # Represents a whole or partial calendar date, such as a birthday. The time of
3314
3422
  # day and time zone are either specified elsewhere or are insignificant. The
3315
3423
  # date is relative to the Gregorian Calendar. This can represent one of the
3316
- # following: * A full date, with non-zero year, month, and day values * A month
3317
- # and day, with a zero year (e.g., an anniversary) * A year on its own, with a
3318
- # zero month and a zero day * A year and month, with a zero day (e.g., a credit
3319
- # card expiration date) Related types: * google.type.TimeOfDay * google.type.
3320
- # DateTime * google.protobuf.Timestamp
3424
+ # following: * A full date, with non-zero year, month, and day values. * A month
3425
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
3426
+ # with a zero month and a zero day. * A year and month, with a zero day (for
3427
+ # example, a credit card expiration date). Related types: * google.type.
3428
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
3321
3429
  # Corresponds to the JSON property `dateValue`
3322
3430
  # @return [Google::Apis::DocumentaiV1beta2::GoogleTypeDate]
3323
3431
  attr_accessor :date_value
@@ -3512,6 +3620,11 @@ module Google
3512
3620
  # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentProvenance]
3513
3621
  attr_accessor :provenance
3514
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
+
3515
3628
  # A list of visually detected tables on the page.
3516
3629
  # Corresponds to the JSON property `tables`
3517
3630
  # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageTable>]
@@ -3550,6 +3663,7 @@ module Google
3550
3663
  @page_number = args[:page_number] if args.key?(:page_number)
3551
3664
  @paragraphs = args[:paragraphs] if args.key?(:paragraphs)
3552
3665
  @provenance = args[:provenance] if args.key?(:provenance)
3666
+ @symbols = args[:symbols] if args.key?(:symbols)
3553
3667
  @tables = args[:tables] if args.key?(:tables)
3554
3668
  @tokens = args[:tokens] if args.key?(:tokens)
3555
3669
  @transforms = args[:transforms] if args.key?(:transforms)
@@ -3667,7 +3781,7 @@ module Google
3667
3781
  attr_accessor :confidence
3668
3782
 
3669
3783
  # The BCP-47 language code, such as "en-US" or "sr-Latn". For more information,
3670
- # see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
3784
+ # see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
3671
3785
  # Corresponds to the JSON property `languageCode`
3672
3786
  # @return [String]
3673
3787
  attr_accessor :language_code
@@ -3966,6 +4080,31 @@ module Google
3966
4080
  end
3967
4081
  end
3968
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
+
3969
4108
  # A table representation similar to HTML table structure.
3970
4109
  class GoogleCloudDocumentaiV1beta2DocumentPageTable
3971
4110
  include Google::Apis::Core::Hashable
@@ -4514,7 +4653,7 @@ module Google
4514
4653
  include Google::Apis::Core::Hashable
4515
4654
 
4516
4655
  # Contains the content of the text span so that users do not have to look it up
4517
- # in the text_segments.
4656
+ # in the text_segments. It is always populated for formFields.
4518
4657
  # Corresponds to the JSON property `content`
4519
4658
  # @return [String]
4520
4659
  attr_accessor :content
@@ -4637,7 +4776,7 @@ module Google
4637
4776
 
4638
4777
  # Model version of the form extraction system. Default is "builtin/stable".
4639
4778
  # Specify "builtin/latest" for the latest model. For custom form models, specify:
4640
- # 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"
4641
4780
  # corresponding to "gs://bucket_name/path/to/modeldir" where annotated examples
4642
4781
  # are stored.
4643
4782
  # Corresponds to the JSON property `modelVersion`
@@ -5736,11 +5875,11 @@ module Google
5736
5875
  # Represents a whole or partial calendar date, such as a birthday. The time of
5737
5876
  # day and time zone are either specified elsewhere or are insignificant. The
5738
5877
  # date is relative to the Gregorian Calendar. This can represent one of the
5739
- # following: * A full date, with non-zero year, month, and day values * A month
5740
- # and day, with a zero year (e.g., an anniversary) * A year on its own, with a
5741
- # zero month and a zero day * A year and month, with a zero day (e.g., a credit
5742
- # card expiration date) Related types: * google.type.TimeOfDay * google.type.
5743
- # DateTime * google.protobuf.Timestamp
5878
+ # following: * A full date, with non-zero year, month, and day values. * A month
5879
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
5880
+ # with a zero month and a zero day. * A year and month, with a zero day (for
5881
+ # example, a credit card expiration date). Related types: * google.type.
5882
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
5744
5883
  class GoogleTypeDate
5745
5884
  include Google::Apis::Core::Hashable
5746
5885
 
@@ -5979,8 +6118,8 @@ module Google
5979
6118
  attr_accessor :recipients
5980
6119
 
5981
6120
  # Required. CLDR region code of the country/region of the address. This is never
5982
- # inferred and it is up to the user to ensure the value is correct. See http://
5983
- # cldr.unicode.org/ and http://www.unicode.org/cldr/charts/30/supplemental/
6121
+ # inferred and it is up to the user to ensure the value is correct. See https://
6122
+ # cldr.unicode.org/ and https://www.unicode.org/cldr/charts/30/supplemental/
5984
6123
  # territory_information.html for details. Example: "CH" for Switzerland.
5985
6124
  # Corresponds to the JSON property `regionCode`
5986
6125
  # @return [String]
@@ -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.28.0"
19
+ GEM_VERSION = "0.31.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 = "20220205"
25
+ REVISION = "20220307"
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
 
@@ -742,6 +766,12 @@ module Google
742
766
  include Google::Apis::Core::JsonObjectSupport
743
767
  end
744
768
 
769
+ class GoogleCloudDocumentaiV1beta2DocumentPageSymbol
770
+ class Representation < Google::Apis::Core::JsonRepresentation; end
771
+
772
+ include Google::Apis::Core::JsonObjectSupport
773
+ end
774
+
745
775
  class GoogleCloudDocumentaiV1beta2DocumentPageTable
746
776
  class Representation < Google::Apis::Core::JsonRepresentation; end
747
777
 
@@ -1296,6 +1326,32 @@ module Google
1296
1326
  end
1297
1327
  end
1298
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
+
1299
1355
  class GoogleCloudDocumentaiUiv1beta3RevisionReference
1300
1356
  # @private
1301
1357
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1674,6 +1730,8 @@ module Google
1674
1730
 
1675
1731
  property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentProvenance::Representation
1676
1732
 
1733
+ collection :symbols, as: 'symbols', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageSymbol, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageSymbol::Representation
1734
+
1677
1735
  collection :tables, as: 'tables', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageTable, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageTable::Representation
1678
1736
 
1679
1737
  collection :tokens, as: 'tokens', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageToken, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageToken::Representation
@@ -1809,6 +1867,16 @@ module Google
1809
1867
  end
1810
1868
  end
1811
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
+
1812
1880
  class GoogleCloudDocumentaiV1beta1DocumentPageTable
1813
1881
  # @private
1814
1882
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2188,6 +2256,8 @@ module Google
2188
2256
 
2189
2257
  property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentProvenance::Representation
2190
2258
 
2259
+ collection :symbols, as: 'symbols', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageSymbol, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageSymbol::Representation
2260
+
2191
2261
  collection :tables, as: 'tables', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageTable, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageTable::Representation
2192
2262
 
2193
2263
  collection :tokens, as: 'tokens', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageToken, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageToken::Representation
@@ -2323,6 +2393,16 @@ module Google
2323
2393
  end
2324
2394
  end
2325
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
+
2326
2406
  class GoogleCloudDocumentaiV1beta2DocumentPageTable
2327
2407
  # @private
2328
2408
  class Representation < Google::Apis::Core::JsonRepresentation
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.28.0
4
+ version: 0.31.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-14 00:00:00.000000000 Z
11
+ date: 2022-03-14 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.28.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta2/v0.31.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: []