google-apis-documentai_v1beta2 0.27.0 → 0.30.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4158f82ba1725340b918f6d792241857039e0744b6bb5ab5e2fb722d7be14b21
|
4
|
+
data.tar.gz: 55e376ab399d98338223bdd0978a66722a3f68b77e4df4848113a58d4226b41b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7fbd7c1cf1ddcb907d3a1376069bc9a4685719e8d9c82abb02f5ea4262320f73a0b3fd71aa4836e6b40d51e71d160e202086359d50aeedcb8442d1af5bd0f4ff
|
7
|
+
data.tar.gz: 65e0653290db1c5f21c5fcb35966ae596d81aca3e2c568e75818e0772566820e2894af0108d26383b47442264627eb089fac03f336a11d6fa6eee15290b7b370
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-documentai_v1beta2
|
2
2
|
|
3
|
+
### v0.30.0 (2022-02-24)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220222
|
6
|
+
|
7
|
+
### v0.29.0 (2022-02-15)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220212
|
10
|
+
|
11
|
+
### v0.28.0 (2022-02-08)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220205
|
14
|
+
|
3
15
|
### v0.27.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::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
|
1394
|
-
# annotating corrections to OCR mistakes. Text changes for a
|
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
|
@@ -1543,8 +1620,14 @@ module Google
|
|
1543
1620
|
attr_accessor :boolean_value
|
1544
1621
|
alias_method :boolean_value?, :boolean_value
|
1545
1622
|
|
1546
|
-
#
|
1547
|
-
#
|
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::DocumentaiV1beta2::GoogleTypeDate]
|
1550
1633
|
attr_accessor :date_value
|
@@ -1702,6 +1785,11 @@ module Google
|
|
1702
1785
|
# @return [Google::Apis::DocumentaiV1beta2::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::DocumentaiV1beta2::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::DocumentaiV1beta2::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
|
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::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
|
+
|
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
|
@@ -3102,7 +3216,7 @@ module Google
|
|
3102
3216
|
# @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentEntity>]
|
3103
3217
|
attr_accessor :entities
|
3104
3218
|
|
3105
|
-
# Relationship among Document.entities.
|
3219
|
+
# Placeholder. Relationship among Document.entities.
|
3106
3220
|
# Corresponds to the JSON property `entityRelations`
|
3107
3221
|
# @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentEntityRelation>]
|
3108
3222
|
attr_accessor :entity_relations
|
@@ -3134,7 +3248,7 @@ module Google
|
|
3134
3248
|
# @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPage>]
|
3135
3249
|
attr_accessor :pages
|
3136
3250
|
|
3137
|
-
# Revision history of this document.
|
3251
|
+
# Placeholder. Revision history of this document.
|
3138
3252
|
# Corresponds to the JSON property `revisions`
|
3139
3253
|
# @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentRevision>]
|
3140
3254
|
attr_accessor :revisions
|
@@ -3150,14 +3264,14 @@ module Google
|
|
3150
3264
|
# @return [String]
|
3151
3265
|
attr_accessor :text
|
3152
3266
|
|
3153
|
-
# A list of text corrections made to [Document.text]. This is
|
3154
|
-
# annotating corrections to OCR mistakes. Text changes for a
|
3155
|
-
# 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.
|
3156
3270
|
# Corresponds to the JSON property `textChanges`
|
3157
3271
|
# @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentTextChange>]
|
3158
3272
|
attr_accessor :text_changes
|
3159
3273
|
|
3160
|
-
# Styles for the Document.text.
|
3274
|
+
# Placeholder. Styles for the Document.text.
|
3161
3275
|
# Corresponds to the JSON property `textStyles`
|
3162
3276
|
# @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentStyle>]
|
3163
3277
|
attr_accessor :text_styles
|
@@ -3304,8 +3418,14 @@ module Google
|
|
3304
3418
|
attr_accessor :boolean_value
|
3305
3419
|
alias_method :boolean_value?, :boolean_value
|
3306
3420
|
|
3307
|
-
#
|
3308
|
-
#
|
3421
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
3422
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
3423
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
3424
|
+
# following: * A full date, with non-zero year, month, and day values * A month
|
3425
|
+
# and day, with a zero year (e.g., an anniversary) * A year on its own, with a
|
3426
|
+
# zero month and a zero day * A year and month, with a zero day (e.g., a credit
|
3427
|
+
# card expiration date) Related types: * google.type.TimeOfDay * google.type.
|
3428
|
+
# DateTime * google.protobuf.Timestamp
|
3309
3429
|
# Corresponds to the JSON property `dateValue`
|
3310
3430
|
# @return [Google::Apis::DocumentaiV1beta2::GoogleTypeDate]
|
3311
3431
|
attr_accessor :date_value
|
@@ -3500,6 +3620,11 @@ module Google
|
|
3500
3620
|
# @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentProvenance]
|
3501
3621
|
attr_accessor :provenance
|
3502
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
|
+
|
3503
3628
|
# A list of visually detected tables on the page.
|
3504
3629
|
# Corresponds to the JSON property `tables`
|
3505
3630
|
# @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageTable>]
|
@@ -3538,6 +3663,7 @@ module Google
|
|
3538
3663
|
@page_number = args[:page_number] if args.key?(:page_number)
|
3539
3664
|
@paragraphs = args[:paragraphs] if args.key?(:paragraphs)
|
3540
3665
|
@provenance = args[:provenance] if args.key?(:provenance)
|
3666
|
+
@symbols = args[:symbols] if args.key?(:symbols)
|
3541
3667
|
@tables = args[:tables] if args.key?(:tables)
|
3542
3668
|
@tokens = args[:tokens] if args.key?(:tokens)
|
3543
3669
|
@transforms = args[:transforms] if args.key?(:transforms)
|
@@ -3655,7 +3781,7 @@ module Google
|
|
3655
3781
|
attr_accessor :confidence
|
3656
3782
|
|
3657
3783
|
# The BCP-47 language code, such as "en-US" or "sr-Latn". For more information,
|
3658
|
-
# see
|
3784
|
+
# see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
|
3659
3785
|
# Corresponds to the JSON property `languageCode`
|
3660
3786
|
# @return [String]
|
3661
3787
|
attr_accessor :language_code
|
@@ -3954,6 +4080,31 @@ module Google
|
|
3954
4080
|
end
|
3955
4081
|
end
|
3956
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
|
+
|
3957
4108
|
# A table representation similar to HTML table structure.
|
3958
4109
|
class GoogleCloudDocumentaiV1beta2DocumentPageTable
|
3959
4110
|
include Google::Apis::Core::Hashable
|
@@ -4502,7 +4653,7 @@ module Google
|
|
4502
4653
|
include Google::Apis::Core::Hashable
|
4503
4654
|
|
4504
4655
|
# Contains the content of the text span so that users do not have to look it up
|
4505
|
-
# in the text_segments.
|
4656
|
+
# in the text_segments. It is always populated for formFields.
|
4506
4657
|
# Corresponds to the JSON property `content`
|
4507
4658
|
# @return [String]
|
4508
4659
|
attr_accessor :content
|
@@ -4625,7 +4776,7 @@ module Google
|
|
4625
4776
|
|
4626
4777
|
# Model version of the form extraction system. Default is "builtin/stable".
|
4627
4778
|
# Specify "builtin/latest" for the latest model. For custom form models, specify:
|
4628
|
-
#
|
4779
|
+
# "custom/`model_name`". Model name format is "bucket_name/path/to/modeldir"
|
4629
4780
|
# corresponding to "gs://bucket_name/path/to/modeldir" where annotated examples
|
4630
4781
|
# are stored.
|
4631
4782
|
# Corresponds to the JSON property `modelVersion`
|
@@ -5721,7 +5872,14 @@ module Google
|
|
5721
5872
|
end
|
5722
5873
|
end
|
5723
5874
|
|
5724
|
-
#
|
5875
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
5876
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
5877
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
5878
|
+
# following: * A full date, with non-zero year, month, and day values * A month
|
5879
|
+
# and day, with a zero year (e.g., an anniversary) * A year on its own, with a
|
5880
|
+
# zero month and a zero day * A year and month, with a zero day (e.g., a credit
|
5881
|
+
# card expiration date) Related types: * google.type.TimeOfDay * google.type.
|
5882
|
+
# DateTime * google.protobuf.Timestamp
|
5725
5883
|
class GoogleTypeDate
|
5726
5884
|
include Google::Apis::Core::Hashable
|
5727
5885
|
|
@@ -5960,8 +6118,8 @@ module Google
|
|
5960
6118
|
attr_accessor :recipients
|
5961
6119
|
|
5962
6120
|
# Required. CLDR region code of the country/region of the address. This is never
|
5963
|
-
# inferred and it is up to the user to ensure the value is correct. See
|
5964
|
-
# cldr.unicode.org/ and
|
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/
|
5965
6123
|
# territory_information.html for details. Example: "CH" for Switzerland.
|
5966
6124
|
# Corresponds to the JSON property `regionCode`
|
5967
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.
|
19
|
+
GEM_VERSION = "0.30.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 = "
|
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
|
|
@@ -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.
|
4
|
+
version: 0.30.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-
|
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_v1beta2/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta2/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta2/v0.30.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: []
|