google-apis-documentai_v1 0.60.0 → 0.62.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: 88f862115772711f15bab861dd6a4f3334de28237e8525f0b3960b6dc509ed8b
4
- data.tar.gz: 022aa10c1b90a5f439c10ba3993b6cd0e3b91d145aac594db791d6b0fa19ed81
3
+ metadata.gz: d4f8e8fffa25e5250839993a33191b064894abd95b1b8f903085fe52b194df53
4
+ data.tar.gz: 8218c8aa20bdeb8d272c1e45a6ed0b1e5fbdc3be6c004ed2524a80076413c110
5
5
  SHA512:
6
- metadata.gz: 4ed6cf9a7c74c5ef8802a33dfb286b2217b39591d8e34641e9dd0bc5f2df1d921b7152385eab2d21eddedbf555c33eeb5d8e4e7f613b64686231a8ff90abe05f
7
- data.tar.gz: 90c290e2ba42525fa1848d8a8b6dd9cfd96e72bd8caf010d0bf1701d846d608495de9c7c0ee724b95f78585ea8c0b48be7d3a1b34b98c2544e3affec0b9757ce
6
+ metadata.gz: c22e0189adb35d385ba314d9b12a58827ff1235c34f232aa834fa01e66f7a08ca73daccb65f319338560c70ad386df487d476edc8eb031fa9f83e9e4e9b835a4
7
+ data.tar.gz: adcbe7385efa26ca6e738c73325d138384cbf26595881b8f88ba7110e426f66ced0a61d2bb2642d5a637b392ce953e11f2202a749ce00808ec759f6b01fd2b6f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-documentai_v1
2
2
 
3
+ ### v0.62.0 (2023-03-19)
4
+
5
+ * Regenerated from discovery document revision 20230310
6
+
7
+ ### v0.61.0 (2023-03-12)
8
+
9
+ * Regenerated from discovery document revision 20230302
10
+
3
11
  ### v0.60.0 (2023-02-26)
4
12
 
5
13
  * 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
@@ -9003,6 +9078,44 @@ module Google
9003
9078
  end
9004
9079
  end
9005
9080
 
9081
+ # The long running operation metadata for the ImportProcessorVersion method.
9082
+ class GoogleCloudDocumentaiV1beta3ImportProcessorVersionMetadata
9083
+ include Google::Apis::Core::Hashable
9084
+
9085
+ # The common metadata for long running operations.
9086
+ # Corresponds to the JSON property `commonMetadata`
9087
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3CommonOperationMetadata]
9088
+ attr_accessor :common_metadata
9089
+
9090
+ def initialize(**args)
9091
+ update!(**args)
9092
+ end
9093
+
9094
+ # Update properties of this object
9095
+ def update!(**args)
9096
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
9097
+ end
9098
+ end
9099
+
9100
+ # The response message for the ImportProcessorVersion method.
9101
+ class GoogleCloudDocumentaiV1beta3ImportProcessorVersionResponse
9102
+ include Google::Apis::Core::Hashable
9103
+
9104
+ # The destination processor version name.
9105
+ # Corresponds to the JSON property `processorVersion`
9106
+ # @return [String]
9107
+ attr_accessor :processor_version
9108
+
9109
+ def initialize(**args)
9110
+ update!(**args)
9111
+ end
9112
+
9113
+ # Update properties of this object
9114
+ def update!(**args)
9115
+ @processor_version = args[:processor_version] if args.key?(:processor_version)
9116
+ end
9117
+ end
9118
+
9006
9119
  # The long running operation metadata for review document method.
9007
9120
  class GoogleCloudDocumentaiV1beta3ReviewDocumentOperationMetadata
9008
9121
  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.62.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 = "20230310"
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
 
@@ -1600,6 +1618,18 @@ module Google
1600
1618
  include Google::Apis::Core::JsonObjectSupport
1601
1619
  end
1602
1620
 
1621
+ class GoogleCloudDocumentaiV1beta3ImportProcessorVersionMetadata
1622
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1623
+
1624
+ include Google::Apis::Core::JsonObjectSupport
1625
+ end
1626
+
1627
+ class GoogleCloudDocumentaiV1beta3ImportProcessorVersionResponse
1628
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1629
+
1630
+ include Google::Apis::Core::JsonObjectSupport
1631
+ end
1632
+
1603
1633
  class GoogleCloudDocumentaiV1beta3ReviewDocumentOperationMetadata
1604
1634
  class Representation < Google::Apis::Core::JsonRepresentation; end
1605
1635
 
@@ -1726,6 +1756,32 @@ module Google
1726
1756
  include Google::Apis::Core::JsonObjectSupport
1727
1757
  end
1728
1758
 
1759
+ class GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadata
1760
+ # @private
1761
+ class Representation < Google::Apis::Core::JsonRepresentation
1762
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1763
+
1764
+ collection :individual_auto_label_statuses, as: 'individualAutoLabelStatuses', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadataIndividualAutoLabelStatus, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadataIndividualAutoLabelStatus::Representation
1765
+
1766
+ property :total_document_count, as: 'totalDocumentCount'
1767
+ end
1768
+ end
1769
+
1770
+ class GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadataIndividualAutoLabelStatus
1771
+ # @private
1772
+ class Representation < Google::Apis::Core::JsonRepresentation
1773
+ property :gcs_uri, as: 'gcsUri'
1774
+ property :status, as: 'status', class: Google::Apis::DocumentaiV1::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1::GoogleRpcStatus::Representation
1775
+
1776
+ end
1777
+ end
1778
+
1779
+ class GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsResponse
1780
+ # @private
1781
+ class Representation < Google::Apis::Core::JsonRepresentation
1782
+ end
1783
+ end
1784
+
1729
1785
  class GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata
1730
1786
  # @private
1731
1787
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4450,6 +4506,21 @@ module Google
4450
4506
  end
4451
4507
  end
4452
4508
 
4509
+ class GoogleCloudDocumentaiV1beta3ImportProcessorVersionMetadata
4510
+ # @private
4511
+ class Representation < Google::Apis::Core::JsonRepresentation
4512
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3CommonOperationMetadata::Representation
4513
+
4514
+ end
4515
+ end
4516
+
4517
+ class GoogleCloudDocumentaiV1beta3ImportProcessorVersionResponse
4518
+ # @private
4519
+ class Representation < Google::Apis::Core::JsonRepresentation
4520
+ property :processor_version, as: 'processorVersion'
4521
+ end
4522
+ end
4523
+
4453
4524
  class GoogleCloudDocumentaiV1beta3ReviewDocumentOperationMetadata
4454
4525
  # @private
4455
4526
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -259,13 +259,7 @@ module Google
259
259
  end
260
260
 
261
261
  # Lists operations that match the specified filter in the request. If the server
262
- # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
263
- # binding allows API services to override the binding to use different resource
264
- # name schemes, such as `users/*/operations`. To override the binding, API
265
- # services can add a binding such as `"/v1/`name=users/*`/operations"` to their
266
- # service configuration. For backwards compatibility, the default name includes
267
- # the operations collection id, however overriding users must ensure the name
268
- # binding is the parent resource, without the operations collection id.
262
+ # doesn't support this method, it returns `UNIMPLEMENTED`.
269
263
  # @param [String] name
270
264
  # The name of the operation's parent resource.
271
265
  # @param [String] filter
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.62.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-19 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.62.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: []