google-apis-documentai_v1beta2 0.41.0 → 0.44.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: db65a343043243da264eee3347eff84d4958e104e1d42cfc0b08c039fa2ee60a
|
4
|
+
data.tar.gz: 4e6191f210c583174fde9102110a13550ef4c1d1e99bd1f75e03c1114e08cbbe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b2891be12afe3cb795d07eec4a3fd4e95e80fd925833d926263d912035dead9f965958292ddafbfa72e3ababf9baebd6dc5c858b968c0c5093d5f25c4724b812
|
7
|
+
data.tar.gz: 161cc7235973a7cfc6d2782a585e69db2899cfd906f8b95c8c067a6ccb28aa55372696c5ba71f51988e43eea419ec05ea0e2753bc612f7af3bc21c5142581256
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,18 @@
|
|
1
1
|
# Release history for google-apis-documentai_v1beta2
|
2
2
|
|
3
|
+
### v0.44.0 (2022-08-16)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220815
|
6
|
+
|
7
|
+
### v0.43.0 (2022-07-26)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220720
|
10
|
+
|
11
|
+
### v0.42.0 (2022-07-12)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220711
|
14
|
+
* Regenerated using generator version 0.9.0
|
15
|
+
|
3
16
|
### v0.41.0 (2022-06-30)
|
4
17
|
|
5
18
|
* Regenerated using generator version 0.8.0
|
@@ -36,6 +36,11 @@ module Google
|
|
36
36
|
# @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus>]
|
37
37
|
attr_accessor :individual_batch_delete_statuses
|
38
38
|
|
39
|
+
# Total number of documents deleting from dataset.
|
40
|
+
# Corresponds to the JSON property `totalDocumentCount`
|
41
|
+
# @return [Fixnum]
|
42
|
+
attr_accessor :total_document_count
|
43
|
+
|
39
44
|
def initialize(**args)
|
40
45
|
update!(**args)
|
41
46
|
end
|
@@ -44,6 +49,7 @@ module Google
|
|
44
49
|
def update!(**args)
|
45
50
|
@common_metadata = args[:common_metadata] if args.key?(:common_metadata)
|
46
51
|
@individual_batch_delete_statuses = args[:individual_batch_delete_statuses] if args.key?(:individual_batch_delete_statuses)
|
52
|
+
@total_document_count = args[:total_document_count] if args.key?(:total_document_count)
|
47
53
|
end
|
48
54
|
end
|
49
55
|
|
@@ -543,11 +549,21 @@ module Google
|
|
543
549
|
# @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
|
544
550
|
attr_accessor :common_metadata
|
545
551
|
|
552
|
+
# Validation statuses of the batch documents import config.
|
553
|
+
# Corresponds to the JSON property `importConfigValidationResults`
|
554
|
+
# @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataImportConfigValidationResult>]
|
555
|
+
attr_accessor :import_config_validation_results
|
556
|
+
|
546
557
|
# The list of response details of each document.
|
547
558
|
# Corresponds to the JSON property `individualImportStatuses`
|
548
559
|
# @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus>]
|
549
560
|
attr_accessor :individual_import_statuses
|
550
561
|
|
562
|
+
# Total number of the documents that are qualified for importing.
|
563
|
+
# Corresponds to the JSON property `totalDocumentCount`
|
564
|
+
# @return [Fixnum]
|
565
|
+
attr_accessor :total_document_count
|
566
|
+
|
551
567
|
def initialize(**args)
|
552
568
|
update!(**args)
|
553
569
|
end
|
@@ -555,7 +571,41 @@ module Google
|
|
555
571
|
# Update properties of this object
|
556
572
|
def update!(**args)
|
557
573
|
@common_metadata = args[:common_metadata] if args.key?(:common_metadata)
|
574
|
+
@import_config_validation_results = args[:import_config_validation_results] if args.key?(:import_config_validation_results)
|
558
575
|
@individual_import_statuses = args[:individual_import_statuses] if args.key?(:individual_import_statuses)
|
576
|
+
@total_document_count = args[:total_document_count] if args.key?(:total_document_count)
|
577
|
+
end
|
578
|
+
end
|
579
|
+
|
580
|
+
# The validation status of each import config. Status is ok if the configuration
|
581
|
+
# is valid and the specified documents are valid for importing. Otherwise status
|
582
|
+
# will be set as errors.
|
583
|
+
class GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataImportConfigValidationResult
|
584
|
+
include Google::Apis::Core::Hashable
|
585
|
+
|
586
|
+
# The source Cloud Storage URI specified in the import config.
|
587
|
+
# Corresponds to the JSON property `inputGcsSource`
|
588
|
+
# @return [String]
|
589
|
+
attr_accessor :input_gcs_source
|
590
|
+
|
591
|
+
# The `Status` type defines a logical error model that is suitable for different
|
592
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
593
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
594
|
+
# data: error code, error message, and error details. You can find out more
|
595
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
596
|
+
# //cloud.google.com/apis/design/errors).
|
597
|
+
# Corresponds to the JSON property `status`
|
598
|
+
# @return [Google::Apis::DocumentaiV1beta2::GoogleRpcStatus]
|
599
|
+
attr_accessor :status
|
600
|
+
|
601
|
+
def initialize(**args)
|
602
|
+
update!(**args)
|
603
|
+
end
|
604
|
+
|
605
|
+
# Update properties of this object
|
606
|
+
def update!(**args)
|
607
|
+
@input_gcs_source = args[:input_gcs_source] if args.key?(:input_gcs_source)
|
608
|
+
@status = args[:status] if args.key?(:status)
|
559
609
|
end
|
560
610
|
end
|
561
611
|
|
@@ -618,6 +668,18 @@ module Google
|
|
618
668
|
# @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
|
619
669
|
attr_accessor :common_metadata
|
620
670
|
|
671
|
+
# The list of dataset resync statuses. Not checked when `dataset_documents` is
|
672
|
+
# specified in ResyncRequest.
|
673
|
+
# Corresponds to the JSON property `datasetResyncStatuses`
|
674
|
+
# @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatus>]
|
675
|
+
attr_accessor :dataset_resync_statuses
|
676
|
+
|
677
|
+
# The list of document resync statuses. The same document could have multiple `
|
678
|
+
# individual_document_resync_statuses` if it has multiple inconsistencies.
|
679
|
+
# Corresponds to the JSON property `individualDocumentResyncStatuses`
|
680
|
+
# @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyncStatus>]
|
681
|
+
attr_accessor :individual_document_resync_statuses
|
682
|
+
|
621
683
|
# Returns the newly added document Cloud Storage prefix if the documents are
|
622
684
|
# founded in Cloud Storage while not in Document Service storage.
|
623
685
|
# Corresponds to the JSON property `newlyAddedDocuments`
|
@@ -631,10 +693,78 @@ module Google
|
|
631
693
|
# Update properties of this object
|
632
694
|
def update!(**args)
|
633
695
|
@common_metadata = args[:common_metadata] if args.key?(:common_metadata)
|
696
|
+
@dataset_resync_statuses = args[:dataset_resync_statuses] if args.key?(:dataset_resync_statuses)
|
697
|
+
@individual_document_resync_statuses = args[:individual_document_resync_statuses] if args.key?(:individual_document_resync_statuses)
|
634
698
|
@newly_added_documents = args[:newly_added_documents] if args.key?(:newly_added_documents)
|
635
699
|
end
|
636
700
|
end
|
637
701
|
|
702
|
+
# Resync status against inconsistency types on the dataset level.
|
703
|
+
class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatus
|
704
|
+
include Google::Apis::Core::Hashable
|
705
|
+
|
706
|
+
# The type of the inconsistency of the dataset.
|
707
|
+
# Corresponds to the JSON property `datasetInconsistencyType`
|
708
|
+
# @return [String]
|
709
|
+
attr_accessor :dataset_inconsistency_type
|
710
|
+
|
711
|
+
# The `Status` type defines a logical error model that is suitable for different
|
712
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
713
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
714
|
+
# data: error code, error message, and error details. You can find out more
|
715
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
716
|
+
# //cloud.google.com/apis/design/errors).
|
717
|
+
# Corresponds to the JSON property `status`
|
718
|
+
# @return [Google::Apis::DocumentaiV1beta2::GoogleRpcStatus]
|
719
|
+
attr_accessor :status
|
720
|
+
|
721
|
+
def initialize(**args)
|
722
|
+
update!(**args)
|
723
|
+
end
|
724
|
+
|
725
|
+
# Update properties of this object
|
726
|
+
def update!(**args)
|
727
|
+
@dataset_inconsistency_type = args[:dataset_inconsistency_type] if args.key?(:dataset_inconsistency_type)
|
728
|
+
@status = args[:status] if args.key?(:status)
|
729
|
+
end
|
730
|
+
end
|
731
|
+
|
732
|
+
# Resync status for each document per inconsistency type.
|
733
|
+
class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyncStatus
|
734
|
+
include Google::Apis::Core::Hashable
|
735
|
+
|
736
|
+
# Document Identifier.
|
737
|
+
# Corresponds to the JSON property `documentId`
|
738
|
+
# @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3DocumentId]
|
739
|
+
attr_accessor :document_id
|
740
|
+
|
741
|
+
# The type of document inconsistency.
|
742
|
+
# Corresponds to the JSON property `documentInconsistencyType`
|
743
|
+
# @return [String]
|
744
|
+
attr_accessor :document_inconsistency_type
|
745
|
+
|
746
|
+
# The `Status` type defines a logical error model that is suitable for different
|
747
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
748
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
749
|
+
# data: error code, error message, and error details. You can find out more
|
750
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
751
|
+
# //cloud.google.com/apis/design/errors).
|
752
|
+
# Corresponds to the JSON property `status`
|
753
|
+
# @return [Google::Apis::DocumentaiV1beta2::GoogleRpcStatus]
|
754
|
+
attr_accessor :status
|
755
|
+
|
756
|
+
def initialize(**args)
|
757
|
+
update!(**args)
|
758
|
+
end
|
759
|
+
|
760
|
+
# Update properties of this object
|
761
|
+
def update!(**args)
|
762
|
+
@document_id = args[:document_id] if args.key?(:document_id)
|
763
|
+
@document_inconsistency_type = args[:document_inconsistency_type] if args.key?(:document_inconsistency_type)
|
764
|
+
@status = args[:status] if args.key?(:status)
|
765
|
+
end
|
766
|
+
end
|
767
|
+
|
638
768
|
# The proto for updated document in resync pipeline.
|
639
769
|
class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument
|
640
770
|
include Google::Apis::Core::Hashable
|
@@ -1432,6 +1562,46 @@ module Google
|
|
1432
1562
|
end
|
1433
1563
|
end
|
1434
1564
|
|
1565
|
+
# Encodes the detailed information of a barcode.
|
1566
|
+
class GoogleCloudDocumentaiV1beta1Barcode
|
1567
|
+
include Google::Apis::Core::Hashable
|
1568
|
+
|
1569
|
+
# Format of a barcode. The supported formats are: CODE_128: Code 128 type.
|
1570
|
+
# CODE_39: Code 39 type. CODE_93: Code 93 type. CODABAR: Codabar type.
|
1571
|
+
# DATA_MATRIX: 2D Data Matrix type. ITF: ITF type. EAN_13: EAN-13 type. EAN_8:
|
1572
|
+
# EAN-8 type. QR_CODE: 2D QR code type. UPC_A: UPC-A type. UPC_E: UPC-E type.
|
1573
|
+
# PDF417: PDF417 type. AZTEC: 2D Aztec code type. DATABAR: GS1 DataBar code type.
|
1574
|
+
# Corresponds to the JSON property `format`
|
1575
|
+
# @return [String]
|
1576
|
+
attr_accessor :format
|
1577
|
+
|
1578
|
+
# Raw value encoded in the barcode. For example, 'MEBKM:TITLE:Google;URL:https://
|
1579
|
+
# www.google.com;;'.
|
1580
|
+
# Corresponds to the JSON property `rawValue`
|
1581
|
+
# @return [String]
|
1582
|
+
attr_accessor :raw_value
|
1583
|
+
|
1584
|
+
# Value format describes the format of the value that a barcode encodes. The
|
1585
|
+
# supported formats are: CONTACT_INFO: Contact information. EMAIL: Email address.
|
1586
|
+
# ISBN: ISBN identifier. PHONE: Phone number. PRODUCT: Product. SMS: SMS
|
1587
|
+
# message. TEXT: Text string. URL: URL address. WIFI: Wifi information. GEO: Geo-
|
1588
|
+
# localization. CALENDAR_EVENT: Calendar event. DRIVER_LICENSE: Driver's license.
|
1589
|
+
# Corresponds to the JSON property `valueFormat`
|
1590
|
+
# @return [String]
|
1591
|
+
attr_accessor :value_format
|
1592
|
+
|
1593
|
+
def initialize(**args)
|
1594
|
+
update!(**args)
|
1595
|
+
end
|
1596
|
+
|
1597
|
+
# Update properties of this object
|
1598
|
+
def update!(**args)
|
1599
|
+
@format = args[:format] if args.key?(:format)
|
1600
|
+
@raw_value = args[:raw_value] if args.key?(:raw_value)
|
1601
|
+
@value_format = args[:value_format] if args.key?(:value_format)
|
1602
|
+
end
|
1603
|
+
end
|
1604
|
+
|
1435
1605
|
# Response to an batch document processing request. This is returned in the LRO
|
1436
1606
|
# Operation after the operation is complete.
|
1437
1607
|
class GoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse
|
@@ -1610,15 +1780,6 @@ module Google
|
|
1610
1780
|
# @return [String]
|
1611
1781
|
attr_accessor :mention_text
|
1612
1782
|
|
1613
|
-
# Optional. This attribute indicates that the processing didn't actually
|
1614
|
-
# identify this entity, but a confidence score was assigned that represent the
|
1615
|
-
# potential that this could be a false negative. A non-present entity should
|
1616
|
-
# have an empty mention_text and text_anchor.
|
1617
|
-
# Corresponds to the JSON property `nonPresent`
|
1618
|
-
# @return [Boolean]
|
1619
|
-
attr_accessor :non_present
|
1620
|
-
alias_method :non_present?, :non_present
|
1621
|
-
|
1622
1783
|
# Parsed and normalized entity value.
|
1623
1784
|
# Corresponds to the JSON property `normalizedValue`
|
1624
1785
|
# @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue]
|
@@ -1669,7 +1830,6 @@ module Google
|
|
1669
1830
|
@id = args[:id] if args.key?(:id)
|
1670
1831
|
@mention_id = args[:mention_id] if args.key?(:mention_id)
|
1671
1832
|
@mention_text = args[:mention_text] if args.key?(:mention_text)
|
1672
|
-
@non_present = args[:non_present] if args.key?(:non_present)
|
1673
1833
|
@normalized_value = args[:normalized_value] if args.key?(:normalized_value)
|
1674
1834
|
@page_anchor = args[:page_anchor] if args.key?(:page_anchor)
|
1675
1835
|
@properties = args[:properties] if args.key?(:properties)
|
@@ -1689,11 +1849,11 @@ module Google
|
|
1689
1849
|
# Box or similar. It is not intended to model geographical locations (roads,
|
1690
1850
|
# towns, mountains). In typical usage an address would be created via user input
|
1691
1851
|
# or from importing existing data, depending on the type of process. Advice on
|
1692
|
-
# address input / editing: - Use an
|
1693
|
-
# github.com/google/libaddressinput) - Users should not be
|
1694
|
-
# elements for input or editing of fields outside countries
|
1695
|
-
# used. For more guidance on how to use this schema, please
|
1696
|
-
# google.com/business/answer/6397478
|
1852
|
+
# address input / editing: - Use an internationalization-ready address widget
|
1853
|
+
# such as https://github.com/google/libaddressinput) - Users should not be
|
1854
|
+
# presented with UI elements for input or editing of fields outside countries
|
1855
|
+
# where that field is used. For more guidance on how to use this schema, please
|
1856
|
+
# see: https://support.google.com/business/answer/6397478
|
1697
1857
|
# Corresponds to the JSON property `addressValue`
|
1698
1858
|
# @return [Google::Apis::DocumentaiV1beta2::GoogleTypePostalAddress]
|
1699
1859
|
attr_accessor :address_value
|
@@ -1722,9 +1882,9 @@ module Google
|
|
1722
1882
|
# from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
|
1723
1883
|
# calendar day in a particular time zone. * When neither time_zone nor
|
1724
1884
|
# utc_offset is set: a civil time on a calendar day in local time. The date is
|
1725
|
-
# relative to the Proleptic Gregorian Calendar. If year
|
1726
|
-
# considered not to have a specific year
|
1727
|
-
#
|
1885
|
+
# relative to the Proleptic Gregorian Calendar. If year, month, or day are 0,
|
1886
|
+
# the DateTime is considered not to have a specific year, month, or day
|
1887
|
+
# respectively. This type may also be used to represent a physical time if all
|
1728
1888
|
# the date and time fields are set and either case of the `time_offset` oneof is
|
1729
1889
|
# set. Consider using `Timestamp` message for physical time instead. If your use
|
1730
1890
|
# case also would like to store the user's timezone, that can be done in another
|
@@ -1820,6 +1980,11 @@ module Google
|
|
1820
1980
|
# @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageBlock>]
|
1821
1981
|
attr_accessor :blocks
|
1822
1982
|
|
1983
|
+
# A list of detected barcodes.
|
1984
|
+
# Corresponds to the JSON property `detectedBarcodes`
|
1985
|
+
# @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDetectedBarcode>]
|
1986
|
+
attr_accessor :detected_barcodes
|
1987
|
+
|
1823
1988
|
# A list of detected languages together with confidence.
|
1824
1989
|
# Corresponds to the JSON property `detectedLanguages`
|
1825
1990
|
# @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage>]
|
@@ -1903,6 +2068,7 @@ module Google
|
|
1903
2068
|
# Update properties of this object
|
1904
2069
|
def update!(**args)
|
1905
2070
|
@blocks = args[:blocks] if args.key?(:blocks)
|
2071
|
+
@detected_barcodes = args[:detected_barcodes] if args.key?(:detected_barcodes)
|
1906
2072
|
@detected_languages = args[:detected_languages] if args.key?(:detected_languages)
|
1907
2073
|
@dimension = args[:dimension] if args.key?(:dimension)
|
1908
2074
|
@form_fields = args[:form_fields] if args.key?(:form_fields)
|
@@ -2020,6 +2186,31 @@ module Google
|
|
2020
2186
|
end
|
2021
2187
|
end
|
2022
2188
|
|
2189
|
+
# A detected barcode.
|
2190
|
+
class GoogleCloudDocumentaiV1beta1DocumentPageDetectedBarcode
|
2191
|
+
include Google::Apis::Core::Hashable
|
2192
|
+
|
2193
|
+
# Encodes the detailed information of a barcode.
|
2194
|
+
# Corresponds to the JSON property `barcode`
|
2195
|
+
# @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1Barcode]
|
2196
|
+
attr_accessor :barcode
|
2197
|
+
|
2198
|
+
# Visual element describing a layout unit on a page.
|
2199
|
+
# Corresponds to the JSON property `layout`
|
2200
|
+
# @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageLayout]
|
2201
|
+
attr_accessor :layout
|
2202
|
+
|
2203
|
+
def initialize(**args)
|
2204
|
+
update!(**args)
|
2205
|
+
end
|
2206
|
+
|
2207
|
+
# Update properties of this object
|
2208
|
+
def update!(**args)
|
2209
|
+
@barcode = args[:barcode] if args.key?(:barcode)
|
2210
|
+
@layout = args[:layout] if args.key?(:layout)
|
2211
|
+
end
|
2212
|
+
end
|
2213
|
+
|
2023
2214
|
# Detected language for a structural component.
|
2024
2215
|
class GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage
|
2025
2216
|
include Google::Apis::Core::Hashable
|
@@ -3214,6 +3405,46 @@ module Google
|
|
3214
3405
|
end
|
3215
3406
|
end
|
3216
3407
|
|
3408
|
+
# Encodes the detailed information of a barcode.
|
3409
|
+
class GoogleCloudDocumentaiV1beta2Barcode
|
3410
|
+
include Google::Apis::Core::Hashable
|
3411
|
+
|
3412
|
+
# Format of a barcode. The supported formats are: CODE_128: Code 128 type.
|
3413
|
+
# CODE_39: Code 39 type. CODE_93: Code 93 type. CODABAR: Codabar type.
|
3414
|
+
# DATA_MATRIX: 2D Data Matrix type. ITF: ITF type. EAN_13: EAN-13 type. EAN_8:
|
3415
|
+
# EAN-8 type. QR_CODE: 2D QR code type. UPC_A: UPC-A type. UPC_E: UPC-E type.
|
3416
|
+
# PDF417: PDF417 type. AZTEC: 2D Aztec code type. DATABAR: GS1 DataBar code type.
|
3417
|
+
# Corresponds to the JSON property `format`
|
3418
|
+
# @return [String]
|
3419
|
+
attr_accessor :format
|
3420
|
+
|
3421
|
+
# Raw value encoded in the barcode. For example, 'MEBKM:TITLE:Google;URL:https://
|
3422
|
+
# www.google.com;;'.
|
3423
|
+
# Corresponds to the JSON property `rawValue`
|
3424
|
+
# @return [String]
|
3425
|
+
attr_accessor :raw_value
|
3426
|
+
|
3427
|
+
# Value format describes the format of the value that a barcode encodes. The
|
3428
|
+
# supported formats are: CONTACT_INFO: Contact information. EMAIL: Email address.
|
3429
|
+
# ISBN: ISBN identifier. PHONE: Phone number. PRODUCT: Product. SMS: SMS
|
3430
|
+
# message. TEXT: Text string. URL: URL address. WIFI: Wifi information. GEO: Geo-
|
3431
|
+
# localization. CALENDAR_EVENT: Calendar event. DRIVER_LICENSE: Driver's license.
|
3432
|
+
# Corresponds to the JSON property `valueFormat`
|
3433
|
+
# @return [String]
|
3434
|
+
attr_accessor :value_format
|
3435
|
+
|
3436
|
+
def initialize(**args)
|
3437
|
+
update!(**args)
|
3438
|
+
end
|
3439
|
+
|
3440
|
+
# Update properties of this object
|
3441
|
+
def update!(**args)
|
3442
|
+
@format = args[:format] if args.key?(:format)
|
3443
|
+
@raw_value = args[:raw_value] if args.key?(:raw_value)
|
3444
|
+
@value_format = args[:value_format] if args.key?(:value_format)
|
3445
|
+
end
|
3446
|
+
end
|
3447
|
+
|
3217
3448
|
# Request to batch process documents as an asynchronous operation. The output is
|
3218
3449
|
# written to Cloud Storage as JSON in the [Document] format.
|
3219
3450
|
class GoogleCloudDocumentaiV1beta2BatchProcessDocumentsRequest
|
@@ -3418,15 +3649,6 @@ module Google
|
|
3418
3649
|
# @return [String]
|
3419
3650
|
attr_accessor :mention_text
|
3420
3651
|
|
3421
|
-
# Optional. This attribute indicates that the processing didn't actually
|
3422
|
-
# identify this entity, but a confidence score was assigned that represent the
|
3423
|
-
# potential that this could be a false negative. A non-present entity should
|
3424
|
-
# have an empty mention_text and text_anchor.
|
3425
|
-
# Corresponds to the JSON property `nonPresent`
|
3426
|
-
# @return [Boolean]
|
3427
|
-
attr_accessor :non_present
|
3428
|
-
alias_method :non_present?, :non_present
|
3429
|
-
|
3430
3652
|
# Parsed and normalized entity value.
|
3431
3653
|
# Corresponds to the JSON property `normalizedValue`
|
3432
3654
|
# @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue]
|
@@ -3477,7 +3699,6 @@ module Google
|
|
3477
3699
|
@id = args[:id] if args.key?(:id)
|
3478
3700
|
@mention_id = args[:mention_id] if args.key?(:mention_id)
|
3479
3701
|
@mention_text = args[:mention_text] if args.key?(:mention_text)
|
3480
|
-
@non_present = args[:non_present] if args.key?(:non_present)
|
3481
3702
|
@normalized_value = args[:normalized_value] if args.key?(:normalized_value)
|
3482
3703
|
@page_anchor = args[:page_anchor] if args.key?(:page_anchor)
|
3483
3704
|
@properties = args[:properties] if args.key?(:properties)
|
@@ -3497,11 +3718,11 @@ module Google
|
|
3497
3718
|
# Box or similar. It is not intended to model geographical locations (roads,
|
3498
3719
|
# towns, mountains). In typical usage an address would be created via user input
|
3499
3720
|
# or from importing existing data, depending on the type of process. Advice on
|
3500
|
-
# address input / editing: - Use an
|
3501
|
-
# github.com/google/libaddressinput) - Users should not be
|
3502
|
-
# elements for input or editing of fields outside countries
|
3503
|
-
# used. For more guidance on how to use this schema, please
|
3504
|
-
# google.com/business/answer/6397478
|
3721
|
+
# address input / editing: - Use an internationalization-ready address widget
|
3722
|
+
# such as https://github.com/google/libaddressinput) - Users should not be
|
3723
|
+
# presented with UI elements for input or editing of fields outside countries
|
3724
|
+
# where that field is used. For more guidance on how to use this schema, please
|
3725
|
+
# see: https://support.google.com/business/answer/6397478
|
3505
3726
|
# Corresponds to the JSON property `addressValue`
|
3506
3727
|
# @return [Google::Apis::DocumentaiV1beta2::GoogleTypePostalAddress]
|
3507
3728
|
attr_accessor :address_value
|
@@ -3530,9 +3751,9 @@ module Google
|
|
3530
3751
|
# from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
|
3531
3752
|
# calendar day in a particular time zone. * When neither time_zone nor
|
3532
3753
|
# utc_offset is set: a civil time on a calendar day in local time. The date is
|
3533
|
-
# relative to the Proleptic Gregorian Calendar. If year
|
3534
|
-
# considered not to have a specific year
|
3535
|
-
#
|
3754
|
+
# relative to the Proleptic Gregorian Calendar. If year, month, or day are 0,
|
3755
|
+
# the DateTime is considered not to have a specific year, month, or day
|
3756
|
+
# respectively. This type may also be used to represent a physical time if all
|
3536
3757
|
# the date and time fields are set and either case of the `time_offset` oneof is
|
3537
3758
|
# set. Consider using `Timestamp` message for physical time instead. If your use
|
3538
3759
|
# case also would like to store the user's timezone, that can be done in another
|
@@ -3665,6 +3886,11 @@ module Google
|
|
3665
3886
|
# @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageBlock>]
|
3666
3887
|
attr_accessor :blocks
|
3667
3888
|
|
3889
|
+
# A list of detected barcodes.
|
3890
|
+
# Corresponds to the JSON property `detectedBarcodes`
|
3891
|
+
# @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDetectedBarcode>]
|
3892
|
+
attr_accessor :detected_barcodes
|
3893
|
+
|
3668
3894
|
# A list of detected languages together with confidence.
|
3669
3895
|
# Corresponds to the JSON property `detectedLanguages`
|
3670
3896
|
# @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage>]
|
@@ -3748,6 +3974,7 @@ module Google
|
|
3748
3974
|
# Update properties of this object
|
3749
3975
|
def update!(**args)
|
3750
3976
|
@blocks = args[:blocks] if args.key?(:blocks)
|
3977
|
+
@detected_barcodes = args[:detected_barcodes] if args.key?(:detected_barcodes)
|
3751
3978
|
@detected_languages = args[:detected_languages] if args.key?(:detected_languages)
|
3752
3979
|
@dimension = args[:dimension] if args.key?(:dimension)
|
3753
3980
|
@form_fields = args[:form_fields] if args.key?(:form_fields)
|
@@ -3865,6 +4092,31 @@ module Google
|
|
3865
4092
|
end
|
3866
4093
|
end
|
3867
4094
|
|
4095
|
+
# A detected barcode.
|
4096
|
+
class GoogleCloudDocumentaiV1beta2DocumentPageDetectedBarcode
|
4097
|
+
include Google::Apis::Core::Hashable
|
4098
|
+
|
4099
|
+
# Encodes the detailed information of a barcode.
|
4100
|
+
# Corresponds to the JSON property `barcode`
|
4101
|
+
# @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2Barcode]
|
4102
|
+
attr_accessor :barcode
|
4103
|
+
|
4104
|
+
# Visual element describing a layout unit on a page.
|
4105
|
+
# Corresponds to the JSON property `layout`
|
4106
|
+
# @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageLayout]
|
4107
|
+
attr_accessor :layout
|
4108
|
+
|
4109
|
+
def initialize(**args)
|
4110
|
+
update!(**args)
|
4111
|
+
end
|
4112
|
+
|
4113
|
+
# Update properties of this object
|
4114
|
+
def update!(**args)
|
4115
|
+
@barcode = args[:barcode] if args.key?(:barcode)
|
4116
|
+
@layout = args[:layout] if args.key?(:layout)
|
4117
|
+
end
|
4118
|
+
end
|
4119
|
+
|
3868
4120
|
# Detected language for a structural component.
|
3869
4121
|
class GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage
|
3870
4122
|
include Google::Apis::Core::Hashable
|
@@ -6025,9 +6277,9 @@ module Google
|
|
6025
6277
|
# from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
|
6026
6278
|
# calendar day in a particular time zone. * When neither time_zone nor
|
6027
6279
|
# utc_offset is set: a civil time on a calendar day in local time. The date is
|
6028
|
-
# relative to the Proleptic Gregorian Calendar. If year
|
6029
|
-
# considered not to have a specific year
|
6030
|
-
#
|
6280
|
+
# relative to the Proleptic Gregorian Calendar. If year, month, or day are 0,
|
6281
|
+
# the DateTime is considered not to have a specific year, month, or day
|
6282
|
+
# respectively. This type may also be used to represent a physical time if all
|
6031
6283
|
# the date and time fields are set and either case of the `time_offset` oneof is
|
6032
6284
|
# set. Consider using `Timestamp` message for physical time instead. If your use
|
6033
6285
|
# case also would like to store the user's timezone, that can be done in another
|
@@ -6036,34 +6288,38 @@ module Google
|
|
6036
6288
|
class GoogleTypeDateTime
|
6037
6289
|
include Google::Apis::Core::Hashable
|
6038
6290
|
|
6039
|
-
#
|
6291
|
+
# Optional. Day of month. Must be from 1 to 31 and valid for the year and month,
|
6292
|
+
# or 0 if specifying a datetime without a day.
|
6040
6293
|
# Corresponds to the JSON property `day`
|
6041
6294
|
# @return [Fixnum]
|
6042
6295
|
attr_accessor :day
|
6043
6296
|
|
6044
|
-
#
|
6045
|
-
# choose to allow the value "24:00:00" for scenarios
|
6297
|
+
# Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults to
|
6298
|
+
# 0 (midnight). An API may choose to allow the value "24:00:00" for scenarios
|
6299
|
+
# like business closing time.
|
6046
6300
|
# Corresponds to the JSON property `hours`
|
6047
6301
|
# @return [Fixnum]
|
6048
6302
|
attr_accessor :hours
|
6049
6303
|
|
6050
|
-
#
|
6304
|
+
# Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0.
|
6051
6305
|
# Corresponds to the JSON property `minutes`
|
6052
6306
|
# @return [Fixnum]
|
6053
6307
|
attr_accessor :minutes
|
6054
6308
|
|
6055
|
-
#
|
6309
|
+
# Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime
|
6310
|
+
# without a month.
|
6056
6311
|
# Corresponds to the JSON property `month`
|
6057
6312
|
# @return [Fixnum]
|
6058
6313
|
attr_accessor :month
|
6059
6314
|
|
6060
|
-
#
|
6315
|
+
# Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999,
|
6316
|
+
# defaults to 0.
|
6061
6317
|
# Corresponds to the JSON property `nanos`
|
6062
6318
|
# @return [Fixnum]
|
6063
6319
|
attr_accessor :nanos
|
6064
6320
|
|
6065
|
-
#
|
6066
|
-
# API may allow the value 60 if it allows leap-seconds.
|
6321
|
+
# Optional. Seconds of minutes of the time. Must normally be from 0 to 59,
|
6322
|
+
# defaults to 0. An API may allow the value 60 if it allows leap-seconds.
|
6067
6323
|
# Corresponds to the JSON property `seconds`
|
6068
6324
|
# @return [Fixnum]
|
6069
6325
|
attr_accessor :seconds
|
@@ -6145,11 +6401,11 @@ module Google
|
|
6145
6401
|
# Box or similar. It is not intended to model geographical locations (roads,
|
6146
6402
|
# towns, mountains). In typical usage an address would be created via user input
|
6147
6403
|
# or from importing existing data, depending on the type of process. Advice on
|
6148
|
-
# address input / editing: - Use an
|
6149
|
-
# github.com/google/libaddressinput) - Users should not be
|
6150
|
-
# elements for input or editing of fields outside countries
|
6151
|
-
# used. For more guidance on how to use this schema, please
|
6152
|
-
# google.com/business/answer/6397478
|
6404
|
+
# address input / editing: - Use an internationalization-ready address widget
|
6405
|
+
# such as https://github.com/google/libaddressinput) - Users should not be
|
6406
|
+
# presented with UI elements for input or editing of fields outside countries
|
6407
|
+
# where that field is used. For more guidance on how to use this schema, please
|
6408
|
+
# see: https://support.google.com/business/answer/6397478
|
6153
6409
|
class GoogleTypePostalAddress
|
6154
6410
|
include Google::Apis::Core::Hashable
|
6155
6411
|
|
@@ -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.44.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.9.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220815"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -172,6 +172,12 @@ module Google
|
|
172
172
|
include Google::Apis::Core::JsonObjectSupport
|
173
173
|
end
|
174
174
|
|
175
|
+
class GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataImportConfigValidationResult
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
175
181
|
class GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus
|
176
182
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
183
|
|
@@ -190,6 +196,18 @@ module Google
|
|
190
196
|
include Google::Apis::Core::JsonObjectSupport
|
191
197
|
end
|
192
198
|
|
199
|
+
class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatus
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
205
|
+
class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyncStatus
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
+
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
209
|
+
end
|
210
|
+
|
193
211
|
class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument
|
194
212
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
213
|
|
@@ -394,6 +412,12 @@ module Google
|
|
394
412
|
include Google::Apis::Core::JsonObjectSupport
|
395
413
|
end
|
396
414
|
|
415
|
+
class GoogleCloudDocumentaiV1beta1Barcode
|
416
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
417
|
+
|
418
|
+
include Google::Apis::Core::JsonObjectSupport
|
419
|
+
end
|
420
|
+
|
397
421
|
class GoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse
|
398
422
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
399
423
|
|
@@ -454,6 +478,12 @@ module Google
|
|
454
478
|
include Google::Apis::Core::JsonObjectSupport
|
455
479
|
end
|
456
480
|
|
481
|
+
class GoogleCloudDocumentaiV1beta1DocumentPageDetectedBarcode
|
482
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
483
|
+
|
484
|
+
include Google::Apis::Core::JsonObjectSupport
|
485
|
+
end
|
486
|
+
|
457
487
|
class GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage
|
458
488
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
459
489
|
|
@@ -658,6 +688,12 @@ module Google
|
|
658
688
|
include Google::Apis::Core::JsonObjectSupport
|
659
689
|
end
|
660
690
|
|
691
|
+
class GoogleCloudDocumentaiV1beta2Barcode
|
692
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
693
|
+
|
694
|
+
include Google::Apis::Core::JsonObjectSupport
|
695
|
+
end
|
696
|
+
|
661
697
|
class GoogleCloudDocumentaiV1beta2BatchProcessDocumentsRequest
|
662
698
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
663
699
|
|
@@ -730,6 +766,12 @@ module Google
|
|
730
766
|
include Google::Apis::Core::JsonObjectSupport
|
731
767
|
end
|
732
768
|
|
769
|
+
class GoogleCloudDocumentaiV1beta2DocumentPageDetectedBarcode
|
770
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
771
|
+
|
772
|
+
include Google::Apis::Core::JsonObjectSupport
|
773
|
+
end
|
774
|
+
|
733
775
|
class GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage
|
734
776
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
735
777
|
|
@@ -1145,6 +1187,7 @@ module Google
|
|
1145
1187
|
|
1146
1188
|
collection :individual_batch_delete_statuses, as: 'individualBatchDeleteStatuses', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus::Representation
|
1147
1189
|
|
1190
|
+
property :total_document_count, as: 'totalDocumentCount'
|
1148
1191
|
end
|
1149
1192
|
end
|
1150
1193
|
|
@@ -1338,8 +1381,20 @@ module Google
|
|
1338
1381
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1339
1382
|
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
|
1340
1383
|
|
1384
|
+
collection :import_config_validation_results, as: 'importConfigValidationResults', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataImportConfigValidationResult, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataImportConfigValidationResult::Representation
|
1385
|
+
|
1341
1386
|
collection :individual_import_statuses, as: 'individualImportStatuses', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus::Representation
|
1342
1387
|
|
1388
|
+
property :total_document_count, as: 'totalDocumentCount'
|
1389
|
+
end
|
1390
|
+
end
|
1391
|
+
|
1392
|
+
class GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataImportConfigValidationResult
|
1393
|
+
# @private
|
1394
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1395
|
+
property :input_gcs_source, as: 'inputGcsSource'
|
1396
|
+
property :status, as: 'status', class: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus::Representation
|
1397
|
+
|
1343
1398
|
end
|
1344
1399
|
end
|
1345
1400
|
|
@@ -1364,11 +1419,35 @@ module Google
|
|
1364
1419
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1365
1420
|
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
|
1366
1421
|
|
1422
|
+
collection :dataset_resync_statuses, as: 'datasetResyncStatuses', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatus::Representation
|
1423
|
+
|
1424
|
+
collection :individual_document_resync_statuses, as: 'individualDocumentResyncStatuses', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyncStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyncStatus::Representation
|
1425
|
+
|
1367
1426
|
collection :newly_added_documents, as: 'newlyAddedDocuments', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument::Representation
|
1368
1427
|
|
1369
1428
|
end
|
1370
1429
|
end
|
1371
1430
|
|
1431
|
+
class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatus
|
1432
|
+
# @private
|
1433
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1434
|
+
property :dataset_inconsistency_type, as: 'datasetInconsistencyType'
|
1435
|
+
property :status, as: 'status', class: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus::Representation
|
1436
|
+
|
1437
|
+
end
|
1438
|
+
end
|
1439
|
+
|
1440
|
+
class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyncStatus
|
1441
|
+
# @private
|
1442
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1443
|
+
property :document_id, as: 'documentId', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3DocumentId, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3DocumentId::Representation
|
1444
|
+
|
1445
|
+
property :document_inconsistency_type, as: 'documentInconsistencyType'
|
1446
|
+
property :status, as: 'status', class: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus::Representation
|
1447
|
+
|
1448
|
+
end
|
1449
|
+
end
|
1450
|
+
|
1372
1451
|
class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument
|
1373
1452
|
# @private
|
1374
1453
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1650,6 +1729,15 @@ module Google
|
|
1650
1729
|
end
|
1651
1730
|
end
|
1652
1731
|
|
1732
|
+
class GoogleCloudDocumentaiV1beta1Barcode
|
1733
|
+
# @private
|
1734
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1735
|
+
property :format, as: 'format'
|
1736
|
+
property :raw_value, as: 'rawValue'
|
1737
|
+
property :value_format, as: 'valueFormat'
|
1738
|
+
end
|
1739
|
+
end
|
1740
|
+
|
1653
1741
|
class GoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse
|
1654
1742
|
# @private
|
1655
1743
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1701,7 +1789,6 @@ module Google
|
|
1701
1789
|
property :id, as: 'id'
|
1702
1790
|
property :mention_id, as: 'mentionId'
|
1703
1791
|
property :mention_text, as: 'mentionText'
|
1704
|
-
property :non_present, as: 'nonPresent'
|
1705
1792
|
property :normalized_value, as: 'normalizedValue', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue::Representation
|
1706
1793
|
|
1707
1794
|
property :page_anchor, as: 'pageAnchor', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageAnchor, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageAnchor::Representation
|
@@ -1749,6 +1836,8 @@ module Google
|
|
1749
1836
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1750
1837
|
collection :blocks, as: 'blocks', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageBlock, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageBlock::Representation
|
1751
1838
|
|
1839
|
+
collection :detected_barcodes, as: 'detectedBarcodes', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDetectedBarcode, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDetectedBarcode::Representation
|
1840
|
+
|
1752
1841
|
collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage::Representation
|
1753
1842
|
|
1754
1843
|
property :dimension, as: 'dimension', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDimension, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageDimension::Representation
|
@@ -1811,6 +1900,16 @@ module Google
|
|
1811
1900
|
end
|
1812
1901
|
end
|
1813
1902
|
|
1903
|
+
class GoogleCloudDocumentaiV1beta1DocumentPageDetectedBarcode
|
1904
|
+
# @private
|
1905
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1906
|
+
property :barcode, as: 'barcode', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1Barcode, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1Barcode::Representation
|
1907
|
+
|
1908
|
+
property :layout, as: 'layout', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageLayout::Representation
|
1909
|
+
|
1910
|
+
end
|
1911
|
+
end
|
1912
|
+
|
1814
1913
|
class GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage
|
1815
1914
|
# @private
|
1816
1915
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2158,6 +2257,15 @@ module Google
|
|
2158
2257
|
end
|
2159
2258
|
end
|
2160
2259
|
|
2260
|
+
class GoogleCloudDocumentaiV1beta2Barcode
|
2261
|
+
# @private
|
2262
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2263
|
+
property :format, as: 'format'
|
2264
|
+
property :raw_value, as: 'rawValue'
|
2265
|
+
property :value_format, as: 'valueFormat'
|
2266
|
+
end
|
2267
|
+
end
|
2268
|
+
|
2161
2269
|
class GoogleCloudDocumentaiV1beta2BatchProcessDocumentsRequest
|
2162
2270
|
# @private
|
2163
2271
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2219,7 +2327,6 @@ module Google
|
|
2219
2327
|
property :id, as: 'id'
|
2220
2328
|
property :mention_id, as: 'mentionId'
|
2221
2329
|
property :mention_text, as: 'mentionText'
|
2222
|
-
property :non_present, as: 'nonPresent'
|
2223
2330
|
property :normalized_value, as: 'normalizedValue', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue::Representation
|
2224
2331
|
|
2225
2332
|
property :page_anchor, as: 'pageAnchor', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageAnchor, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageAnchor::Representation
|
@@ -2276,6 +2383,8 @@ module Google
|
|
2276
2383
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2277
2384
|
collection :blocks, as: 'blocks', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageBlock, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageBlock::Representation
|
2278
2385
|
|
2386
|
+
collection :detected_barcodes, as: 'detectedBarcodes', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDetectedBarcode, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDetectedBarcode::Representation
|
2387
|
+
|
2279
2388
|
collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage::Representation
|
2280
2389
|
|
2281
2390
|
property :dimension, as: 'dimension', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDimension, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageDimension::Representation
|
@@ -2338,6 +2447,16 @@ module Google
|
|
2338
2447
|
end
|
2339
2448
|
end
|
2340
2449
|
|
2450
|
+
class GoogleCloudDocumentaiV1beta2DocumentPageDetectedBarcode
|
2451
|
+
# @private
|
2452
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2453
|
+
property :barcode, as: 'barcode', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2Barcode, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2Barcode::Representation
|
2454
|
+
|
2455
|
+
property :layout, as: 'layout', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageLayout::Representation
|
2456
|
+
|
2457
|
+
end
|
2458
|
+
end
|
2459
|
+
|
2341
2460
|
class GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage
|
2342
2461
|
# @private
|
2343
2462
|
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.44.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-
|
11
|
+
date: 2022-08-22 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.44.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: []
|