google-apis-documentai_v1beta2 0.44.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: db65a343043243da264eee3347eff84d4958e104e1d42cfc0b08c039fa2ee60a
4
- data.tar.gz: 4e6191f210c583174fde9102110a13550ef4c1d1e99bd1f75e03c1114e08cbbe
3
+ metadata.gz: c0029631b4458e8fcbfa53968fa433a5a9494bce5d4f60acc19870d74300cc4b
4
+ data.tar.gz: 7be4805385e835d18345812c9e29a8b0d4666880873220bc563c9bb668329316
5
5
  SHA512:
6
- metadata.gz: b2891be12afe3cb795d07eec4a3fd4e95e80fd925833d926263d912035dead9f965958292ddafbfa72e3ababf9baebd6dc5c858b968c0c5093d5f25c4724b812
7
- data.tar.gz: 161cc7235973a7cfc6d2782a585e69db2899cfd906f8b95c8c067a6ccb28aa55372696c5ba71f51988e43eea419ec05ea0e2753bc612f7af3bc21c5142581256
6
+ metadata.gz: ba338fd9d10e35fcccb090cdf94e98360552d653fcca3bbf4483db56e3b9ae73d66956bc12a0feb245e718864fe5e4d67b12003a4d55895edbc516186b531d69
7
+ data.tar.gz: 9cf97a744d19d75d17f73ffaa31ad7f846d52092ff875f7018118eb066a0a5d4cd78cb1fbf445d88a19a43e693b3ffc27a8baa56fb76ef2c8f6010fdae0112be
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.44.0 (2022-08-16)
4
8
 
5
9
  * Regenerated from discovery document revision 20220815
@@ -31,6 +31,11 @@ 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>]
@@ -48,6 +53,7 @@ module Google
48
53
  # Update properties of this object
49
54
  def update!(**args)
50
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)
51
57
  @individual_batch_delete_statuses = args[:individual_batch_delete_statuses] if args.key?(:individual_batch_delete_statuses)
52
58
  @total_document_count = args[:total_document_count] if args.key?(:total_document_count)
53
59
  end
@@ -577,9 +583,9 @@ module Google
577
583
  end
578
584
  end
579
585
 
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.
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.
583
589
  class GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataImportConfigValidationResult
584
590
  include Google::Apis::Core::Hashable
585
591
 
@@ -680,12 +686,6 @@ module Google
680
686
  # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyncStatus>]
681
687
  attr_accessor :individual_document_resync_statuses
682
688
 
683
- # Returns the newly added document Cloud Storage prefix if the documents are
684
- # founded in Cloud Storage while not in Document Service storage.
685
- # Corresponds to the JSON property `newlyAddedDocuments`
686
- # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument>]
687
- attr_accessor :newly_added_documents
688
-
689
689
  def initialize(**args)
690
690
  update!(**args)
691
691
  end
@@ -695,7 +695,6 @@ module Google
695
695
  @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
696
696
  @dataset_resync_statuses = args[:dataset_resync_statuses] if args.key?(:dataset_resync_statuses)
697
697
  @individual_document_resync_statuses = args[:individual_document_resync_statuses] if args.key?(:individual_document_resync_statuses)
698
- @newly_added_documents = args[:newly_added_documents] if args.key?(:newly_added_documents)
699
698
  end
700
699
  end
701
700
 
@@ -765,44 +764,6 @@ module Google
765
764
  end
766
765
  end
767
766
 
768
- # The proto for updated document in resync pipeline.
769
- class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument
770
- include Google::Apis::Core::Hashable
771
-
772
- # The prefix of cloud storage, identifies the destination document which should
773
- # be updated by resync pipeline.
774
- # Corresponds to the JSON property `destinationPrefix`
775
- # @return [String]
776
- attr_accessor :destination_prefix
777
-
778
- # The prefix of cloud storage, identifies the original document which should be
779
- # updated by resync pipeline.
780
- # Corresponds to the JSON property `sourcePrefix`
781
- # @return [String]
782
- attr_accessor :source_prefix
783
-
784
- # The `Status` type defines a logical error model that is suitable for different
785
- # programming environments, including REST APIs and RPC APIs. It is used by [
786
- # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
787
- # data: error code, error message, and error details. You can find out more
788
- # about this error model and how to work with it in the [API Design Guide](https:
789
- # //cloud.google.com/apis/design/errors).
790
- # Corresponds to the JSON property `status`
791
- # @return [Google::Apis::DocumentaiV1beta2::GoogleRpcStatus]
792
- attr_accessor :status
793
-
794
- def initialize(**args)
795
- update!(**args)
796
- end
797
-
798
- # Update properties of this object
799
- def update!(**args)
800
- @destination_prefix = args[:destination_prefix] if args.key?(:destination_prefix)
801
- @source_prefix = args[:source_prefix] if args.key?(:source_prefix)
802
- @status = args[:status] if args.key?(:status)
803
- end
804
- end
805
-
806
767
  # The response proto of ResyncDataset method.
807
768
  class GoogleCloudDocumentaiUiv1beta3ResyncDatasetResponse
808
769
  include Google::Apis::Core::Hashable
@@ -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.44.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 = "20220815"
25
+ REVISION = "20220821"
26
26
  end
27
27
  end
28
28
  end
@@ -208,12 +208,6 @@ module Google
208
208
  include Google::Apis::Core::JsonObjectSupport
209
209
  end
210
210
 
211
- class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument
212
- class Representation < Google::Apis::Core::JsonRepresentation; end
213
-
214
- include Google::Apis::Core::JsonObjectSupport
215
- end
216
-
217
211
  class GoogleCloudDocumentaiUiv1beta3ResyncDatasetResponse
218
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
213
 
@@ -1185,6 +1179,7 @@ module Google
1185
1179
  class Representation < Google::Apis::Core::JsonRepresentation
1186
1180
  property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1187
1181
 
1182
+ property :error_document_count, as: 'errorDocumentCount'
1188
1183
  collection :individual_batch_delete_statuses, as: 'individualBatchDeleteStatuses', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus::Representation
1189
1184
 
1190
1185
  property :total_document_count, as: 'totalDocumentCount'
@@ -1423,8 +1418,6 @@ module Google
1423
1418
 
1424
1419
  collection :individual_document_resync_statuses, as: 'individualDocumentResyncStatuses', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyncStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyncStatus::Representation
1425
1420
 
1426
- collection :newly_added_documents, as: 'newlyAddedDocuments', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument::Representation
1427
-
1428
1421
  end
1429
1422
  end
1430
1423
 
@@ -1448,16 +1441,6 @@ module Google
1448
1441
  end
1449
1442
  end
1450
1443
 
1451
- class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument
1452
- # @private
1453
- class Representation < Google::Apis::Core::JsonRepresentation
1454
- property :destination_prefix, as: 'destinationPrefix'
1455
- property :source_prefix, as: 'sourcePrefix'
1456
- property :status, as: 'status', class: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus::Representation
1457
-
1458
- end
1459
- end
1460
-
1461
1444
  class GoogleCloudDocumentaiUiv1beta3ResyncDatasetResponse
1462
1445
  # @private
1463
1446
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-documentai_v1beta2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.44.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-08-22 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.44.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: []