google-apis-documentai_v1 0.60.0 → 0.61.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: 88f862115772711f15bab861dd6a4f3334de28237e8525f0b3960b6dc509ed8b
4
- data.tar.gz: 022aa10c1b90a5f439c10ba3993b6cd0e3b91d145aac594db791d6b0fa19ed81
3
+ metadata.gz: 8b77c80140b3519067856fbddedf31a081b09e2e734348cdb094d8541505a7b9
4
+ data.tar.gz: 483019ee69ef48536d864427bdf1231d7690d6d78b8febe95a387cd2005aff2f
5
5
  SHA512:
6
- metadata.gz: 4ed6cf9a7c74c5ef8802a33dfb286b2217b39591d8e34641e9dd0bc5f2df1d921b7152385eab2d21eddedbf555c33eeb5d8e4e7f613b64686231a8ff90abe05f
7
- data.tar.gz: 90c290e2ba42525fa1848d8a8b6dd9cfd96e72bd8caf010d0bf1701d846d608495de9c7c0ee724b95f78585ea8c0b48be7d3a1b34b98c2544e3affec0b9757ce
6
+ metadata.gz: ee75b05a3a70f370283adab50198aadb88b0850ab0aa03e4b8ae2b761b861a245d600ce58db96fae24c019a48b770af9af92c34c282da130fb87d17ba61cee4f
7
+ data.tar.gz: 1472895f8cbe3a62394551b2cf20345a812838e61c89c39278bc7204acc1b077cea18ec4aa5e89be524a4675e24f89830ce9b0f39bb2f6b7ccf0c2b91a961f52
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-documentai_v1
2
2
 
3
+ ### v0.61.0 (2023-03-12)
4
+
5
+ * Regenerated from discovery document revision 20230302
6
+
3
7
  ### v0.60.0 (2023-02-26)
4
8
 
5
9
  * Regenerated from discovery document revision 20230218
@@ -22,6 +22,81 @@ module Google
22
22
  module Apis
23
23
  module DocumentaiV1
24
24
 
25
+ # Metadata of the auto-labeling documents operation.
26
+ class GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadata
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # The common metadata for long running operations.
30
+ # Corresponds to the JSON property `commonMetadata`
31
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
32
+ attr_accessor :common_metadata
33
+
34
+ # The list of individual auto-labeling statuses of the dataset documents.
35
+ # Corresponds to the JSON property `individualAutoLabelStatuses`
36
+ # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadataIndividualAutoLabelStatus>]
37
+ attr_accessor :individual_auto_label_statuses
38
+
39
+ # Total number of the auto-labeling documents.
40
+ # Corresponds to the JSON property `totalDocumentCount`
41
+ # @return [Fixnum]
42
+ attr_accessor :total_document_count
43
+
44
+ def initialize(**args)
45
+ update!(**args)
46
+ end
47
+
48
+ # Update properties of this object
49
+ def update!(**args)
50
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
51
+ @individual_auto_label_statuses = args[:individual_auto_label_statuses] if args.key?(:individual_auto_label_statuses)
52
+ @total_document_count = args[:total_document_count] if args.key?(:total_document_count)
53
+ end
54
+ end
55
+
56
+ # The status of individual documents in the auto-labeling process.
57
+ class GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadataIndividualAutoLabelStatus
58
+ include Google::Apis::Core::Hashable
59
+
60
+ # The gcs_uri of the auto-labeling document, which uniquely identifies a dataset
61
+ # document.
62
+ # Corresponds to the JSON property `gcsUri`
63
+ # @return [String]
64
+ attr_accessor :gcs_uri
65
+
66
+ # The `Status` type defines a logical error model that is suitable for different
67
+ # programming environments, including REST APIs and RPC APIs. It is used by [
68
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
69
+ # data: error code, error message, and error details. You can find out more
70
+ # about this error model and how to work with it in the [API Design Guide](https:
71
+ # //cloud.google.com/apis/design/errors).
72
+ # Corresponds to the JSON property `status`
73
+ # @return [Google::Apis::DocumentaiV1::GoogleRpcStatus]
74
+ attr_accessor :status
75
+
76
+ def initialize(**args)
77
+ update!(**args)
78
+ end
79
+
80
+ # Update properties of this object
81
+ def update!(**args)
82
+ @gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
83
+ @status = args[:status] if args.key?(:status)
84
+ end
85
+ end
86
+
87
+ # The response proto of AutoLabelDocuments method.
88
+ class GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsResponse
89
+ include Google::Apis::Core::Hashable
90
+
91
+ def initialize(**args)
92
+ update!(**args)
93
+ end
94
+
95
+ # Update properties of this object
96
+ def update!(**args)
97
+ end
98
+ end
99
+
25
100
  #
26
101
  class GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata
27
102
  include Google::Apis::Core::Hashable
@@ -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.60.0"
19
+ GEM_VERSION = "0.61.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230218"
25
+ REVISION = "20230302"
26
26
  end
27
27
  end
28
28
  end
@@ -22,6 +22,24 @@ module Google
22
22
  module Apis
23
23
  module DocumentaiV1
24
24
 
25
+ class GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadata
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadataIndividualAutoLabelStatus
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsResponse
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
25
43
  class GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata
26
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
45
 
@@ -1726,6 +1744,32 @@ module Google
1726
1744
  include Google::Apis::Core::JsonObjectSupport
1727
1745
  end
1728
1746
 
1747
+ class GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadata
1748
+ # @private
1749
+ class Representation < Google::Apis::Core::JsonRepresentation
1750
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1751
+
1752
+ collection :individual_auto_label_statuses, as: 'individualAutoLabelStatuses', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadataIndividualAutoLabelStatus, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadataIndividualAutoLabelStatus::Representation
1753
+
1754
+ property :total_document_count, as: 'totalDocumentCount'
1755
+ end
1756
+ end
1757
+
1758
+ class GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadataIndividualAutoLabelStatus
1759
+ # @private
1760
+ class Representation < Google::Apis::Core::JsonRepresentation
1761
+ property :gcs_uri, as: 'gcsUri'
1762
+ property :status, as: 'status', class: Google::Apis::DocumentaiV1::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1::GoogleRpcStatus::Representation
1763
+
1764
+ end
1765
+ end
1766
+
1767
+ class GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsResponse
1768
+ # @private
1769
+ class Representation < Google::Apis::Core::JsonRepresentation
1770
+ end
1771
+ end
1772
+
1729
1773
  class GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata
1730
1774
  # @private
1731
1775
  class Representation < Google::Apis::Core::JsonRepresentation
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.60.0
4
+ version: 0.61.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-02-26 00:00:00.000000000 Z
11
+ date: 2023-03-12 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.60.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.61.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: []