google-apis-documentai_v1beta2 0.51.0 → 0.53.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: 4aad9e9f0eb4b3b772c4b16d94d68203458f0c24eac2183a8daeec1a49d9553d
4
- data.tar.gz: 7fe5ffd9b3dfa9d23b0cc88638c080311f205f5f566e47bcceb6a01a37de7b52
3
+ metadata.gz: f7c7cd95b3596f68737fef7e2ea297e45d876c5e7115d1cdbd2373f704112309
4
+ data.tar.gz: 1d5755aebd093bfa1921de917b95d467af7a18c3a7fd9858f8c7600db0aef487
5
5
  SHA512:
6
- metadata.gz: d2c8540483634b10a92d40023375eb2b52f5e6bfd82d57426fc37238d9c0b782085a2e8d98ef283ac2584b1cd52ab481da05478a2098bc70b520dc0b9023921f
7
- data.tar.gz: 720d8ea2e19e303309313208c7bfe3c22a19c2044ac7d13acfffc58f3791fce5bbeaae36c0888baf18c73648c693624cb7137773cef1b2778e945f70117cdb32
6
+ metadata.gz: 6d40bd460c653fab297c0feadc37b8ae93d6412f43a68837341aef9dd5f86f03e52f5fdc9be05879ecf1c4e6876f2fcf80bc34c49d06d5854dfd32c633f7a7a5
7
+ data.tar.gz: fffd0021c47fdc9e9cc00e9af3364d4c49a8b1bfe55a8d47fb0d1f765dad43518e3dbd8dcf5f48d74825ca14b9d1708e9624c4c4c5ad858bd948089faa723915
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-documentai_v1beta2
2
2
 
3
+ ### v0.53.0 (2023-01-22)
4
+
5
+ * Regenerated from discovery document revision 20230113
6
+
7
+ ### v0.52.0 (2023-01-15)
8
+
9
+ * Regenerated from discovery document revision 20230106
10
+ * Regenerated using generator version 0.11.1
11
+
3
12
  ### v0.51.0 (2022-12-07)
4
13
 
5
14
  * Regenerated from discovery document revision 20221201
@@ -389,12 +389,17 @@ module Google
389
389
  class GoogleCloudDocumentaiUiv1beta3DocumentId
390
390
  include Google::Apis::Core::Hashable
391
391
 
392
- # Identifies a document uniquely within the scope of a dataset in the GCS-based
393
- # option.
392
+ # Identifies a document uniquely within the scope of a dataset in the Cloud
393
+ # Storage option.
394
394
  # Corresponds to the JSON property `gcsManagedDocId`
395
395
  # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3DocumentIdGcsManagedDocumentId]
396
396
  attr_accessor :gcs_managed_doc_id
397
397
 
398
+ # The revision reference specifies which revision on the document to read.
399
+ # Corresponds to the JSON property `revisionRef`
400
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3RevisionRef]
401
+ attr_accessor :revision_ref
402
+
398
403
  # The revision reference specifies which revision on the document to read.
399
404
  # Corresponds to the JSON property `revisionReference`
400
405
  # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3RevisionReference]
@@ -407,16 +412,17 @@ module Google
407
412
  # Update properties of this object
408
413
  def update!(**args)
409
414
  @gcs_managed_doc_id = args[:gcs_managed_doc_id] if args.key?(:gcs_managed_doc_id)
415
+ @revision_ref = args[:revision_ref] if args.key?(:revision_ref)
410
416
  @revision_reference = args[:revision_reference] if args.key?(:revision_reference)
411
417
  end
412
418
  end
413
419
 
414
- # Identifies a document uniquely within the scope of a dataset in the GCS-based
415
- # option.
420
+ # Identifies a document uniquely within the scope of a dataset in the Cloud
421
+ # Storage option.
416
422
  class GoogleCloudDocumentaiUiv1beta3DocumentIdGcsManagedDocumentId
417
423
  include Google::Apis::Core::Hashable
418
424
 
419
- # Optional. Id of the document (indexed) managed by Content Warehouse.
425
+ # Id of the document (indexed) managed by Content Warehouse.
420
426
  # Corresponds to the JSON property `cwDocId`
421
427
  # @return [String]
422
428
  attr_accessor :cw_doc_id
@@ -883,22 +889,54 @@ module Google
883
889
  end
884
890
  end
885
891
 
892
+ # The revision reference specifies which revision on the document to read.
893
+ class GoogleCloudDocumentaiUiv1beta3RevisionRef
894
+ include Google::Apis::Core::Hashable
895
+
896
+ # Reads the revision generated by the processor version. The format takes the
897
+ # full resource name of processor version. `projects/`project`/locations/`
898
+ # location`/processors/`processor`/processorVersions/`processorVersion``
899
+ # Corresponds to the JSON property `latestProcessorVersion`
900
+ # @return [String]
901
+ attr_accessor :latest_processor_version
902
+
903
+ # Reads the revision by the predefined case.
904
+ # Corresponds to the JSON property `revisionCase`
905
+ # @return [String]
906
+ attr_accessor :revision_case
907
+
908
+ # Reads the revision given by the id.
909
+ # Corresponds to the JSON property `revisionId`
910
+ # @return [String]
911
+ attr_accessor :revision_id
912
+
913
+ def initialize(**args)
914
+ update!(**args)
915
+ end
916
+
917
+ # Update properties of this object
918
+ def update!(**args)
919
+ @latest_processor_version = args[:latest_processor_version] if args.key?(:latest_processor_version)
920
+ @revision_case = args[:revision_case] if args.key?(:revision_case)
921
+ @revision_id = args[:revision_id] if args.key?(:revision_id)
922
+ end
923
+ end
924
+
886
925
  # The revision reference specifies which revision on the document to read.
887
926
  class GoogleCloudDocumentaiUiv1beta3RevisionReference
888
927
  include Google::Apis::Core::Hashable
889
928
 
890
- # Read the revision generated by the processor version, returns error if it does
891
- # not exist.
929
+ # Reads the revision generated by the processor version.
892
930
  # Corresponds to the JSON property `latestProcessorVersion`
893
931
  # @return [String]
894
932
  attr_accessor :latest_processor_version
895
933
 
896
- # Read the revision by the predefined case.
934
+ # Reads the revision by the predefined case.
897
935
  # Corresponds to the JSON property `revisionCase`
898
936
  # @return [String]
899
937
  attr_accessor :revision_case
900
938
 
901
- # Read the revision given by the id, returns error if it does not exist.
939
+ # Reads the revision given by the id.
902
940
  # Corresponds to the JSON property `revisionId`
903
941
  # @return [String]
904
942
  attr_accessor :revision_id
@@ -1567,68 +1605,6 @@ module Google
1567
1605
  end
1568
1606
  end
1569
1607
 
1570
- # The long running operation metadata for AnalyzeHitlData.
1571
- class GoogleCloudDocumentaiV1alpha1AnalyzeHitlDataMetadata
1572
- include Google::Apis::Core::Hashable
1573
-
1574
- # The common metadata for long running operations.
1575
- # Corresponds to the JSON property `commonMetadata`
1576
- # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1alpha1CommonOperationMetadata]
1577
- attr_accessor :common_metadata
1578
-
1579
- def initialize(**args)
1580
- update!(**args)
1581
- end
1582
-
1583
- # Update properties of this object
1584
- def update!(**args)
1585
- @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
1586
- end
1587
- end
1588
-
1589
- # The common metadata for long running operations.
1590
- class GoogleCloudDocumentaiV1alpha1CommonOperationMetadata
1591
- include Google::Apis::Core::Hashable
1592
-
1593
- # The creation time of the operation.
1594
- # Corresponds to the JSON property `createTime`
1595
- # @return [String]
1596
- attr_accessor :create_time
1597
-
1598
- # A related resource to this operation.
1599
- # Corresponds to the JSON property `resource`
1600
- # @return [String]
1601
- attr_accessor :resource
1602
-
1603
- # The state of the operation.
1604
- # Corresponds to the JSON property `state`
1605
- # @return [String]
1606
- attr_accessor :state
1607
-
1608
- # A message providing more details about the current state of processing.
1609
- # Corresponds to the JSON property `stateMessage`
1610
- # @return [String]
1611
- attr_accessor :state_message
1612
-
1613
- # The last update time of the operation.
1614
- # Corresponds to the JSON property `updateTime`
1615
- # @return [String]
1616
- attr_accessor :update_time
1617
-
1618
- def initialize(**args)
1619
- update!(**args)
1620
- end
1621
-
1622
- # Update properties of this object
1623
- def update!(**args)
1624
- @create_time = args[:create_time] if args.key?(:create_time)
1625
- @resource = args[:resource] if args.key?(:resource)
1626
- @state = args[:state] if args.key?(:state)
1627
- @state_message = args[:state_message] if args.key?(:state_message)
1628
- @update_time = args[:update_time] if args.key?(:update_time)
1629
- end
1630
- end
1631
-
1632
1608
  # Encodes the detailed information of a barcode.
1633
1609
  class GoogleCloudDocumentaiV1beta1Barcode
1634
1610
  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.51.0"
19
+ GEM_VERSION = "0.53.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.11.0"
22
+ GENERATOR_VERSION = "0.11.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20221201"
25
+ REVISION = "20230113"
26
26
  end
27
27
  end
28
28
  end
@@ -238,6 +238,12 @@ module Google
238
238
  include Google::Apis::Core::JsonObjectSupport
239
239
  end
240
240
 
241
+ class GoogleCloudDocumentaiUiv1beta3RevisionRef
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
241
247
  class GoogleCloudDocumentaiUiv1beta3RevisionReference
242
248
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
249
 
@@ -418,18 +424,6 @@ module Google
418
424
  include Google::Apis::Core::JsonObjectSupport
419
425
  end
420
426
 
421
- class GoogleCloudDocumentaiV1alpha1AnalyzeHitlDataMetadata
422
- class Representation < Google::Apis::Core::JsonRepresentation; end
423
-
424
- include Google::Apis::Core::JsonObjectSupport
425
- end
426
-
427
- class GoogleCloudDocumentaiV1alpha1CommonOperationMetadata
428
- class Representation < Google::Apis::Core::JsonRepresentation; end
429
-
430
- include Google::Apis::Core::JsonObjectSupport
431
- end
432
-
433
427
  class GoogleCloudDocumentaiV1beta1Barcode
434
428
  class Representation < Google::Apis::Core::JsonRepresentation; end
435
429
 
@@ -1392,6 +1386,8 @@ module Google
1392
1386
  class Representation < Google::Apis::Core::JsonRepresentation
1393
1387
  property :gcs_managed_doc_id, as: 'gcsManagedDocId', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3DocumentIdGcsManagedDocumentId, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3DocumentIdGcsManagedDocumentId::Representation
1394
1388
 
1389
+ property :revision_ref, as: 'revisionRef', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3RevisionRef, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3RevisionRef::Representation
1390
+
1395
1391
  property :revision_reference, as: 'revisionReference', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3RevisionReference, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiUiv1beta3RevisionReference::Representation
1396
1392
 
1397
1393
  end
@@ -1562,6 +1558,15 @@ module Google
1562
1558
  end
1563
1559
  end
1564
1560
 
1561
+ class GoogleCloudDocumentaiUiv1beta3RevisionRef
1562
+ # @private
1563
+ class Representation < Google::Apis::Core::JsonRepresentation
1564
+ property :latest_processor_version, as: 'latestProcessorVersion'
1565
+ property :revision_case, as: 'revisionCase'
1566
+ property :revision_id, as: 'revisionId'
1567
+ end
1568
+ end
1569
+
1565
1570
  class GoogleCloudDocumentaiUiv1beta3RevisionReference
1566
1571
  # @private
1567
1572
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1808,25 +1813,6 @@ module Google
1808
1813
  end
1809
1814
  end
1810
1815
 
1811
- class GoogleCloudDocumentaiV1alpha1AnalyzeHitlDataMetadata
1812
- # @private
1813
- class Representation < Google::Apis::Core::JsonRepresentation
1814
- property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1alpha1CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1alpha1CommonOperationMetadata::Representation
1815
-
1816
- end
1817
- end
1818
-
1819
- class GoogleCloudDocumentaiV1alpha1CommonOperationMetadata
1820
- # @private
1821
- class Representation < Google::Apis::Core::JsonRepresentation
1822
- property :create_time, as: 'createTime'
1823
- property :resource, as: 'resource'
1824
- property :state, as: 'state'
1825
- property :state_message, as: 'stateMessage'
1826
- property :update_time, as: 'updateTime'
1827
- end
1828
- end
1829
-
1830
1816
  class GoogleCloudDocumentaiV1beta1Barcode
1831
1817
  # @private
1832
1818
  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.51.0
4
+ version: 0.53.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-12-12 00:00:00.000000000 Z
11
+ date: 2023-01-22 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.51.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta2/v0.53.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.14
78
+ rubygems_version: 3.4.2
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Document AI API V1beta2