google-apis-documentai_v1beta2 0.45.0 → 0.47.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: be88410ebe8aa05434c25073fdf06514a78e232baca966d3d275062b8b98b428
4
+ data.tar.gz: 6e9be52cda1118eb451926b2ad09d284d6e0408ec8ea9ad8d3d52e4b47778a90
5
5
  SHA512:
6
- metadata.gz: ba338fd9d10e35fcccb090cdf94e98360552d653fcca3bbf4483db56e3b9ae73d66956bc12a0feb245e718864fe5e4d67b12003a4d55895edbc516186b531d69
7
- data.tar.gz: 9cf97a744d19d75d17f73ffaa31ad7f846d52092ff875f7018118eb066a0a5d4cd78cb1fbf445d88a19a43e693b3ffc27a8baa56fb76ef2c8f6010fdae0112be
6
+ metadata.gz: 820e6c72d3d70c8fac019a9913c69f28a3c3edb7aeb86873da0bc53a2634d2b2271783f201ede2d13862fa7b94d5389b396e939244dc9d4cd3a6ef60d54c50b1
7
+ data.tar.gz: 9a8f2f11b25e3bdf808fc384acebff6a9ae45cdc1421f54167b9dde50e32c0164d58edf7adf30fc1e93d29830e91dc965a362c65d65db8bea15ce5f0fdc99a0a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-documentai_v1beta2
2
2
 
3
+ ### v0.47.0 (2022-09-18)
4
+
5
+ * Regenerated from discovery document revision 20220912
6
+
7
+ ### v0.46.0 (2022-08-31)
8
+
9
+ * Regenerated from discovery document revision 20220824
10
+
3
11
  ### v0.45.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::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
@@ -2980,6 +3086,12 @@ module Google
2980
3086
  # @return [Google::Apis::DocumentaiV1beta2::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::DocumentaiV1beta2::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)
@@ -4886,6 +4999,12 @@ module Google
4886
4999
  # @return [Google::Apis::DocumentaiV1beta2::GoogleTypeColor]
4887
5000
  attr_accessor :color
4888
5001
 
5002
+ # Font family such as "Arial", "Times New Roman". https://www.w3schools.com/
5003
+ # cssref/pr_font_font-family.asp
5004
+ # Corresponds to the JSON property `fontFamily`
5005
+ # @return [String]
5006
+ attr_accessor :font_family
5007
+
4889
5008
  # Font size with unit.
4890
5009
  # Corresponds to the JSON property `fontSize`
4891
5010
  # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentStyleFontSize]
@@ -4922,6 +5041,7 @@ module Google
4922
5041
  def update!(**args)
4923
5042
  @background_color = args[:background_color] if args.key?(:background_color)
4924
5043
  @color = args[:color] if args.key?(:color)
5044
+ @font_family = args[:font_family] if args.key?(:font_family)
4925
5045
  @font_size = args[:font_size] if args.key?(:font_size)
4926
5046
  @font_weight = args[:font_weight] if args.key?(:font_weight)
4927
5047
  @text_anchor = args[:text_anchor] if args.key?(:text_anchor)
@@ -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.47.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
 
@@ -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
@@ -2119,6 +2180,7 @@ module Google
2119
2180
 
2120
2181
  property :color, as: 'color', class: Google::Apis::DocumentaiV1beta2::GoogleTypeColor, decorator: Google::Apis::DocumentaiV1beta2::GoogleTypeColor::Representation
2121
2182
 
2183
+ property :font_family, as: 'fontFamily'
2122
2184
  property :font_size, as: 'fontSize', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentStyleFontSize, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentStyleFontSize::Representation
2123
2185
 
2124
2186
  property :font_weight, as: 'fontWeight'
@@ -2666,6 +2728,7 @@ module Google
2666
2728
 
2667
2729
  property :color, as: 'color', class: Google::Apis::DocumentaiV1beta2::GoogleTypeColor, decorator: Google::Apis::DocumentaiV1beta2::GoogleTypeColor::Representation
2668
2730
 
2731
+ property :font_family, as: 'fontFamily'
2669
2732
  property :font_size, as: 'fontSize', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentStyleFontSize, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentStyleFontSize::Representation
2670
2733
 
2671
2734
  property :font_weight, as: 'fontWeight'
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.47.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_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.47.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: []