google-apis-documentai_v1 0.46.0 → 0.48.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: 05d1f48f0656bb10c90faf86437891a14b6b2e7745991b8b71f343be4b641691
4
- data.tar.gz: 15718f1014bd9e610d68804baa7d068f1de1858ed97119ef3d3723a5ffc5409a
3
+ metadata.gz: c9914d08be79086d3146180e0dda743b27a28737fa027f000417a7b103221639
4
+ data.tar.gz: 60329e2e0de7b6e2d433b879b687827dc4e0973843a83cc115c310d053ca9c97
5
5
  SHA512:
6
- metadata.gz: b07dbfcb46f7313ad3c7d9c21f69f1d89bd0b83345ab7079b87a88c4291886b146183db0d938ea602a68f31bd09a4af4e6c11e8f151e67899870df7649d855dc
7
- data.tar.gz: f11b44be93c1db1d81b636ec51ca5162fbba6d2305be8a92ef81eb3afade6e987df2ea7feb63ce013bab056b229c998730848a1a157fa8a99ed9706fc28695f3
6
+ metadata.gz: d3b66e70b67e24353a5105c6ac2489148f82ecf312f0d063a2704d97bd2716870ea9221c24757b3f4eef6c15bb49e593bd9c781178e89ceb0e75b197f75a5544
7
+ data.tar.gz: e5d6cf09d5aabb1ed35254d0c3692997772541bf179b38233e7957b7a63eadfcfa3963471aaa5dbe6110073e78dbaf7b5a56a1878899cfd660b5571798879e94
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-documentai_v1
2
2
 
3
+ ### v0.48.0 (2022-09-14)
4
+
5
+ * Regenerated from discovery document revision 20220912
6
+
7
+ ### v0.47.0 (2022-08-31)
8
+
9
+ * Regenerated from discovery document revision 20220824
10
+
3
11
  ### v0.46.0 (2022-08-25)
4
12
 
5
13
  * 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::DocumentaiV1::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::DocumentaiV1::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::DocumentaiV1::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::DocumentaiV1::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::DocumentaiV1::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
@@ -3033,6 +3139,12 @@ module Google
3033
3139
  # @return [Google::Apis::DocumentaiV1::GoogleTypeColor]
3034
3140
  attr_accessor :color
3035
3141
 
3142
+ # Font family such as "Arial", "Times New Roman". https://www.w3schools.com/
3143
+ # cssref/pr_font_font-family.asp
3144
+ # Corresponds to the JSON property `fontFamily`
3145
+ # @return [String]
3146
+ attr_accessor :font_family
3147
+
3036
3148
  # Font size with unit.
3037
3149
  # Corresponds to the JSON property `fontSize`
3038
3150
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentStyleFontSize]
@@ -3069,6 +3181,7 @@ module Google
3069
3181
  def update!(**args)
3070
3182
  @background_color = args[:background_color] if args.key?(:background_color)
3071
3183
  @color = args[:color] if args.key?(:color)
3184
+ @font_family = args[:font_family] if args.key?(:font_family)
3072
3185
  @font_size = args[:font_size] if args.key?(:font_size)
3073
3186
  @font_weight = args[:font_weight] if args.key?(:font_weight)
3074
3187
  @text_anchor = args[:text_anchor] if args.key?(:text_anchor)
@@ -5634,6 +5747,12 @@ module Google
5634
5747
  # @return [Google::Apis::DocumentaiV1::GoogleTypeColor]
5635
5748
  attr_accessor :color
5636
5749
 
5750
+ # Font family such as "Arial", "Times New Roman". https://www.w3schools.com/
5751
+ # cssref/pr_font_font-family.asp
5752
+ # Corresponds to the JSON property `fontFamily`
5753
+ # @return [String]
5754
+ attr_accessor :font_family
5755
+
5637
5756
  # Font size with unit.
5638
5757
  # Corresponds to the JSON property `fontSize`
5639
5758
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentStyleFontSize]
@@ -5670,6 +5789,7 @@ module Google
5670
5789
  def update!(**args)
5671
5790
  @background_color = args[:background_color] if args.key?(:background_color)
5672
5791
  @color = args[:color] if args.key?(:color)
5792
+ @font_family = args[:font_family] if args.key?(:font_family)
5673
5793
  @font_size = args[:font_size] if args.key?(:font_size)
5674
5794
  @font_weight = args[:font_weight] if args.key?(:font_weight)
5675
5795
  @text_anchor = args[:text_anchor] if args.key?(:text_anchor)
@@ -7500,6 +7620,12 @@ module Google
7500
7620
  # @return [Google::Apis::DocumentaiV1::GoogleTypeColor]
7501
7621
  attr_accessor :color
7502
7622
 
7623
+ # Font family such as "Arial", "Times New Roman". https://www.w3schools.com/
7624
+ # cssref/pr_font_font-family.asp
7625
+ # Corresponds to the JSON property `fontFamily`
7626
+ # @return [String]
7627
+ attr_accessor :font_family
7628
+
7503
7629
  # Font size with unit.
7504
7630
  # Corresponds to the JSON property `fontSize`
7505
7631
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentStyleFontSize]
@@ -7536,6 +7662,7 @@ module Google
7536
7662
  def update!(**args)
7537
7663
  @background_color = args[:background_color] if args.key?(:background_color)
7538
7664
  @color = args[:color] if args.key?(:color)
7665
+ @font_family = args[:font_family] if args.key?(:font_family)
7539
7666
  @font_size = args[:font_size] if args.key?(:font_size)
7540
7667
  @font_weight = args[:font_weight] if args.key?(:font_weight)
7541
7668
  @text_anchor = args[:text_anchor] if args.key?(:text_anchor)
@@ -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.46.0"
19
+ GEM_VERSION = "0.48.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 = "20220912"
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
 
@@ -1752,6 +1776,43 @@ module Google
1752
1776
  end
1753
1777
  end
1754
1778
 
1779
+ class GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadata
1780
+ # @private
1781
+ class Representation < Google::Apis::Core::JsonRepresentation
1782
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1783
+
1784
+ collection :individual_export_statuses, as: 'individualExportStatuses', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus::Representation
1785
+
1786
+ collection :split_export_stats, as: 'splitExportStats', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat::Representation
1787
+
1788
+ end
1789
+ end
1790
+
1791
+ class GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus
1792
+ # @private
1793
+ class Representation < Google::Apis::Core::JsonRepresentation
1794
+ property :document_id, as: 'documentId', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3DocumentId, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3DocumentId::Representation
1795
+
1796
+ property :output_gcs_destination, as: 'outputGcsDestination'
1797
+ property :status, as: 'status', class: Google::Apis::DocumentaiV1::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1::GoogleRpcStatus::Representation
1798
+
1799
+ end
1800
+ end
1801
+
1802
+ class GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat
1803
+ # @private
1804
+ class Representation < Google::Apis::Core::JsonRepresentation
1805
+ property :split_type, as: 'splitType'
1806
+ property :total_document_count, as: 'totalDocumentCount'
1807
+ end
1808
+ end
1809
+
1810
+ class GoogleCloudDocumentaiUiv1beta3ExportDocumentsResponse
1811
+ # @private
1812
+ class Representation < Google::Apis::Core::JsonRepresentation
1813
+ end
1814
+ end
1815
+
1755
1816
  class GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionMetadata
1756
1817
  # @private
1757
1818
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2522,6 +2583,7 @@ module Google
2522
2583
 
2523
2584
  property :color, as: 'color', class: Google::Apis::DocumentaiV1::GoogleTypeColor, decorator: Google::Apis::DocumentaiV1::GoogleTypeColor::Representation
2524
2585
 
2586
+ property :font_family, as: 'fontFamily'
2525
2587
  property :font_size, as: 'fontSize', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentStyleFontSize, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentStyleFontSize::Representation
2526
2588
 
2527
2589
  property :font_weight, as: 'fontWeight'
@@ -3293,6 +3355,7 @@ module Google
3293
3355
 
3294
3356
  property :color, as: 'color', class: Google::Apis::DocumentaiV1::GoogleTypeColor, decorator: Google::Apis::DocumentaiV1::GoogleTypeColor::Representation
3295
3357
 
3358
+ property :font_family, as: 'fontFamily'
3296
3359
  property :font_size, as: 'fontSize', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentStyleFontSize, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentStyleFontSize::Representation
3297
3360
 
3298
3361
  property :font_weight, as: 'fontWeight'
@@ -3825,6 +3888,7 @@ module Google
3825
3888
 
3826
3889
  property :color, as: 'color', class: Google::Apis::DocumentaiV1::GoogleTypeColor, decorator: Google::Apis::DocumentaiV1::GoogleTypeColor::Representation
3827
3890
 
3891
+ property :font_family, as: 'fontFamily'
3828
3892
  property :font_size, as: 'fontSize', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentStyleFontSize, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentStyleFontSize::Representation
3829
3893
 
3830
3894
  property :font_weight, as: 'fontWeight'
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.46.0
4
+ version: 0.48.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-19 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.46.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.48.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: []