google-apis-documentai_v1 0.42.0 → 0.45.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: c7258fbe9a863d41ea9b5c3b41bf55e3db1d19a889b0448070cfa0a75bb4f1a4
|
4
|
+
data.tar.gz: f1b6db776db2629f8453bb745fe3a922e288efe1717b66a5c7e8e0248816c00d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a2d85a45e95956e368b9cf426aef5b74354447323acf38d9f6bf816e6de732b137c0577e3ee31fa446c057a23d1560ed68d1e8df6dbcf3e5036494ce329996a6
|
7
|
+
data.tar.gz: 550cee6c5e44293b7b22914607da2f3ed86eb095ca136993ba71dbc3f5a879926c74d9bca86adbffcaaa716a9137913a7ae9347189966d39ebb11f9d9a57d89d
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-documentai_v1
|
2
2
|
|
3
|
+
### v0.45.0 (2022-08-16)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220815
|
6
|
+
|
7
|
+
### v0.44.0 (2022-08-10)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220808
|
10
|
+
|
11
|
+
### v0.43.0 (2022-07-26)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220720
|
14
|
+
|
3
15
|
### v0.42.0 (2022-07-12)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220711
|
@@ -36,6 +36,11 @@ module Google
|
|
36
36
|
# @return [Array<Google::Apis::DocumentaiV1::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::DocumentaiV1::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::DocumentaiV1::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::DocumentaiV1::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::DocumentaiV1::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::DocumentaiV1::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::DocumentaiV1::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::DocumentaiV1::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::DocumentaiV1::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::DocumentaiV1::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::DocumentaiV1::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
|
@@ -1465,15 +1595,6 @@ module Google
|
|
1465
1595
|
# @return [String]
|
1466
1596
|
attr_accessor :mention_text
|
1467
1597
|
|
1468
|
-
# Optional. This attribute indicates that the processing didn't actually
|
1469
|
-
# identify this entity, but a confidence score was assigned that represent the
|
1470
|
-
# potential that this could be a false negative. A non-present entity should
|
1471
|
-
# have an empty mention_text and text_anchor.
|
1472
|
-
# Corresponds to the JSON property `nonPresent`
|
1473
|
-
# @return [Boolean]
|
1474
|
-
attr_accessor :non_present
|
1475
|
-
alias_method :non_present?, :non_present
|
1476
|
-
|
1477
1598
|
# Parsed and normalized entity value.
|
1478
1599
|
# Corresponds to the JSON property `normalizedValue`
|
1479
1600
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentEntityNormalizedValue]
|
@@ -1524,7 +1645,6 @@ module Google
|
|
1524
1645
|
@id = args[:id] if args.key?(:id)
|
1525
1646
|
@mention_id = args[:mention_id] if args.key?(:mention_id)
|
1526
1647
|
@mention_text = args[:mention_text] if args.key?(:mention_text)
|
1527
|
-
@non_present = args[:non_present] if args.key?(:non_present)
|
1528
1648
|
@normalized_value = args[:normalized_value] if args.key?(:normalized_value)
|
1529
1649
|
@page_anchor = args[:page_anchor] if args.key?(:page_anchor)
|
1530
1650
|
@properties = args[:properties] if args.key?(:properties)
|
@@ -1577,9 +1697,9 @@ module Google
|
|
1577
1697
|
# from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
|
1578
1698
|
# calendar day in a particular time zone. * When neither time_zone nor
|
1579
1699
|
# utc_offset is set: a civil time on a calendar day in local time. The date is
|
1580
|
-
# relative to the Proleptic Gregorian Calendar. If year
|
1581
|
-
# considered not to have a specific year
|
1582
|
-
#
|
1700
|
+
# relative to the Proleptic Gregorian Calendar. If year, month, or day are 0,
|
1701
|
+
# the DateTime is considered not to have a specific year, month, or day
|
1702
|
+
# respectively. This type may also be used to represent a physical time if all
|
1583
1703
|
# the date and time fields are set and either case of the `time_offset` oneof is
|
1584
1704
|
# set. Consider using `Timestamp` message for physical time instead. If your use
|
1585
1705
|
# case also would like to store the user's timezone, that can be done in another
|
@@ -2679,8 +2799,8 @@ module Google
|
|
2679
2799
|
# Name of the type. It must be unique within the schema file and cannot be a '
|
2680
2800
|
# Common Type'. Besides that we use the following naming conventions: - *use
|
2681
2801
|
# snake_casing* - name matching is case-insensitive - Maximum 64 characters. -
|
2682
|
-
# Must start with a letter. - Allowed characters: ASCII letters [a-z0-9_-]
|
2683
|
-
# backward compatibility internal infrastructure and tooling can handle any
|
2802
|
+
# Must start with a letter. - Allowed characters: ASCII letters `[a-z0-9_-]`. (
|
2803
|
+
# For backward compatibility internal infrastructure and tooling can handle any
|
2684
2804
|
# ascii character) - The '/' is sometimes used to denote a property of a type.
|
2685
2805
|
# For example line_item/amount. This convention is deprecated, but will still be
|
2686
2806
|
# honored for backward compatibility.
|
@@ -2783,6 +2903,14 @@ module Google
|
|
2783
2903
|
attr_accessor :prefixed_naming_on_properties
|
2784
2904
|
alias_method :prefixed_naming_on_properties?, :prefixed_naming_on_properties
|
2785
2905
|
|
2906
|
+
# If set, we will skip the naming format validation in the schema. So the string
|
2907
|
+
# values in `DocumentSchema.EntityType.name` and `DocumentSchema.EntityType.
|
2908
|
+
# Property.name` will not be checked.
|
2909
|
+
# Corresponds to the JSON property `skipNamingValidation`
|
2910
|
+
# @return [Boolean]
|
2911
|
+
attr_accessor :skip_naming_validation
|
2912
|
+
alias_method :skip_naming_validation?, :skip_naming_validation
|
2913
|
+
|
2786
2914
|
def initialize(**args)
|
2787
2915
|
update!(**args)
|
2788
2916
|
end
|
@@ -2792,6 +2920,7 @@ module Google
|
|
2792
2920
|
@document_allow_multiple_labels = args[:document_allow_multiple_labels] if args.key?(:document_allow_multiple_labels)
|
2793
2921
|
@document_splitter = args[:document_splitter] if args.key?(:document_splitter)
|
2794
2922
|
@prefixed_naming_on_properties = args[:prefixed_naming_on_properties] if args.key?(:prefixed_naming_on_properties)
|
2923
|
+
@skip_naming_validation = args[:skip_naming_validation] if args.key?(:skip_naming_validation)
|
2795
2924
|
end
|
2796
2925
|
end
|
2797
2926
|
|
@@ -4176,15 +4305,6 @@ module Google
|
|
4176
4305
|
# @return [String]
|
4177
4306
|
attr_accessor :mention_text
|
4178
4307
|
|
4179
|
-
# Optional. This attribute indicates that the processing didn't actually
|
4180
|
-
# identify this entity, but a confidence score was assigned that represent the
|
4181
|
-
# potential that this could be a false negative. A non-present entity should
|
4182
|
-
# have an empty mention_text and text_anchor.
|
4183
|
-
# Corresponds to the JSON property `nonPresent`
|
4184
|
-
# @return [Boolean]
|
4185
|
-
attr_accessor :non_present
|
4186
|
-
alias_method :non_present?, :non_present
|
4187
|
-
|
4188
4308
|
# Parsed and normalized entity value.
|
4189
4309
|
# Corresponds to the JSON property `normalizedValue`
|
4190
4310
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue]
|
@@ -4235,7 +4355,6 @@ module Google
|
|
4235
4355
|
@id = args[:id] if args.key?(:id)
|
4236
4356
|
@mention_id = args[:mention_id] if args.key?(:mention_id)
|
4237
4357
|
@mention_text = args[:mention_text] if args.key?(:mention_text)
|
4238
|
-
@non_present = args[:non_present] if args.key?(:non_present)
|
4239
4358
|
@normalized_value = args[:normalized_value] if args.key?(:normalized_value)
|
4240
4359
|
@page_anchor = args[:page_anchor] if args.key?(:page_anchor)
|
4241
4360
|
@properties = args[:properties] if args.key?(:properties)
|
@@ -4288,9 +4407,9 @@ module Google
|
|
4288
4407
|
# from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
|
4289
4408
|
# calendar day in a particular time zone. * When neither time_zone nor
|
4290
4409
|
# utc_offset is set: a civil time on a calendar day in local time. The date is
|
4291
|
-
# relative to the Proleptic Gregorian Calendar. If year
|
4292
|
-
# considered not to have a specific year
|
4293
|
-
#
|
4410
|
+
# relative to the Proleptic Gregorian Calendar. If year, month, or day are 0,
|
4411
|
+
# the DateTime is considered not to have a specific year, month, or day
|
4412
|
+
# respectively. This type may also be used to represent a physical time if all
|
4294
4413
|
# the date and time fields are set and either case of the `time_offset` oneof is
|
4295
4414
|
# set. Consider using `Timestamp` message for physical time instead. If your use
|
4296
4415
|
# case also would like to store the user's timezone, that can be done in another
|
@@ -6015,15 +6134,6 @@ module Google
|
|
6015
6134
|
# @return [String]
|
6016
6135
|
attr_accessor :mention_text
|
6017
6136
|
|
6018
|
-
# Optional. This attribute indicates that the processing didn't actually
|
6019
|
-
# identify this entity, but a confidence score was assigned that represent the
|
6020
|
-
# potential that this could be a false negative. A non-present entity should
|
6021
|
-
# have an empty mention_text and text_anchor.
|
6022
|
-
# Corresponds to the JSON property `nonPresent`
|
6023
|
-
# @return [Boolean]
|
6024
|
-
attr_accessor :non_present
|
6025
|
-
alias_method :non_present?, :non_present
|
6026
|
-
|
6027
6137
|
# Parsed and normalized entity value.
|
6028
6138
|
# Corresponds to the JSON property `normalizedValue`
|
6029
6139
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue]
|
@@ -6074,7 +6184,6 @@ module Google
|
|
6074
6184
|
@id = args[:id] if args.key?(:id)
|
6075
6185
|
@mention_id = args[:mention_id] if args.key?(:mention_id)
|
6076
6186
|
@mention_text = args[:mention_text] if args.key?(:mention_text)
|
6077
|
-
@non_present = args[:non_present] if args.key?(:non_present)
|
6078
6187
|
@normalized_value = args[:normalized_value] if args.key?(:normalized_value)
|
6079
6188
|
@page_anchor = args[:page_anchor] if args.key?(:page_anchor)
|
6080
6189
|
@properties = args[:properties] if args.key?(:properties)
|
@@ -6127,9 +6236,9 @@ module Google
|
|
6127
6236
|
# from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
|
6128
6237
|
# calendar day in a particular time zone. * When neither time_zone nor
|
6129
6238
|
# utc_offset is set: a civil time on a calendar day in local time. The date is
|
6130
|
-
# relative to the Proleptic Gregorian Calendar. If year
|
6131
|
-
# considered not to have a specific year
|
6132
|
-
#
|
6239
|
+
# relative to the Proleptic Gregorian Calendar. If year, month, or day are 0,
|
6240
|
+
# the DateTime is considered not to have a specific year, month, or day
|
6241
|
+
# respectively. This type may also be used to represent a physical time if all
|
6133
6242
|
# the date and time fields are set and either case of the `time_offset` oneof is
|
6134
6243
|
# set. Consider using `Timestamp` message for physical time instead. If your use
|
6135
6244
|
# case also would like to store the user's timezone, that can be done in another
|
@@ -8497,9 +8606,9 @@ module Google
|
|
8497
8606
|
# from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
|
8498
8607
|
# calendar day in a particular time zone. * When neither time_zone nor
|
8499
8608
|
# utc_offset is set: a civil time on a calendar day in local time. The date is
|
8500
|
-
# relative to the Proleptic Gregorian Calendar. If year
|
8501
|
-
# considered not to have a specific year
|
8502
|
-
#
|
8609
|
+
# relative to the Proleptic Gregorian Calendar. If year, month, or day are 0,
|
8610
|
+
# the DateTime is considered not to have a specific year, month, or day
|
8611
|
+
# respectively. This type may also be used to represent a physical time if all
|
8503
8612
|
# the date and time fields are set and either case of the `time_offset` oneof is
|
8504
8613
|
# set. Consider using `Timestamp` message for physical time instead. If your use
|
8505
8614
|
# case also would like to store the user's timezone, that can be done in another
|
@@ -8508,34 +8617,38 @@ module Google
|
|
8508
8617
|
class GoogleTypeDateTime
|
8509
8618
|
include Google::Apis::Core::Hashable
|
8510
8619
|
|
8511
|
-
#
|
8620
|
+
# Optional. Day of month. Must be from 1 to 31 and valid for the year and month,
|
8621
|
+
# or 0 if specifying a datetime without a day.
|
8512
8622
|
# Corresponds to the JSON property `day`
|
8513
8623
|
# @return [Fixnum]
|
8514
8624
|
attr_accessor :day
|
8515
8625
|
|
8516
|
-
#
|
8517
|
-
# choose to allow the value "24:00:00" for scenarios
|
8626
|
+
# Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults to
|
8627
|
+
# 0 (midnight). An API may choose to allow the value "24:00:00" for scenarios
|
8628
|
+
# like business closing time.
|
8518
8629
|
# Corresponds to the JSON property `hours`
|
8519
8630
|
# @return [Fixnum]
|
8520
8631
|
attr_accessor :hours
|
8521
8632
|
|
8522
|
-
#
|
8633
|
+
# Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0.
|
8523
8634
|
# Corresponds to the JSON property `minutes`
|
8524
8635
|
# @return [Fixnum]
|
8525
8636
|
attr_accessor :minutes
|
8526
8637
|
|
8527
|
-
#
|
8638
|
+
# Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime
|
8639
|
+
# without a month.
|
8528
8640
|
# Corresponds to the JSON property `month`
|
8529
8641
|
# @return [Fixnum]
|
8530
8642
|
attr_accessor :month
|
8531
8643
|
|
8532
|
-
#
|
8644
|
+
# Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999,
|
8645
|
+
# defaults to 0.
|
8533
8646
|
# Corresponds to the JSON property `nanos`
|
8534
8647
|
# @return [Fixnum]
|
8535
8648
|
attr_accessor :nanos
|
8536
8649
|
|
8537
|
-
#
|
8538
|
-
# API may allow the value 60 if it allows leap-seconds.
|
8650
|
+
# Optional. Seconds of minutes of the time. Must normally be from 0 to 59,
|
8651
|
+
# defaults to 0. An API may allow the value 60 if it allows leap-seconds.
|
8539
8652
|
# Corresponds to the JSON property `seconds`
|
8540
8653
|
# @return [Fixnum]
|
8541
8654
|
attr_accessor :seconds
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DocumentaiV1
|
18
18
|
# Version of the google-apis-documentai_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.45.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
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
|
|
@@ -1541,6 +1559,7 @@ module Google
|
|
1541
1559
|
|
1542
1560
|
collection :individual_batch_delete_statuses, as: 'individualBatchDeleteStatuses', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus::Representation
|
1543
1561
|
|
1562
|
+
property :total_document_count, as: 'totalDocumentCount'
|
1544
1563
|
end
|
1545
1564
|
end
|
1546
1565
|
|
@@ -1734,8 +1753,20 @@ module Google
|
|
1734
1753
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1735
1754
|
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
|
1736
1755
|
|
1756
|
+
collection :import_config_validation_results, as: 'importConfigValidationResults', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataImportConfigValidationResult, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataImportConfigValidationResult::Representation
|
1757
|
+
|
1737
1758
|
collection :individual_import_statuses, as: 'individualImportStatuses', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus::Representation
|
1738
1759
|
|
1760
|
+
property :total_document_count, as: 'totalDocumentCount'
|
1761
|
+
end
|
1762
|
+
end
|
1763
|
+
|
1764
|
+
class GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataImportConfigValidationResult
|
1765
|
+
# @private
|
1766
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1767
|
+
property :input_gcs_source, as: 'inputGcsSource'
|
1768
|
+
property :status, as: 'status', class: Google::Apis::DocumentaiV1::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1::GoogleRpcStatus::Representation
|
1769
|
+
|
1739
1770
|
end
|
1740
1771
|
end
|
1741
1772
|
|
@@ -1760,11 +1791,35 @@ module Google
|
|
1760
1791
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1761
1792
|
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
|
1762
1793
|
|
1794
|
+
collection :dataset_resync_statuses, as: 'datasetResyncStatuses', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatus, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatus::Representation
|
1795
|
+
|
1796
|
+
collection :individual_document_resync_statuses, as: 'individualDocumentResyncStatuses', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyncStatus, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyncStatus::Representation
|
1797
|
+
|
1763
1798
|
collection :newly_added_documents, as: 'newlyAddedDocuments', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument::Representation
|
1764
1799
|
|
1765
1800
|
end
|
1766
1801
|
end
|
1767
1802
|
|
1803
|
+
class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatus
|
1804
|
+
# @private
|
1805
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1806
|
+
property :dataset_inconsistency_type, as: 'datasetInconsistencyType'
|
1807
|
+
property :status, as: 'status', class: Google::Apis::DocumentaiV1::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1::GoogleRpcStatus::Representation
|
1808
|
+
|
1809
|
+
end
|
1810
|
+
end
|
1811
|
+
|
1812
|
+
class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyncStatus
|
1813
|
+
# @private
|
1814
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1815
|
+
property :document_id, as: 'documentId', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3DocumentId, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3DocumentId::Representation
|
1816
|
+
|
1817
|
+
property :document_inconsistency_type, as: 'documentInconsistencyType'
|
1818
|
+
property :status, as: 'status', class: Google::Apis::DocumentaiV1::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1::GoogleRpcStatus::Representation
|
1819
|
+
|
1820
|
+
end
|
1821
|
+
end
|
1822
|
+
|
1768
1823
|
class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument
|
1769
1824
|
# @private
|
1770
1825
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2043,7 +2098,6 @@ module Google
|
|
2043
2098
|
property :id, as: 'id'
|
2044
2099
|
property :mention_id, as: 'mentionId'
|
2045
2100
|
property :mention_text, as: 'mentionText'
|
2046
|
-
property :non_present, as: 'nonPresent'
|
2047
2101
|
property :normalized_value, as: 'normalizedValue', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentEntityNormalizedValue, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentEntityNormalizedValue::Representation
|
2048
2102
|
|
2049
2103
|
property :page_anchor, as: 'pageAnchor', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageAnchor, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageAnchor::Representation
|
@@ -2437,6 +2491,7 @@ module Google
|
|
2437
2491
|
property :document_allow_multiple_labels, as: 'documentAllowMultipleLabels'
|
2438
2492
|
property :document_splitter, as: 'documentSplitter'
|
2439
2493
|
property :prefixed_naming_on_properties, as: 'prefixedNamingOnProperties'
|
2494
|
+
property :skip_naming_validation, as: 'skipNamingValidation'
|
2440
2495
|
end
|
2441
2496
|
end
|
2442
2497
|
|
@@ -2842,7 +2897,6 @@ module Google
|
|
2842
2897
|
property :id, as: 'id'
|
2843
2898
|
property :mention_id, as: 'mentionId'
|
2844
2899
|
property :mention_text, as: 'mentionText'
|
2845
|
-
property :non_present, as: 'nonPresent'
|
2846
2900
|
property :normalized_value, as: 'normalizedValue', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue::Representation
|
2847
2901
|
|
2848
2902
|
property :page_anchor, as: 'pageAnchor', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageAnchor, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageAnchor::Representation
|
@@ -3366,7 +3420,6 @@ module Google
|
|
3366
3420
|
property :id, as: 'id'
|
3367
3421
|
property :mention_id, as: 'mentionId'
|
3368
3422
|
property :mention_text, as: 'mentionText'
|
3369
|
-
property :non_present, as: 'nonPresent'
|
3370
3423
|
property :normalized_value, as: 'normalizedValue', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue::Representation
|
3371
3424
|
|
3372
3425
|
property :page_anchor, as: 'pageAnchor', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageAnchor, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageAnchor::Representation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-documentai_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.45.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_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.45.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|