google-apis-documentai_v1beta2 0.42.0 → 0.45.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: 9e3ffdbceb5b0f31ad4b46834e93238e88a8ef82e3f4ded681cf62198f3a953d
4
- data.tar.gz: 2dd5056be8e318247b443183476d1ee7ff16fd8a80dfc5f24decaa86dc278f10
3
+ metadata.gz: c0029631b4458e8fcbfa53968fa433a5a9494bce5d4f60acc19870d74300cc4b
4
+ data.tar.gz: 7be4805385e835d18345812c9e29a8b0d4666880873220bc563c9bb668329316
5
5
  SHA512:
6
- metadata.gz: bec01f6470e586b460379f360d1601d365ea485e96a0923f588146b1ec15cea2cbe98304d1aeb9cd20ecfe34f69bbf30648a033957a6fa3aa11b11654a626c0a
7
- data.tar.gz: d78bee712327a252b1e5573a403efb0a6229c25839d0cdad5ade0580a7648f2e6a692cdbc3938508616de016d8dda430b6dc6489358f304ab962b4235154c5a1
6
+ metadata.gz: ba338fd9d10e35fcccb090cdf94e98360552d653fcca3bbf4483db56e3b9ae73d66956bc12a0feb245e718864fe5e4d67b12003a4d55895edbc516186b531d69
7
+ data.tar.gz: 9cf97a744d19d75d17f73ffaa31ad7f846d52092ff875f7018118eb066a0a5d4cd78cb1fbf445d88a19a43e693b3ffc27a8baa56fb76ef2c8f6010fdae0112be
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-documentai_v1beta2
2
2
 
3
+ ### v0.45.0 (2022-08-24)
4
+
5
+ * Regenerated from discovery document revision 20220821
6
+
7
+ ### v0.44.0 (2022-08-16)
8
+
9
+ * Regenerated from discovery document revision 20220815
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
@@ -31,11 +31,21 @@ module Google
31
31
  # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
32
32
  attr_accessor :common_metadata
33
33
 
34
+ # Total number of documents that failed to be deleted in storage.
35
+ # Corresponds to the JSON property `errorDocumentCount`
36
+ # @return [Fixnum]
37
+ attr_accessor :error_document_count
38
+
34
39
  # The list of response details of each document.
35
40
  # Corresponds to the JSON property `individualBatchDeleteStatuses`
36
41
  # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus>]
37
42
  attr_accessor :individual_batch_delete_statuses
38
43
 
44
+ # Total number of documents deleting from dataset.
45
+ # Corresponds to the JSON property `totalDocumentCount`
46
+ # @return [Fixnum]
47
+ attr_accessor :total_document_count
48
+
39
49
  def initialize(**args)
40
50
  update!(**args)
41
51
  end
@@ -43,7 +53,9 @@ module Google
43
53
  # Update properties of this object
44
54
  def update!(**args)
45
55
  @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
56
+ @error_document_count = args[:error_document_count] if args.key?(:error_document_count)
46
57
  @individual_batch_delete_statuses = args[:individual_batch_delete_statuses] if args.key?(:individual_batch_delete_statuses)
58
+ @total_document_count = args[:total_document_count] if args.key?(:total_document_count)
47
59
  end
48
60
  end
49
61
 
@@ -543,11 +555,21 @@ module Google
543
555
  # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
544
556
  attr_accessor :common_metadata
545
557
 
558
+ # Validation statuses of the batch documents import config.
559
+ # Corresponds to the JSON property `importConfigValidationResults`
560
+ # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataImportConfigValidationResult>]
561
+ attr_accessor :import_config_validation_results
562
+
546
563
  # The list of response details of each document.
547
564
  # Corresponds to the JSON property `individualImportStatuses`
548
565
  # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus>]
549
566
  attr_accessor :individual_import_statuses
550
567
 
568
+ # Total number of the documents that are qualified for importing.
569
+ # Corresponds to the JSON property `totalDocumentCount`
570
+ # @return [Fixnum]
571
+ attr_accessor :total_document_count
572
+
551
573
  def initialize(**args)
552
574
  update!(**args)
553
575
  end
@@ -555,7 +577,41 @@ module Google
555
577
  # Update properties of this object
556
578
  def update!(**args)
557
579
  @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
580
+ @import_config_validation_results = args[:import_config_validation_results] if args.key?(:import_config_validation_results)
558
581
  @individual_import_statuses = args[:individual_import_statuses] if args.key?(:individual_import_statuses)
582
+ @total_document_count = args[:total_document_count] if args.key?(:total_document_count)
583
+ end
584
+ end
585
+
586
+ # The validation status of each import config. Status is set to errors if there
587
+ # is no documents to import in the import_config, or OK if the operation will
588
+ # try to proceed at least one document.
589
+ class GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataImportConfigValidationResult
590
+ include Google::Apis::Core::Hashable
591
+
592
+ # The source Cloud Storage URI specified in the import config.
593
+ # Corresponds to the JSON property `inputGcsSource`
594
+ # @return [String]
595
+ attr_accessor :input_gcs_source
596
+
597
+ # The `Status` type defines a logical error model that is suitable for different
598
+ # programming environments, including REST APIs and RPC APIs. It is used by [
599
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
600
+ # data: error code, error message, and error details. You can find out more
601
+ # about this error model and how to work with it in the [API Design Guide](https:
602
+ # //cloud.google.com/apis/design/errors).
603
+ # Corresponds to the JSON property `status`
604
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleRpcStatus]
605
+ attr_accessor :status
606
+
607
+ def initialize(**args)
608
+ update!(**args)
609
+ end
610
+
611
+ # Update properties of this object
612
+ def update!(**args)
613
+ @input_gcs_source = args[:input_gcs_source] if args.key?(:input_gcs_source)
614
+ @status = args[:status] if args.key?(:status)
559
615
  end
560
616
  end
561
617
 
@@ -618,11 +674,17 @@ module Google
618
674
  # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
619
675
  attr_accessor :common_metadata
620
676
 
621
- # Returns the newly added document Cloud Storage prefix if the documents are
622
- # founded in Cloud Storage while not in Document Service storage.
623
- # Corresponds to the JSON property `newlyAddedDocuments`
624
- # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument>]
625
- attr_accessor :newly_added_documents
677
+ # The list of dataset resync statuses. Not checked when `dataset_documents` is
678
+ # specified in ResyncRequest.
679
+ # Corresponds to the JSON property `datasetResyncStatuses`
680
+ # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatus>]
681
+ attr_accessor :dataset_resync_statuses
682
+
683
+ # The list of document resync statuses. The same document could have multiple `
684
+ # individual_document_resync_statuses` if it has multiple inconsistencies.
685
+ # Corresponds to the JSON property `individualDocumentResyncStatuses`
686
+ # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyncStatus>]
687
+ attr_accessor :individual_document_resync_statuses
626
688
 
627
689
  def initialize(**args)
628
690
  update!(**args)
@@ -631,25 +693,54 @@ 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)
634
- @newly_added_documents = args[:newly_added_documents] if args.key?(:newly_added_documents)
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)
635
698
  end
636
699
  end
637
700
 
638
- # The proto for updated document in resync pipeline.
639
- class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument
701
+ # Resync status against inconsistency types on the dataset level.
702
+ class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatus
640
703
  include Google::Apis::Core::Hashable
641
704
 
642
- # The prefix of cloud storage, identifies the destination document which should
643
- # be updated by resync pipeline.
644
- # Corresponds to the JSON property `destinationPrefix`
705
+ # The type of the inconsistency of the dataset.
706
+ # Corresponds to the JSON property `datasetInconsistencyType`
645
707
  # @return [String]
646
- attr_accessor :destination_prefix
708
+ attr_accessor :dataset_inconsistency_type
647
709
 
648
- # The prefix of cloud storage, identifies the original document which should be
649
- # updated by resync pipeline.
650
- # Corresponds to the JSON property `sourcePrefix`
710
+ # The `Status` type defines a logical error model that is suitable for different
711
+ # programming environments, including REST APIs and RPC APIs. It is used by [
712
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
713
+ # data: error code, error message, and error details. You can find out more
714
+ # about this error model and how to work with it in the [API Design Guide](https:
715
+ # //cloud.google.com/apis/design/errors).
716
+ # Corresponds to the JSON property `status`
717
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleRpcStatus]
718
+ attr_accessor :status
719
+
720
+ def initialize(**args)
721
+ update!(**args)
722
+ end
723
+
724
+ # Update properties of this object
725
+ def update!(**args)
726
+ @dataset_inconsistency_type = args[:dataset_inconsistency_type] if args.key?(:dataset_inconsistency_type)
727
+ @status = args[:status] if args.key?(:status)
728
+ end
729
+ end
730
+
731
+ # Resync status for each document per inconsistency type.
732
+ class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyncStatus
733
+ include Google::Apis::Core::Hashable
734
+
735
+ # Document Identifier.
736
+ # Corresponds to the JSON property `documentId`
737
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3DocumentId]
738
+ attr_accessor :document_id
739
+
740
+ # The type of document inconsistency.
741
+ # Corresponds to the JSON property `documentInconsistencyType`
651
742
  # @return [String]
652
- attr_accessor :source_prefix
743
+ attr_accessor :document_inconsistency_type
653
744
 
654
745
  # The `Status` type defines a logical error model that is suitable for different
655
746
  # programming environments, including REST APIs and RPC APIs. It is used by [
@@ -667,8 +758,8 @@ module Google
667
758
 
668
759
  # Update properties of this object
669
760
  def update!(**args)
670
- @destination_prefix = args[:destination_prefix] if args.key?(:destination_prefix)
671
- @source_prefix = args[:source_prefix] if args.key?(:source_prefix)
761
+ @document_id = args[:document_id] if args.key?(:document_id)
762
+ @document_inconsistency_type = args[:document_inconsistency_type] if args.key?(:document_inconsistency_type)
672
763
  @status = args[:status] if args.key?(:status)
673
764
  end
674
765
  end
@@ -1650,15 +1741,6 @@ module Google
1650
1741
  # @return [String]
1651
1742
  attr_accessor :mention_text
1652
1743
 
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
1744
  # Parsed and normalized entity value.
1663
1745
  # Corresponds to the JSON property `normalizedValue`
1664
1746
  # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue]
@@ -1709,7 +1791,6 @@ module Google
1709
1791
  @id = args[:id] if args.key?(:id)
1710
1792
  @mention_id = args[:mention_id] if args.key?(:mention_id)
1711
1793
  @mention_text = args[:mention_text] if args.key?(:mention_text)
1712
- @non_present = args[:non_present] if args.key?(:non_present)
1713
1794
  @normalized_value = args[:normalized_value] if args.key?(:normalized_value)
1714
1795
  @page_anchor = args[:page_anchor] if args.key?(:page_anchor)
1715
1796
  @properties = args[:properties] if args.key?(:properties)
@@ -1762,9 +1843,9 @@ module Google
1762
1843
  # from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
1763
1844
  # calendar day in a particular time zone. * When neither time_zone nor
1764
1845
  # 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
1846
+ # relative to the Proleptic Gregorian Calendar. If year, month, or day are 0,
1847
+ # the DateTime is considered not to have a specific year, month, or day
1848
+ # respectively. This type may also be used to represent a physical time if all
1768
1849
  # the date and time fields are set and either case of the `time_offset` oneof is
1769
1850
  # set. Consider using `Timestamp` message for physical time instead. If your use
1770
1851
  # case also would like to store the user's timezone, that can be done in another
@@ -3529,15 +3610,6 @@ module Google
3529
3610
  # @return [String]
3530
3611
  attr_accessor :mention_text
3531
3612
 
3532
- # Optional. This attribute indicates that the processing didn't actually
3533
- # identify this entity, but a confidence score was assigned that represent the
3534
- # potential that this could be a false negative. A non-present entity should
3535
- # have an empty mention_text and text_anchor.
3536
- # Corresponds to the JSON property `nonPresent`
3537
- # @return [Boolean]
3538
- attr_accessor :non_present
3539
- alias_method :non_present?, :non_present
3540
-
3541
3613
  # Parsed and normalized entity value.
3542
3614
  # Corresponds to the JSON property `normalizedValue`
3543
3615
  # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue]
@@ -3588,7 +3660,6 @@ module Google
3588
3660
  @id = args[:id] if args.key?(:id)
3589
3661
  @mention_id = args[:mention_id] if args.key?(:mention_id)
3590
3662
  @mention_text = args[:mention_text] if args.key?(:mention_text)
3591
- @non_present = args[:non_present] if args.key?(:non_present)
3592
3663
  @normalized_value = args[:normalized_value] if args.key?(:normalized_value)
3593
3664
  @page_anchor = args[:page_anchor] if args.key?(:page_anchor)
3594
3665
  @properties = args[:properties] if args.key?(:properties)
@@ -3641,9 +3712,9 @@ module Google
3641
3712
  # from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
3642
3713
  # calendar day in a particular time zone. * When neither time_zone nor
3643
3714
  # utc_offset is set: a civil time on a calendar day in local time. The date is
3644
- # relative to the Proleptic Gregorian Calendar. If year is 0, the DateTime is
3645
- # considered not to have a specific year. month and day must have valid, non-
3646
- # zero values. This type may also be used to represent a physical time if all
3715
+ # relative to the Proleptic Gregorian Calendar. If year, month, or day are 0,
3716
+ # the DateTime is considered not to have a specific year, month, or day
3717
+ # respectively. This type may also be used to represent a physical time if all
3647
3718
  # the date and time fields are set and either case of the `time_offset` oneof is
3648
3719
  # set. Consider using `Timestamp` message for physical time instead. If your use
3649
3720
  # case also would like to store the user's timezone, that can be done in another
@@ -6167,9 +6238,9 @@ module Google
6167
6238
  # from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
6168
6239
  # calendar day in a particular time zone. * When neither time_zone nor
6169
6240
  # utc_offset is set: a civil time on a calendar day in local time. The date is
6170
- # relative to the Proleptic Gregorian Calendar. If year is 0, the DateTime is
6171
- # considered not to have a specific year. month and day must have valid, non-
6172
- # zero values. This type may also be used to represent a physical time if all
6241
+ # relative to the Proleptic Gregorian Calendar. If year, month, or day are 0,
6242
+ # the DateTime is considered not to have a specific year, month, or day
6243
+ # respectively. This type may also be used to represent a physical time if all
6173
6244
  # the date and time fields are set and either case of the `time_offset` oneof is
6174
6245
  # set. Consider using `Timestamp` message for physical time instead. If your use
6175
6246
  # case also would like to store the user's timezone, that can be done in another
@@ -6178,34 +6249,38 @@ module Google
6178
6249
  class GoogleTypeDateTime
6179
6250
  include Google::Apis::Core::Hashable
6180
6251
 
6181
- # Required. Day of month. Must be from 1 to 31 and valid for the year and month.
6252
+ # Optional. Day of month. Must be from 1 to 31 and valid for the year and month,
6253
+ # or 0 if specifying a datetime without a day.
6182
6254
  # Corresponds to the JSON property `day`
6183
6255
  # @return [Fixnum]
6184
6256
  attr_accessor :day
6185
6257
 
6186
- # Required. Hours of day in 24 hour format. Should be from 0 to 23. An API may
6187
- # choose to allow the value "24:00:00" for scenarios like business closing time.
6258
+ # Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults to
6259
+ # 0 (midnight). An API may choose to allow the value "24:00:00" for scenarios
6260
+ # like business closing time.
6188
6261
  # Corresponds to the JSON property `hours`
6189
6262
  # @return [Fixnum]
6190
6263
  attr_accessor :hours
6191
6264
 
6192
- # Required. Minutes of hour of day. Must be from 0 to 59.
6265
+ # Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0.
6193
6266
  # Corresponds to the JSON property `minutes`
6194
6267
  # @return [Fixnum]
6195
6268
  attr_accessor :minutes
6196
6269
 
6197
- # Required. Month of year. Must be from 1 to 12.
6270
+ # Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime
6271
+ # without a month.
6198
6272
  # Corresponds to the JSON property `month`
6199
6273
  # @return [Fixnum]
6200
6274
  attr_accessor :month
6201
6275
 
6202
- # Required. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
6276
+ # Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999,
6277
+ # defaults to 0.
6203
6278
  # Corresponds to the JSON property `nanos`
6204
6279
  # @return [Fixnum]
6205
6280
  attr_accessor :nanos
6206
6281
 
6207
- # Required. Seconds of minutes of the time. Must normally be from 0 to 59. An
6208
- # API may allow the value 60 if it allows leap-seconds.
6282
+ # Optional. Seconds of minutes of the time. Must normally be from 0 to 59,
6283
+ # defaults to 0. An API may allow the value 60 if it allows leap-seconds.
6209
6284
  # Corresponds to the JSON property `seconds`
6210
6285
  # @return [Fixnum]
6211
6286
  attr_accessor :seconds
@@ -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.42.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 = "20220711"
25
+ REVISION = "20220821"
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,7 +196,13 @@ module Google
190
196
  include Google::Apis::Core::JsonObjectSupport
191
197
  end
192
198
 
193
- class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument
199
+ class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatus
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyncStatus
194
206
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
207
 
196
208
  include Google::Apis::Core::JsonObjectSupport
@@ -1167,8 +1179,10 @@ module Google
1167
1179
  class Representation < Google::Apis::Core::JsonRepresentation
1168
1180
  property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1169
1181
 
1182
+ property :error_document_count, as: 'errorDocumentCount'
1170
1183
  collection :individual_batch_delete_statuses, as: 'individualBatchDeleteStatuses', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus::Representation
1171
1184
 
1185
+ property :total_document_count, as: 'totalDocumentCount'
1172
1186
  end
1173
1187
  end
1174
1188
 
@@ -1362,8 +1376,20 @@ module Google
1362
1376
  class Representation < Google::Apis::Core::JsonRepresentation
1363
1377
  property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1364
1378
 
1379
+ collection :import_config_validation_results, as: 'importConfigValidationResults', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataImportConfigValidationResult, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataImportConfigValidationResult::Representation
1380
+
1365
1381
  collection :individual_import_statuses, as: 'individualImportStatuses', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus::Representation
1366
1382
 
1383
+ property :total_document_count, as: 'totalDocumentCount'
1384
+ end
1385
+ end
1386
+
1387
+ class GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataImportConfigValidationResult
1388
+ # @private
1389
+ class Representation < Google::Apis::Core::JsonRepresentation
1390
+ property :input_gcs_source, as: 'inputGcsSource'
1391
+ property :status, as: 'status', class: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus::Representation
1392
+
1367
1393
  end
1368
1394
  end
1369
1395
 
@@ -1388,16 +1414,28 @@ module Google
1388
1414
  class Representation < Google::Apis::Core::JsonRepresentation
1389
1415
  property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1390
1416
 
1391
- collection :newly_added_documents, as: 'newlyAddedDocuments', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument::Representation
1417
+ collection :dataset_resync_statuses, as: 'datasetResyncStatuses', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatus::Representation
1418
+
1419
+ collection :individual_document_resync_statuses, as: 'individualDocumentResyncStatuses', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyncStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyncStatus::Representation
1420
+
1421
+ end
1422
+ end
1423
+
1424
+ class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatus
1425
+ # @private
1426
+ class Representation < Google::Apis::Core::JsonRepresentation
1427
+ property :dataset_inconsistency_type, as: 'datasetInconsistencyType'
1428
+ property :status, as: 'status', class: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus::Representation
1392
1429
 
1393
1430
  end
1394
1431
  end
1395
1432
 
1396
- class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument
1433
+ class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyncStatus
1397
1434
  # @private
1398
1435
  class Representation < Google::Apis::Core::JsonRepresentation
1399
- property :destination_prefix, as: 'destinationPrefix'
1400
- property :source_prefix, as: 'sourcePrefix'
1436
+ property :document_id, as: 'documentId', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3DocumentId, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3DocumentId::Representation
1437
+
1438
+ property :document_inconsistency_type, as: 'documentInconsistencyType'
1401
1439
  property :status, as: 'status', class: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus::Representation
1402
1440
 
1403
1441
  end
@@ -1734,7 +1772,6 @@ module Google
1734
1772
  property :id, as: 'id'
1735
1773
  property :mention_id, as: 'mentionId'
1736
1774
  property :mention_text, as: 'mentionText'
1737
- property :non_present, as: 'nonPresent'
1738
1775
  property :normalized_value, as: 'normalizedValue', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue::Representation
1739
1776
 
1740
1777
  property :page_anchor, as: 'pageAnchor', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageAnchor, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageAnchor::Representation
@@ -2273,7 +2310,6 @@ module Google
2273
2310
  property :id, as: 'id'
2274
2311
  property :mention_id, as: 'mentionId'
2275
2312
  property :mention_text, as: 'mentionText'
2276
- property :non_present, as: 'nonPresent'
2277
2313
  property :normalized_value, as: 'normalizedValue', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue::Representation
2278
2314
 
2279
2315
  property :page_anchor, as: 'pageAnchor', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageAnchor, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageAnchor::Representation
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.42.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-07-18 00:00:00.000000000 Z
11
+ date: 2022-08-29 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.42.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta2/v0.45.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: []