google-apis-documentai_v1beta2 0.45.0 → 0.46.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: c0029631b4458e8fcbfa53968fa433a5a9494bce5d4f60acc19870d74300cc4b
4
- data.tar.gz: 7be4805385e835d18345812c9e29a8b0d4666880873220bc563c9bb668329316
3
+ metadata.gz: 62d117e0bae35e29d0f32d2ef5791fba6376701f42b08e3333e20f35cc4a8872
4
+ data.tar.gz: 9d03b8c0bdbf419be7375d2bb9af3442128372bb8dd183a06d8102a3e7f882d9
5
5
  SHA512:
6
- metadata.gz: ba338fd9d10e35fcccb090cdf94e98360552d653fcca3bbf4483db56e3b9ae73d66956bc12a0feb245e718864fe5e4d67b12003a4d55895edbc516186b531d69
7
- data.tar.gz: 9cf97a744d19d75d17f73ffaa31ad7f846d52092ff875f7018118eb066a0a5d4cd78cb1fbf445d88a19a43e693b3ffc27a8baa56fb76ef2c8f6010fdae0112be
6
+ metadata.gz: 0a58e4ded6b20df61638f2b4201905ed6ed9b0899ccdc02f12292bf03c24cbd04130e6ab77224123af8b690da6cfb41569f168846e9b38b45ed82b7a51ab6dad
7
+ data.tar.gz: acda36656fb1ab2e912ba3bf07f3aeadbc898526653efc97af7265adba6ea253e839a94744107c47dc0d6e6996e501bd58002227b7b50bd467f27fce00f4c422
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-documentai_v1beta2
2
2
 
3
+ ### v0.46.0 (2022-08-31)
4
+
5
+ * Regenerated from discovery document revision 20220824
6
+
3
7
  ### v0.45.0 (2022-08-24)
4
8
 
5
9
  * Regenerated from discovery document revision 20220821
@@ -508,6 +508,112 @@ module Google
508
508
  end
509
509
  end
510
510
 
511
+ # Metadata of the batch export documents operation.
512
+ class GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadata
513
+ include Google::Apis::Core::Hashable
514
+
515
+ # The common metadata for long running operations.
516
+ # Corresponds to the JSON property `commonMetadata`
517
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
518
+ attr_accessor :common_metadata
519
+
520
+ # The list of response details of each document.
521
+ # Corresponds to the JSON property `individualExportStatuses`
522
+ # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus>]
523
+ attr_accessor :individual_export_statuses
524
+
525
+ # The list of statistics for each dataset split type.
526
+ # Corresponds to the JSON property `splitExportStats`
527
+ # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat>]
528
+ attr_accessor :split_export_stats
529
+
530
+ def initialize(**args)
531
+ update!(**args)
532
+ end
533
+
534
+ # Update properties of this object
535
+ def update!(**args)
536
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
537
+ @individual_export_statuses = args[:individual_export_statuses] if args.key?(:individual_export_statuses)
538
+ @split_export_stats = args[:split_export_stats] if args.key?(:split_export_stats)
539
+ end
540
+ end
541
+
542
+ # The status of each individual document in the export process.
543
+ class GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus
544
+ include Google::Apis::Core::Hashable
545
+
546
+ # Document Identifier.
547
+ # Corresponds to the JSON property `documentId`
548
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3DocumentId]
549
+ attr_accessor :document_id
550
+
551
+ # The output_gcs_destination of the exported document if it was successful,
552
+ # otherwise empty.
553
+ # Corresponds to the JSON property `outputGcsDestination`
554
+ # @return [String]
555
+ attr_accessor :output_gcs_destination
556
+
557
+ # The `Status` type defines a logical error model that is suitable for different
558
+ # programming environments, including REST APIs and RPC APIs. It is used by [
559
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
560
+ # data: error code, error message, and error details. You can find out more
561
+ # about this error model and how to work with it in the [API Design Guide](https:
562
+ # //cloud.google.com/apis/design/errors).
563
+ # Corresponds to the JSON property `status`
564
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleRpcStatus]
565
+ attr_accessor :status
566
+
567
+ def initialize(**args)
568
+ update!(**args)
569
+ end
570
+
571
+ # Update properties of this object
572
+ def update!(**args)
573
+ @document_id = args[:document_id] if args.key?(:document_id)
574
+ @output_gcs_destination = args[:output_gcs_destination] if args.key?(:output_gcs_destination)
575
+ @status = args[:status] if args.key?(:status)
576
+ end
577
+ end
578
+
579
+ # The statistic representing a dataset split type for this export.
580
+ class GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat
581
+ include Google::Apis::Core::Hashable
582
+
583
+ # The dataset split type.
584
+ # Corresponds to the JSON property `splitType`
585
+ # @return [String]
586
+ attr_accessor :split_type
587
+
588
+ # Total number of documents with the given dataset split type to be exported.
589
+ # Corresponds to the JSON property `totalDocumentCount`
590
+ # @return [Fixnum]
591
+ attr_accessor :total_document_count
592
+
593
+ def initialize(**args)
594
+ update!(**args)
595
+ end
596
+
597
+ # Update properties of this object
598
+ def update!(**args)
599
+ @split_type = args[:split_type] if args.key?(:split_type)
600
+ @total_document_count = args[:total_document_count] if args.key?(:total_document_count)
601
+ end
602
+ end
603
+
604
+ # The response proto of ExportDocuments method.
605
+ class GoogleCloudDocumentaiUiv1beta3ExportDocumentsResponse
606
+ include Google::Apis::Core::Hashable
607
+
608
+ def initialize(**args)
609
+ update!(**args)
610
+ end
611
+
612
+ # Update properties of this object
613
+ def update!(**args)
614
+ end
615
+ end
616
+
511
617
  # Metadata message associated with the ExportProcessorVersion operation.
512
618
  class GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionMetadata
513
619
  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.45.0"
19
+ GEM_VERSION = "0.46.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 = "20220821"
25
+ REVISION = "20220824"
26
26
  end
27
27
  end
28
28
  end
@@ -154,6 +154,30 @@ module Google
154
154
  include Google::Apis::Core::JsonObjectSupport
155
155
  end
156
156
 
157
+ class GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadata
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class GoogleCloudDocumentaiUiv1beta3ExportDocumentsResponse
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
157
181
  class GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionMetadata
158
182
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
183
 
@@ -1356,6 +1380,43 @@ module Google
1356
1380
  end
1357
1381
  end
1358
1382
 
1383
+ class GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadata
1384
+ # @private
1385
+ class Representation < Google::Apis::Core::JsonRepresentation
1386
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1387
+
1388
+ collection :individual_export_statuses, as: 'individualExportStatuses', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus::Representation
1389
+
1390
+ collection :split_export_stats, as: 'splitExportStats', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat::Representation
1391
+
1392
+ end
1393
+ end
1394
+
1395
+ class GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus
1396
+ # @private
1397
+ class Representation < Google::Apis::Core::JsonRepresentation
1398
+ property :document_id, as: 'documentId', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3DocumentId, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3DocumentId::Representation
1399
+
1400
+ property :output_gcs_destination, as: 'outputGcsDestination'
1401
+ property :status, as: 'status', class: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta2::GoogleRpcStatus::Representation
1402
+
1403
+ end
1404
+ end
1405
+
1406
+ class GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat
1407
+ # @private
1408
+ class Representation < Google::Apis::Core::JsonRepresentation
1409
+ property :split_type, as: 'splitType'
1410
+ property :total_document_count, as: 'totalDocumentCount'
1411
+ end
1412
+ end
1413
+
1414
+ class GoogleCloudDocumentaiUiv1beta3ExportDocumentsResponse
1415
+ # @private
1416
+ class Representation < Google::Apis::Core::JsonRepresentation
1417
+ end
1418
+ end
1419
+
1359
1420
  class GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionMetadata
1360
1421
  # @private
1361
1422
  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.45.0
4
+ version: 0.46.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-29 00:00:00.000000000 Z
11
+ date: 2022-09-05 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.45.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta2/v0.46.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: []