google-apis-documentai_v1beta2 0.52.0 → 0.54.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: 166e069c0b6bde691694248189d9afc50a5b32f5a8d7651aee9eedf62bc8a5cb
4
- data.tar.gz: c10cd3bb8d4d47f0f8401c0cd86b77f5981c1ee07af6dde42a1bec555a8543cc
3
+ metadata.gz: 2234fc64aba7f9b660965853eb0d0906d7a4bfe487c750b917ace30040de49df
4
+ data.tar.gz: b45fc737a45d65676d7bf929a102b07be6b18e2ad5743ae32df4ec958677ac23
5
5
  SHA512:
6
- metadata.gz: 7e4d29f0efe6ac045681581235b95921dda19340d67f327f025c40fcd32ca07ff6489056f9473b26d69a8515948aa2a5647e283289ac418e7592a0d282af90d6
7
- data.tar.gz: 28735f3bd1a1e6b7e502868caad5f63ad6930218fd40159500f80625293169103f5a21446c36a50edf72d57f823000b5982c646ba590cbd038e1598ff8b4a0d7
6
+ metadata.gz: 91c0fe4813e6de41693424461274c9e159c0ab4edda116dc7140653d8a556e56dd7abb57749c52f513b708ae5db2141398845a8963acde3a6207d18f910fa26c
7
+ data.tar.gz: 968f9eb7eb2cc9974f00e457b39826d97fa087c1b4c77e287c5808f11aa0784297a34fe8ee452e39403ad0e46f9416fd72ad56b58b00a662e6fcfb386b069fd6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-documentai_v1beta2
2
2
 
3
+ ### v0.54.0 (2023-01-29)
4
+
5
+ * Regenerated from discovery document revision 20230120
6
+
7
+ ### v0.53.0 (2023-01-22)
8
+
9
+ * Regenerated from discovery document revision 20230113
10
+
3
11
  ### v0.52.0 (2023-01-15)
4
12
 
5
13
  * Regenerated from discovery document revision 20230106
@@ -244,25 +244,6 @@ module Google
244
244
  end
245
245
  end
246
246
 
247
- # The long running operation metadata for DeleteDataLabelingJob.
248
- class GoogleCloudDocumentaiUiv1beta3DeleteDataLabelingJobOperationMetadata
249
- include Google::Apis::Core::Hashable
250
-
251
- # The common metadata for long running operations.
252
- # Corresponds to the JSON property `commonMetadata`
253
- # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
254
- attr_accessor :common_metadata
255
-
256
- def initialize(**args)
257
- update!(**args)
258
- end
259
-
260
- # Update properties of this object
261
- def update!(**args)
262
- @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
263
- end
264
- end
265
-
266
247
  # The long running operation metadata for DeleteLabelerPool.
267
248
  class GoogleCloudDocumentaiUiv1beta3DeleteLabelerPoolOperationMetadata
268
249
  include Google::Apis::Core::Hashable
@@ -395,6 +376,11 @@ module Google
395
376
  # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3DocumentIdGcsManagedDocumentId]
396
377
  attr_accessor :gcs_managed_doc_id
397
378
 
379
+ # The revision reference specifies which revision on the document to read.
380
+ # Corresponds to the JSON property `revisionRef`
381
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3RevisionRef]
382
+ attr_accessor :revision_ref
383
+
398
384
  # The revision reference specifies which revision on the document to read.
399
385
  # Corresponds to the JSON property `revisionReference`
400
386
  # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3RevisionReference]
@@ -407,6 +393,7 @@ module Google
407
393
  # Update properties of this object
408
394
  def update!(**args)
409
395
  @gcs_managed_doc_id = args[:gcs_managed_doc_id] if args.key?(:gcs_managed_doc_id)
396
+ @revision_ref = args[:revision_ref] if args.key?(:revision_ref)
410
397
  @revision_reference = args[:revision_reference] if args.key?(:revision_reference)
411
398
  end
412
399
  end
@@ -771,6 +758,44 @@ module Google
771
758
  end
772
759
  end
773
760
 
761
+ # The long running operation metadata for the ImportProcessorVersion method.
762
+ class GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionMetadata
763
+ include Google::Apis::Core::Hashable
764
+
765
+ # The common metadata for long running operations.
766
+ # Corresponds to the JSON property `commonMetadata`
767
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
768
+ attr_accessor :common_metadata
769
+
770
+ def initialize(**args)
771
+ update!(**args)
772
+ end
773
+
774
+ # Update properties of this object
775
+ def update!(**args)
776
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
777
+ end
778
+ end
779
+
780
+ # The response message for the ImportProcessorVersion method.
781
+ class GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionResponse
782
+ include Google::Apis::Core::Hashable
783
+
784
+ # The destination processor version name.
785
+ # Corresponds to the JSON property `processorVersion`
786
+ # @return [String]
787
+ attr_accessor :processor_version
788
+
789
+ def initialize(**args)
790
+ update!(**args)
791
+ end
792
+
793
+ # Update properties of this object
794
+ def update!(**args)
795
+ @processor_version = args[:processor_version] if args.key?(:processor_version)
796
+ end
797
+ end
798
+
774
799
  # The metadata proto of ResyncDataset method.
775
800
  class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata
776
801
  include Google::Apis::Core::Hashable
@@ -883,6 +908,39 @@ module Google
883
908
  end
884
909
  end
885
910
 
911
+ # The revision reference specifies which revision on the document to read.
912
+ class GoogleCloudDocumentaiUiv1beta3RevisionRef
913
+ include Google::Apis::Core::Hashable
914
+
915
+ # Reads the revision generated by the processor version. The format takes the
916
+ # full resource name of processor version. `projects/`project`/locations/`
917
+ # location`/processors/`processor`/processorVersions/`processorVersion``
918
+ # Corresponds to the JSON property `latestProcessorVersion`
919
+ # @return [String]
920
+ attr_accessor :latest_processor_version
921
+
922
+ # Reads the revision by the predefined case.
923
+ # Corresponds to the JSON property `revisionCase`
924
+ # @return [String]
925
+ attr_accessor :revision_case
926
+
927
+ # Reads the revision given by the id.
928
+ # Corresponds to the JSON property `revisionId`
929
+ # @return [String]
930
+ attr_accessor :revision_id
931
+
932
+ def initialize(**args)
933
+ update!(**args)
934
+ end
935
+
936
+ # Update properties of this object
937
+ def update!(**args)
938
+ @latest_processor_version = args[:latest_processor_version] if args.key?(:latest_processor_version)
939
+ @revision_case = args[:revision_case] if args.key?(:revision_case)
940
+ @revision_id = args[:revision_id] if args.key?(:revision_id)
941
+ end
942
+ end
943
+
886
944
  # The revision reference specifies which revision on the document to read.
887
945
  class GoogleCloudDocumentaiUiv1beta3RevisionReference
888
946
  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.52.0"
19
+ GEM_VERSION = "0.54.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.11.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230106"
25
+ REVISION = "20230120"
26
26
  end
27
27
  end
28
28
  end
@@ -70,12 +70,6 @@ module Google
70
70
  include Google::Apis::Core::JsonObjectSupport
71
71
  end
72
72
 
73
- class GoogleCloudDocumentaiUiv1beta3DeleteDataLabelingJobOperationMetadata
74
- class Representation < Google::Apis::Core::JsonRepresentation; end
75
-
76
- include Google::Apis::Core::JsonObjectSupport
77
- end
78
-
79
73
  class GoogleCloudDocumentaiUiv1beta3DeleteLabelerPoolOperationMetadata
80
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
75
 
@@ -214,6 +208,18 @@ module Google
214
208
  include Google::Apis::Core::JsonObjectSupport
215
209
  end
216
210
 
211
+ class GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionMetadata
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionResponse
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
217
223
  class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata
218
224
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
225
 
@@ -238,6 +244,12 @@ module Google
238
244
  include Google::Apis::Core::JsonObjectSupport
239
245
  end
240
246
 
247
+ class GoogleCloudDocumentaiUiv1beta3RevisionRef
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
241
253
  class GoogleCloudDocumentaiUiv1beta3RevisionReference
242
254
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
255
 
@@ -1315,14 +1327,6 @@ module Google
1315
1327
  end
1316
1328
  end
1317
1329
 
1318
- class GoogleCloudDocumentaiUiv1beta3DeleteDataLabelingJobOperationMetadata
1319
- # @private
1320
- class Representation < Google::Apis::Core::JsonRepresentation
1321
- property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1322
-
1323
- end
1324
- end
1325
-
1326
1330
  class GoogleCloudDocumentaiUiv1beta3DeleteLabelerPoolOperationMetadata
1327
1331
  # @private
1328
1332
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1380,6 +1384,8 @@ module Google
1380
1384
  class Representation < Google::Apis::Core::JsonRepresentation
1381
1385
  property :gcs_managed_doc_id, as: 'gcsManagedDocId', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3DocumentIdGcsManagedDocumentId, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3DocumentIdGcsManagedDocumentId::Representation
1382
1386
 
1387
+ property :revision_ref, as: 'revisionRef', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3RevisionRef, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3RevisionRef::Representation
1388
+
1383
1389
  property :revision_reference, as: 'revisionReference', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3RevisionReference, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3RevisionReference::Representation
1384
1390
 
1385
1391
  end
@@ -1512,6 +1518,21 @@ module Google
1512
1518
  end
1513
1519
  end
1514
1520
 
1521
+ class GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionMetadata
1522
+ # @private
1523
+ class Representation < Google::Apis::Core::JsonRepresentation
1524
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1525
+
1526
+ end
1527
+ end
1528
+
1529
+ class GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionResponse
1530
+ # @private
1531
+ class Representation < Google::Apis::Core::JsonRepresentation
1532
+ property :processor_version, as: 'processorVersion'
1533
+ end
1534
+ end
1535
+
1515
1536
  class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata
1516
1537
  # @private
1517
1538
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1550,6 +1571,15 @@ module Google
1550
1571
  end
1551
1572
  end
1552
1573
 
1574
+ class GoogleCloudDocumentaiUiv1beta3RevisionRef
1575
+ # @private
1576
+ class Representation < Google::Apis::Core::JsonRepresentation
1577
+ property :latest_processor_version, as: 'latestProcessorVersion'
1578
+ property :revision_case, as: 'revisionCase'
1579
+ property :revision_id, as: 'revisionId'
1580
+ end
1581
+ end
1582
+
1553
1583
  class GoogleCloudDocumentaiUiv1beta3RevisionReference
1554
1584
  # @private
1555
1585
  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.52.0
4
+ version: 0.54.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: 2023-01-15 00:00:00.000000000 Z
11
+ date: 2023-01-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.52.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta2/v0.54.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: []