google-apis-documentai_v1beta3 0.50.0 → 0.53.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: 737e995cad5e4b0394749fa9e07b2d7ee29888ebd0be7920ffd223010fb3771a
4
- data.tar.gz: 12801566c2b29153a2b705fe90735308d8b6e975d2d7f20c6da67a60f5bc6e60
3
+ metadata.gz: 1f7802b1003dea013b566033fbd3f1568bba9e2185c890de3ce0c9906b144025
4
+ data.tar.gz: 07d0fca5042aef6b740132d9fdf6eb5245b609ab3799d312ff71151951e2211c
5
5
  SHA512:
6
- metadata.gz: 8a16d49bcc286caf856ef3807ccd90d1239a8358c59123a657ae7f13e122dc9371efded27e6fc253c0fe3b0adda6e4e297e17e536211e74119ee6ec87ea8a446
7
- data.tar.gz: c80e945de5ef1ae53123aa41bfcc631ce027fe596395c0d5b6b0c6a29d5c8666c669d50f256a5b19973abb02ca4df8f45da7b8bc848bd262a6ec8bc8ad4206c5
6
+ metadata.gz: 1598d3ff26305b5a68901f96b0ee6a4b16b44493a666ae42c49ccf8faeb10e569fdae7f45d79ae0afa579079f5c237bbccaac8c63bc2137ad163b3138a1422e2
7
+ data.tar.gz: f86dbe4df24746ebb4ed4c84832408e4f27526c06ba687bf29c37c0959108fdd2d7c1fec3ac848a28818a51d08b9287dc06df08f7cae14b538211271af161d75
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-documentai_v1beta3
2
2
 
3
+ ### v0.53.0 (2022-08-16)
4
+
5
+ * Regenerated from discovery document revision 20220815
6
+
7
+ ### v0.52.0 (2022-08-10)
8
+
9
+ * Regenerated from discovery document revision 20220808
10
+
11
+ ### v0.51.0 (2022-07-26)
12
+
13
+ * Regenerated from discovery document revision 20220720
14
+
3
15
  ### v0.50.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::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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
@@ -1650,15 +1780,6 @@ module Google
1650
1780
  # @return [String]
1651
1781
  attr_accessor :mention_text
1652
1782
 
1653
- # Optional. This attribute indicates that the processing didn't actually
1654
- # identify this entity, but a confidence score was assigned that represent the
1655
- # potential that this could be a false negative. A non-present entity should
1656
- # have an empty mention_text and text_anchor.
1657
- # Corresponds to the JSON property `nonPresent`
1658
- # @return [Boolean]
1659
- attr_accessor :non_present
1660
- alias_method :non_present?, :non_present
1661
-
1662
1783
  # Parsed and normalized entity value.
1663
1784
  # Corresponds to the JSON property `normalizedValue`
1664
1785
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue]
@@ -1709,7 +1830,6 @@ module Google
1709
1830
  @id = args[:id] if args.key?(:id)
1710
1831
  @mention_id = args[:mention_id] if args.key?(:mention_id)
1711
1832
  @mention_text = args[:mention_text] if args.key?(:mention_text)
1712
- @non_present = args[:non_present] if args.key?(:non_present)
1713
1833
  @normalized_value = args[:normalized_value] if args.key?(:normalized_value)
1714
1834
  @page_anchor = args[:page_anchor] if args.key?(:page_anchor)
1715
1835
  @properties = args[:properties] if args.key?(:properties)
@@ -1762,9 +1882,9 @@ module Google
1762
1882
  # from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
1763
1883
  # calendar day in a particular time zone. * When neither time_zone nor
1764
1884
  # utc_offset is set: a civil time on a calendar day in local time. The date is
1765
- # relative to the Proleptic Gregorian Calendar. If year is 0, the DateTime is
1766
- # considered not to have a specific year. month and day must have valid, non-
1767
- # zero values. This type may also be used to represent a physical time if all
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
1768
1888
  # the date and time fields are set and either case of the `time_offset` oneof is
1769
1889
  # set. Consider using `Timestamp` message for physical time instead. If your use
1770
1890
  # case also would like to store the user's timezone, that can be done in another
@@ -3489,15 +3609,6 @@ module Google
3489
3609
  # @return [String]
3490
3610
  attr_accessor :mention_text
3491
3611
 
3492
- # Optional. This attribute indicates that the processing didn't actually
3493
- # identify this entity, but a confidence score was assigned that represent the
3494
- # potential that this could be a false negative. A non-present entity should
3495
- # have an empty mention_text and text_anchor.
3496
- # Corresponds to the JSON property `nonPresent`
3497
- # @return [Boolean]
3498
- attr_accessor :non_present
3499
- alias_method :non_present?, :non_present
3500
-
3501
3612
  # Parsed and normalized entity value.
3502
3613
  # Corresponds to the JSON property `normalizedValue`
3503
3614
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue]
@@ -3548,7 +3659,6 @@ module Google
3548
3659
  @id = args[:id] if args.key?(:id)
3549
3660
  @mention_id = args[:mention_id] if args.key?(:mention_id)
3550
3661
  @mention_text = args[:mention_text] if args.key?(:mention_text)
3551
- @non_present = args[:non_present] if args.key?(:non_present)
3552
3662
  @normalized_value = args[:normalized_value] if args.key?(:normalized_value)
3553
3663
  @page_anchor = args[:page_anchor] if args.key?(:page_anchor)
3554
3664
  @properties = args[:properties] if args.key?(:properties)
@@ -3601,9 +3711,9 @@ module Google
3601
3711
  # from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
3602
3712
  # calendar day in a particular time zone. * When neither time_zone nor
3603
3713
  # utc_offset is set: a civil time on a calendar day in local time. The date is
3604
- # relative to the Proleptic Gregorian Calendar. If year is 0, the DateTime is
3605
- # considered not to have a specific year. month and day must have valid, non-
3606
- # zero values. This type may also be used to represent a physical time if all
3714
+ # relative to the Proleptic Gregorian Calendar. If year, month, or day are 0,
3715
+ # the DateTime is considered not to have a specific year, month, or day
3716
+ # respectively. This type may also be used to represent a physical time if all
3607
3717
  # the date and time fields are set and either case of the `time_offset` oneof is
3608
3718
  # set. Consider using `Timestamp` message for physical time instead. If your use
3609
3719
  # case also would like to store the user's timezone, that can be done in another
@@ -5750,15 +5860,6 @@ module Google
5750
5860
  # @return [String]
5751
5861
  attr_accessor :mention_text
5752
5862
 
5753
- # Optional. This attribute indicates that the processing didn't actually
5754
- # identify this entity, but a confidence score was assigned that represent the
5755
- # potential that this could be a false negative. A non-present entity should
5756
- # have an empty mention_text and text_anchor.
5757
- # Corresponds to the JSON property `nonPresent`
5758
- # @return [Boolean]
5759
- attr_accessor :non_present
5760
- alias_method :non_present?, :non_present
5761
-
5762
5863
  # Parsed and normalized entity value.
5763
5864
  # Corresponds to the JSON property `normalizedValue`
5764
5865
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentEntityNormalizedValue]
@@ -5809,7 +5910,6 @@ module Google
5809
5910
  @id = args[:id] if args.key?(:id)
5810
5911
  @mention_id = args[:mention_id] if args.key?(:mention_id)
5811
5912
  @mention_text = args[:mention_text] if args.key?(:mention_text)
5812
- @non_present = args[:non_present] if args.key?(:non_present)
5813
5913
  @normalized_value = args[:normalized_value] if args.key?(:normalized_value)
5814
5914
  @page_anchor = args[:page_anchor] if args.key?(:page_anchor)
5815
5915
  @properties = args[:properties] if args.key?(:properties)
@@ -5862,9 +5962,9 @@ module Google
5862
5962
  # from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
5863
5963
  # calendar day in a particular time zone. * When neither time_zone nor
5864
5964
  # utc_offset is set: a civil time on a calendar day in local time. The date is
5865
- # relative to the Proleptic Gregorian Calendar. If year is 0, the DateTime is
5866
- # considered not to have a specific year. month and day must have valid, non-
5867
- # zero values. This type may also be used to represent a physical time if all
5965
+ # relative to the Proleptic Gregorian Calendar. If year, month, or day are 0,
5966
+ # the DateTime is considered not to have a specific year, month, or day
5967
+ # respectively. This type may also be used to represent a physical time if all
5868
5968
  # the date and time fields are set and either case of the `time_offset` oneof is
5869
5969
  # set. Consider using `Timestamp` message for physical time instead. If your use
5870
5970
  # case also would like to store the user's timezone, that can be done in another
@@ -6964,8 +7064,8 @@ module Google
6964
7064
  # Name of the type. It must be unique within the schema file and cannot be a '
6965
7065
  # Common Type'. Besides that we use the following naming conventions: - *use
6966
7066
  # snake_casing* - name matching is case-insensitive - Maximum 64 characters. -
6967
- # Must start with a letter. - Allowed characters: ASCII letters [a-z0-9_-]. (For
6968
- # backward compatibility internal infrastructure and tooling can handle any
7067
+ # Must start with a letter. - Allowed characters: ASCII letters `[a-z0-9_-]`. (
7068
+ # For backward compatibility internal infrastructure and tooling can handle any
6969
7069
  # ascii character) - The '/' is sometimes used to denote a property of a type.
6970
7070
  # For example line_item/amount. This convention is deprecated, but will still be
6971
7071
  # honored for backward compatibility.
@@ -7068,6 +7168,14 @@ module Google
7068
7168
  attr_accessor :prefixed_naming_on_properties
7069
7169
  alias_method :prefixed_naming_on_properties?, :prefixed_naming_on_properties
7070
7170
 
7171
+ # If set, we will skip the naming format validation in the schema. So the string
7172
+ # values in `DocumentSchema.EntityType.name` and `DocumentSchema.EntityType.
7173
+ # Property.name` will not be checked.
7174
+ # Corresponds to the JSON property `skipNamingValidation`
7175
+ # @return [Boolean]
7176
+ attr_accessor :skip_naming_validation
7177
+ alias_method :skip_naming_validation?, :skip_naming_validation
7178
+
7071
7179
  def initialize(**args)
7072
7180
  update!(**args)
7073
7181
  end
@@ -7077,6 +7185,7 @@ module Google
7077
7185
  @document_allow_multiple_labels = args[:document_allow_multiple_labels] if args.key?(:document_allow_multiple_labels)
7078
7186
  @document_splitter = args[:document_splitter] if args.key?(:document_splitter)
7079
7187
  @prefixed_naming_on_properties = args[:prefixed_naming_on_properties] if args.key?(:prefixed_naming_on_properties)
7188
+ @skip_naming_validation = args[:skip_naming_validation] if args.key?(:skip_naming_validation)
7080
7189
  end
7081
7190
  end
7082
7191
 
@@ -8582,9 +8691,9 @@ module Google
8582
8691
  # from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
8583
8692
  # calendar day in a particular time zone. * When neither time_zone nor
8584
8693
  # utc_offset is set: a civil time on a calendar day in local time. The date is
8585
- # relative to the Proleptic Gregorian Calendar. If year is 0, the DateTime is
8586
- # considered not to have a specific year. month and day must have valid, non-
8587
- # zero values. This type may also be used to represent a physical time if all
8694
+ # relative to the Proleptic Gregorian Calendar. If year, month, or day are 0,
8695
+ # the DateTime is considered not to have a specific year, month, or day
8696
+ # respectively. This type may also be used to represent a physical time if all
8588
8697
  # the date and time fields are set and either case of the `time_offset` oneof is
8589
8698
  # set. Consider using `Timestamp` message for physical time instead. If your use
8590
8699
  # case also would like to store the user's timezone, that can be done in another
@@ -8593,34 +8702,38 @@ module Google
8593
8702
  class GoogleTypeDateTime
8594
8703
  include Google::Apis::Core::Hashable
8595
8704
 
8596
- # Required. Day of month. Must be from 1 to 31 and valid for the year and month.
8705
+ # Optional. Day of month. Must be from 1 to 31 and valid for the year and month,
8706
+ # or 0 if specifying a datetime without a day.
8597
8707
  # Corresponds to the JSON property `day`
8598
8708
  # @return [Fixnum]
8599
8709
  attr_accessor :day
8600
8710
 
8601
- # Required. Hours of day in 24 hour format. Should be from 0 to 23. An API may
8602
- # choose to allow the value "24:00:00" for scenarios like business closing time.
8711
+ # Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults to
8712
+ # 0 (midnight). An API may choose to allow the value "24:00:00" for scenarios
8713
+ # like business closing time.
8603
8714
  # Corresponds to the JSON property `hours`
8604
8715
  # @return [Fixnum]
8605
8716
  attr_accessor :hours
8606
8717
 
8607
- # Required. Minutes of hour of day. Must be from 0 to 59.
8718
+ # Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0.
8608
8719
  # Corresponds to the JSON property `minutes`
8609
8720
  # @return [Fixnum]
8610
8721
  attr_accessor :minutes
8611
8722
 
8612
- # Required. Month of year. Must be from 1 to 12.
8723
+ # Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime
8724
+ # without a month.
8613
8725
  # Corresponds to the JSON property `month`
8614
8726
  # @return [Fixnum]
8615
8727
  attr_accessor :month
8616
8728
 
8617
- # Required. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
8729
+ # Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999,
8730
+ # defaults to 0.
8618
8731
  # Corresponds to the JSON property `nanos`
8619
8732
  # @return [Fixnum]
8620
8733
  attr_accessor :nanos
8621
8734
 
8622
- # Required. Seconds of minutes of the time. Must normally be from 0 to 59. An
8623
- # API may allow the value 60 if it allows leap-seconds.
8735
+ # Optional. Seconds of minutes of the time. Must normally be from 0 to 59,
8736
+ # defaults to 0. An API may allow the value 60 if it allows leap-seconds.
8624
8737
  # Corresponds to the JSON property `seconds`
8625
8738
  # @return [Fixnum]
8626
8739
  attr_accessor :seconds
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DocumentaiV1beta3
18
18
  # Version of the google-apis-documentai_v1beta3 gem
19
- GEM_VERSION = "0.50.0"
19
+ GEM_VERSION = "0.53.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 = "20220711"
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
 
@@ -1553,6 +1571,7 @@ module Google
1553
1571
 
1554
1572
  collection :individual_batch_delete_statuses, as: 'individualBatchDeleteStatuses', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus::Representation
1555
1573
 
1574
+ property :total_document_count, as: 'totalDocumentCount'
1556
1575
  end
1557
1576
  end
1558
1577
 
@@ -1746,8 +1765,20 @@ module Google
1746
1765
  class Representation < Google::Apis::Core::JsonRepresentation
1747
1766
  property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1748
1767
 
1768
+ collection :import_config_validation_results, as: 'importConfigValidationResults', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataImportConfigValidationResult, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataImportConfigValidationResult::Representation
1769
+
1749
1770
  collection :individual_import_statuses, as: 'individualImportStatuses', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus::Representation
1750
1771
 
1772
+ property :total_document_count, as: 'totalDocumentCount'
1773
+ end
1774
+ end
1775
+
1776
+ class GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataImportConfigValidationResult
1777
+ # @private
1778
+ class Representation < Google::Apis::Core::JsonRepresentation
1779
+ property :input_gcs_source, as: 'inputGcsSource'
1780
+ property :status, as: 'status', class: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus::Representation
1781
+
1751
1782
  end
1752
1783
  end
1753
1784
 
@@ -1772,11 +1803,35 @@ module Google
1772
1803
  class Representation < Google::Apis::Core::JsonRepresentation
1773
1804
  property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1774
1805
 
1806
+ collection :dataset_resync_statuses, as: 'datasetResyncStatuses', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatus, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatus::Representation
1807
+
1808
+ collection :individual_document_resync_statuses, as: 'individualDocumentResyncStatuses', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyncStatus, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyncStatus::Representation
1809
+
1775
1810
  collection :newly_added_documents, as: 'newlyAddedDocuments', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument::Representation
1776
1811
 
1777
1812
  end
1778
1813
  end
1779
1814
 
1815
+ class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatus
1816
+ # @private
1817
+ class Representation < Google::Apis::Core::JsonRepresentation
1818
+ property :dataset_inconsistency_type, as: 'datasetInconsistencyType'
1819
+ property :status, as: 'status', class: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus::Representation
1820
+
1821
+ end
1822
+ end
1823
+
1824
+ class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyncStatus
1825
+ # @private
1826
+ class Representation < Google::Apis::Core::JsonRepresentation
1827
+ property :document_id, as: 'documentId', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3DocumentId, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3DocumentId::Representation
1828
+
1829
+ property :document_inconsistency_type, as: 'documentInconsistencyType'
1830
+ property :status, as: 'status', class: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus::Representation
1831
+
1832
+ end
1833
+ end
1834
+
1780
1835
  class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument
1781
1836
  # @private
1782
1837
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2118,7 +2173,6 @@ module Google
2118
2173
  property :id, as: 'id'
2119
2174
  property :mention_id, as: 'mentionId'
2120
2175
  property :mention_text, as: 'mentionText'
2121
- property :non_present, as: 'nonPresent'
2122
2176
  property :normalized_value, as: 'normalizedValue', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue::Representation
2123
2177
 
2124
2178
  property :page_anchor, as: 'pageAnchor', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageAnchor, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageAnchor::Representation
@@ -2642,7 +2696,6 @@ module Google
2642
2696
  property :id, as: 'id'
2643
2697
  property :mention_id, as: 'mentionId'
2644
2698
  property :mention_text, as: 'mentionText'
2645
- property :non_present, as: 'nonPresent'
2646
2699
  property :normalized_value, as: 'normalizedValue', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue::Representation
2647
2700
 
2648
2701
  property :page_anchor, as: 'pageAnchor', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageAnchor, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageAnchor::Representation
@@ -3304,7 +3357,6 @@ module Google
3304
3357
  property :id, as: 'id'
3305
3358
  property :mention_id, as: 'mentionId'
3306
3359
  property :mention_text, as: 'mentionText'
3307
- property :non_present, as: 'nonPresent'
3308
3360
  property :normalized_value, as: 'normalizedValue', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentEntityNormalizedValue, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentEntityNormalizedValue::Representation
3309
3361
 
3310
3362
  property :page_anchor, as: 'pageAnchor', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageAnchor, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageAnchor::Representation
@@ -3698,6 +3750,7 @@ module Google
3698
3750
  property :document_allow_multiple_labels, as: 'documentAllowMultipleLabels'
3699
3751
  property :document_splitter, as: 'documentSplitter'
3700
3752
  property :prefixed_naming_on_properties, as: 'prefixedNamingOnProperties'
3753
+ property :skip_naming_validation, as: 'skipNamingValidation'
3701
3754
  end
3702
3755
  end
3703
3756
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-documentai_v1beta3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.50.0
4
+ version: 0.53.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-07-18 00:00:00.000000000 Z
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_v1beta3/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.50.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.53.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1beta3
63
63
  post_install_message:
64
64
  rdoc_options: []