google-apis-documentai_v1beta3 0.54.0 → 0.56.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: 6a42f2529ec379ae0838b7400b0461afa464f1bb652e95bc4b0184ab06dc4f7e
4
- data.tar.gz: fccfd4ea90576d4e0e9bed4f66ffd9a46e55e63cf481c7f6bb8643a9001c61dd
3
+ metadata.gz: 78ee69543e7534a27236cd45e7aff21c1f013a3c4142a3adc769ef75f8fd4183
4
+ data.tar.gz: 6b53cd5ed8501f9dd90e63877ad413983a4d0de065336a9f483ffbde64d8ca4e
5
5
  SHA512:
6
- metadata.gz: 439bc99fd3e8dc7015260c75c61696a584657eabf343cac832527a196e50e07c5848299b3f874fa3cd0cd2ec1482a4b576abb1a014fdd972d8ca6671b301dca5
7
- data.tar.gz: 270b49a511d712745a0e6349adcf27c3d2691acfb227c5f107c72cd15b9757747822be2ad4d314d03db11b40ec92c41f0875d2df8f60cce39d98d89341633fbe
6
+ metadata.gz: 1ae2c394a708d58c4454a9e549fcc2199089709367d7eb11bad4f7f1782039812a72b9f899a6b74f017cdcf58451adb288809916dc2f808d1dbf58bb553fd75a
7
+ data.tar.gz: 192008221dd4ce385536f957e146449d72584ed3b356ffd6dc87553c4b155dc88353b09e8f90e489e02c3e72e92bfcda3c35d78ddc3fd7a184c34765ffdd0de5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-documentai_v1beta3
2
2
 
3
+ ### v0.56.0 (2022-09-18)
4
+
5
+ * Regenerated from discovery document revision 20220912
6
+
7
+ ### v0.55.0 (2022-08-31)
8
+
9
+ * Regenerated from discovery document revision 20220824
10
+
3
11
  ### v0.54.0 (2022-08-24)
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::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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::DocumentaiV1beta3::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
@@ -2980,6 +3086,12 @@ module Google
2980
3086
  # @return [Google::Apis::DocumentaiV1beta3::GoogleTypeColor]
2981
3087
  attr_accessor :color
2982
3088
 
3089
+ # Font family such as "Arial", "Times New Roman". https://www.w3schools.com/
3090
+ # cssref/pr_font_font-family.asp
3091
+ # Corresponds to the JSON property `fontFamily`
3092
+ # @return [String]
3093
+ attr_accessor :font_family
3094
+
2983
3095
  # Font size with unit.
2984
3096
  # Corresponds to the JSON property `fontSize`
2985
3097
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentStyleFontSize]
@@ -3016,6 +3128,7 @@ module Google
3016
3128
  def update!(**args)
3017
3129
  @background_color = args[:background_color] if args.key?(:background_color)
3018
3130
  @color = args[:color] if args.key?(:color)
3131
+ @font_family = args[:font_family] if args.key?(:font_family)
3019
3132
  @font_size = args[:font_size] if args.key?(:font_size)
3020
3133
  @font_weight = args[:font_weight] if args.key?(:font_weight)
3021
3134
  @text_anchor = args[:text_anchor] if args.key?(:text_anchor)
@@ -4846,6 +4959,12 @@ module Google
4846
4959
  # @return [Google::Apis::DocumentaiV1beta3::GoogleTypeColor]
4847
4960
  attr_accessor :color
4848
4961
 
4962
+ # Font family such as "Arial", "Times New Roman". https://www.w3schools.com/
4963
+ # cssref/pr_font_font-family.asp
4964
+ # Corresponds to the JSON property `fontFamily`
4965
+ # @return [String]
4966
+ attr_accessor :font_family
4967
+
4849
4968
  # Font size with unit.
4850
4969
  # Corresponds to the JSON property `fontSize`
4851
4970
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentStyleFontSize]
@@ -4882,6 +5001,7 @@ module Google
4882
5001
  def update!(**args)
4883
5002
  @background_color = args[:background_color] if args.key?(:background_color)
4884
5003
  @color = args[:color] if args.key?(:color)
5004
+ @font_family = args[:font_family] if args.key?(:font_family)
4885
5005
  @font_size = args[:font_size] if args.key?(:font_size)
4886
5006
  @font_weight = args[:font_weight] if args.key?(:font_weight)
4887
5007
  @text_anchor = args[:text_anchor] if args.key?(:text_anchor)
@@ -7298,6 +7418,12 @@ module Google
7298
7418
  # @return [Google::Apis::DocumentaiV1beta3::GoogleTypeColor]
7299
7419
  attr_accessor :color
7300
7420
 
7421
+ # Font family such as "Arial", "Times New Roman". https://www.w3schools.com/
7422
+ # cssref/pr_font_font-family.asp
7423
+ # Corresponds to the JSON property `fontFamily`
7424
+ # @return [String]
7425
+ attr_accessor :font_family
7426
+
7301
7427
  # Font size with unit.
7302
7428
  # Corresponds to the JSON property `fontSize`
7303
7429
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentStyleFontSize]
@@ -7334,6 +7460,7 @@ module Google
7334
7460
  def update!(**args)
7335
7461
  @background_color = args[:background_color] if args.key?(:background_color)
7336
7462
  @color = args[:color] if args.key?(:color)
7463
+ @font_family = args[:font_family] if args.key?(:font_family)
7337
7464
  @font_size = args[:font_size] if args.key?(:font_size)
7338
7465
  @font_weight = args[:font_weight] if args.key?(:font_weight)
7339
7466
  @text_anchor = args[:text_anchor] if args.key?(:text_anchor)
@@ -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.54.0"
19
+ GEM_VERSION = "0.56.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
 
@@ -1764,6 +1788,43 @@ module Google
1764
1788
  end
1765
1789
  end
1766
1790
 
1791
+ class GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadata
1792
+ # @private
1793
+ class Representation < Google::Apis::Core::JsonRepresentation
1794
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1795
+
1796
+ collection :individual_export_statuses, as: 'individualExportStatuses', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus::Representation
1797
+
1798
+ collection :split_export_stats, as: 'splitExportStats', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat::Representation
1799
+
1800
+ end
1801
+ end
1802
+
1803
+ class GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus
1804
+ # @private
1805
+ class Representation < Google::Apis::Core::JsonRepresentation
1806
+ property :document_id, as: 'documentId', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3DocumentId, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3DocumentId::Representation
1807
+
1808
+ property :output_gcs_destination, as: 'outputGcsDestination'
1809
+ property :status, as: 'status', class: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus::Representation
1810
+
1811
+ end
1812
+ end
1813
+
1814
+ class GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat
1815
+ # @private
1816
+ class Representation < Google::Apis::Core::JsonRepresentation
1817
+ property :split_type, as: 'splitType'
1818
+ property :total_document_count, as: 'totalDocumentCount'
1819
+ end
1820
+ end
1821
+
1822
+ class GoogleCloudDocumentaiUiv1beta3ExportDocumentsResponse
1823
+ # @private
1824
+ class Representation < Google::Apis::Core::JsonRepresentation
1825
+ end
1826
+ end
1827
+
1767
1828
  class GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionMetadata
1768
1829
  # @private
1769
1830
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2527,6 +2588,7 @@ module Google
2527
2588
 
2528
2589
  property :color, as: 'color', class: Google::Apis::DocumentaiV1beta3::GoogleTypeColor, decorator: Google::Apis::DocumentaiV1beta3::GoogleTypeColor::Representation
2529
2590
 
2591
+ property :font_family, as: 'fontFamily'
2530
2592
  property :font_size, as: 'fontSize', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentStyleFontSize, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentStyleFontSize::Representation
2531
2593
 
2532
2594
  property :font_weight, as: 'fontWeight'
@@ -3059,6 +3121,7 @@ module Google
3059
3121
 
3060
3122
  property :color, as: 'color', class: Google::Apis::DocumentaiV1beta3::GoogleTypeColor, decorator: Google::Apis::DocumentaiV1beta3::GoogleTypeColor::Representation
3061
3123
 
3124
+ property :font_family, as: 'fontFamily'
3062
3125
  property :font_size, as: 'fontSize', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentStyleFontSize, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentStyleFontSize::Representation
3063
3126
 
3064
3127
  property :font_weight, as: 'fontWeight'
@@ -3781,6 +3844,7 @@ module Google
3781
3844
 
3782
3845
  property :color, as: 'color', class: Google::Apis::DocumentaiV1beta3::GoogleTypeColor, decorator: Google::Apis::DocumentaiV1beta3::GoogleTypeColor::Representation
3783
3846
 
3847
+ property :font_family, as: 'fontFamily'
3784
3848
  property :font_size, as: 'fontSize', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentStyleFontSize, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentStyleFontSize::Representation
3785
3849
 
3786
3850
  property :font_weight, as: 'fontWeight'
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.54.0
4
+ version: 0.56.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
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.7'
19
+ version: 0.7.2
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.7'
29
+ version: 0.7.2
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.54.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.56.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: []