google-apis-documentai_v1 0.63.0 → 0.65.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.
@@ -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.
|
19
|
+
GEM_VERSION = "0.65.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 = "
|
25
|
+
REVISION = "20230519"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -142,6 +142,12 @@ module Google
|
|
142
142
|
include Google::Apis::Core::JsonObjectSupport
|
143
143
|
end
|
144
144
|
|
145
|
+
class GoogleCloudDocumentaiUiv1beta3DocumentIdUnmanagedDocumentId
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
145
151
|
class GoogleCloudDocumentaiUiv1beta3EnableProcessorMetadata
|
146
152
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
153
|
|
@@ -268,6 +274,24 @@ module Google
|
|
268
274
|
include Google::Apis::Core::JsonObjectSupport
|
269
275
|
end
|
270
276
|
|
277
|
+
class GoogleCloudDocumentaiUiv1beta3SampleDocumentsMetadata
|
278
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
|
+
|
280
|
+
include Google::Apis::Core::JsonObjectSupport
|
281
|
+
end
|
282
|
+
|
283
|
+
class GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponse
|
284
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
|
+
|
286
|
+
include Google::Apis::Core::JsonObjectSupport
|
287
|
+
end
|
288
|
+
|
289
|
+
class GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument
|
290
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
|
+
|
292
|
+
include Google::Apis::Core::JsonObjectSupport
|
293
|
+
end
|
294
|
+
|
271
295
|
class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata
|
272
296
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
297
|
|
@@ -1934,6 +1958,8 @@ module Google
|
|
1934
1958
|
|
1935
1959
|
property :revision_ref, as: 'revisionRef', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3RevisionRef, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3RevisionRef::Representation
|
1936
1960
|
|
1961
|
+
property :unmanaged_doc_id, as: 'unmanagedDocId', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3DocumentIdUnmanagedDocumentId, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3DocumentIdUnmanagedDocumentId::Representation
|
1962
|
+
|
1937
1963
|
end
|
1938
1964
|
end
|
1939
1965
|
|
@@ -1945,6 +1971,13 @@ module Google
|
|
1945
1971
|
end
|
1946
1972
|
end
|
1947
1973
|
|
1974
|
+
class GoogleCloudDocumentaiUiv1beta3DocumentIdUnmanagedDocumentId
|
1975
|
+
# @private
|
1976
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1977
|
+
property :doc_id, as: 'docId'
|
1978
|
+
end
|
1979
|
+
end
|
1980
|
+
|
1948
1981
|
class GoogleCloudDocumentaiUiv1beta3EnableProcessorMetadata
|
1949
1982
|
# @private
|
1950
1983
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2126,6 +2159,29 @@ module Google
|
|
2126
2159
|
end
|
2127
2160
|
end
|
2128
2161
|
|
2162
|
+
class GoogleCloudDocumentaiUiv1beta3SampleDocumentsMetadata
|
2163
|
+
# @private
|
2164
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2165
|
+
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
|
2166
|
+
|
2167
|
+
end
|
2168
|
+
end
|
2169
|
+
|
2170
|
+
class GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponse
|
2171
|
+
# @private
|
2172
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2173
|
+
collection :selected_documents, as: 'selectedDocuments', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument::Representation
|
2174
|
+
|
2175
|
+
end
|
2176
|
+
end
|
2177
|
+
|
2178
|
+
class GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument
|
2179
|
+
# @private
|
2180
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2181
|
+
property :document_id, as: 'documentId'
|
2182
|
+
end
|
2183
|
+
end
|
2184
|
+
|
2129
2185
|
class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata
|
2130
2186
|
# @private
|
2131
2187
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -87,9 +87,8 @@ module Google
|
|
87
87
|
# Fetches processor types. Note that we don't use ListProcessorTypes here,
|
88
88
|
# because it isn't paginated.
|
89
89
|
# @param [String] parent
|
90
|
-
# Required. The
|
91
|
-
#
|
92
|
-
# locations/`location``
|
90
|
+
# Required. The location of processor types to list. Format: `projects/`project`/
|
91
|
+
# locations/`location``.
|
93
92
|
# @param [String] fields
|
94
93
|
# Selector specifying which fields to include in a partial response.
|
95
94
|
# @param [String] quota_user
|
@@ -330,13 +329,12 @@ module Google
|
|
330
329
|
|
331
330
|
# Lists the processor types that exist.
|
332
331
|
# @param [String] parent
|
333
|
-
# Required. The location of processor
|
334
|
-
#
|
335
|
-
# locations/`location``
|
332
|
+
# Required. The location of processor types to list. Format: `projects/`project`/
|
333
|
+
# locations/`location``.
|
336
334
|
# @param [Fixnum] page_size
|
337
|
-
# The maximum number of processor types to return. If unspecified, at most 100
|
338
|
-
# processor types will be returned. The maximum value is 500
|
339
|
-
# will be coerced to 500
|
335
|
+
# The maximum number of processor types to return. If unspecified, at most `100`
|
336
|
+
# processor types will be returned. The maximum value is `500`. Values above `
|
337
|
+
# 500` will be coerced to `500`.
|
340
338
|
# @param [String] page_token
|
341
339
|
# Used to retrieve the next page of results, empty if at the end of the list.
|
342
340
|
# @param [String] fields
|
@@ -405,8 +403,8 @@ module Google
|
|
405
403
|
execute_or_queue_command(command, &block)
|
406
404
|
end
|
407
405
|
|
408
|
-
# Creates a processor from the
|
409
|
-
#
|
406
|
+
# Creates a processor from the ProcessorType provided. The processor will be at `
|
407
|
+
# ENABLED` state by default after its creation.
|
410
408
|
# @param [String] parent
|
411
409
|
# Required. The parent (project and location) under which to create the
|
412
410
|
# processor. Format: `projects/`project`/locations/`location``
|
@@ -572,9 +570,9 @@ module Google
|
|
572
570
|
# Required. The parent (project and location) which owns this collection of
|
573
571
|
# Processors. Format: `projects/`project`/locations/`location``
|
574
572
|
# @param [Fixnum] page_size
|
575
|
-
# The maximum number of processors to return. If unspecified, at most 50
|
576
|
-
# processors will be returned. The maximum value is 100
|
577
|
-
# be coerced to 100
|
573
|
+
# The maximum number of processors to return. If unspecified, at most `50`
|
574
|
+
# processors will be returned. The maximum value is `100`. Values above `100`
|
575
|
+
# will be coerced to `100`.
|
578
576
|
# @param [String] page_token
|
579
577
|
# We will return the processors sorted by creation time. The page token will
|
580
578
|
# point to the next processor.
|
@@ -885,9 +883,9 @@ module Google
|
|
885
883
|
# Required. The parent (project, location and processor) to list all versions.
|
886
884
|
# Format: `projects/`project`/locations/`location`/processors/`processor``
|
887
885
|
# @param [Fixnum] page_size
|
888
|
-
# The maximum number of processor versions to return. If unspecified, at most
|
889
|
-
# processor versions will be returned. The maximum value is 20
|
890
|
-
# will be coerced to 20
|
886
|
+
# The maximum number of processor versions to return. If unspecified, at most `
|
887
|
+
# 10` processor versions will be returned. The maximum value is `20`. Values
|
888
|
+
# above `20` will be coerced to `20`.
|
891
889
|
# @param [String] page_token
|
892
890
|
# We will return the processor versions sorted by creation time. The page token
|
893
891
|
# will point to the next processor version.
|
@@ -958,7 +956,7 @@ module Google
|
|
958
956
|
end
|
959
957
|
|
960
958
|
# Trains a new processor version. Operation metadata is returned as
|
961
|
-
#
|
959
|
+
# TrainProcessorVersionMetadata.
|
962
960
|
# @param [String] parent
|
963
961
|
# Required. The parent (project, location and processor) to create the new
|
964
962
|
# version for. Format: `projects/`project`/locations/`location`/processors/`
|
@@ -1064,9 +1062,8 @@ module Google
|
|
1064
1062
|
# projects/`project`/locations/`location`/processors/`processor`/
|
1065
1063
|
# processorVersions/`processorVersion``
|
1066
1064
|
# @param [Fixnum] page_size
|
1067
|
-
# The standard list page size. If unspecified, at most `5` evaluations
|
1068
|
-
# returned. The maximum value is `100
|
1069
|
-
# 100`.
|
1065
|
+
# The standard list page size. If unspecified, at most `5` evaluations are
|
1066
|
+
# returned. The maximum value is `100`. Values above `100` are coerced to `100`.
|
1070
1067
|
# @param [String] page_token
|
1071
1068
|
# A page token, received from a previous `ListEvaluations` call. Provide this to
|
1072
1069
|
# retrieve the subsequent page.
|
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.
|
4
|
+
version: 0.65.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-
|
11
|
+
date: 2023-05-28 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.65.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: []
|