google-apis-documentai_v1beta3 0.71.0 → 0.73.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/documentai_v1beta3/classes.rb +267 -184
- data/lib/google/apis/documentai_v1beta3/gem_version.rb +2 -2
- data/lib/google/apis/documentai_v1beta3/representations.rb +56 -0
- data/lib/google/apis/documentai_v1beta3/service.rb +18 -21
- metadata +3 -3
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DocumentaiV1beta3
|
18
18
|
# Version of the google-apis-documentai_v1beta3 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.73.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
|
|
@@ -1970,6 +1994,8 @@ module Google
|
|
1970
1994
|
|
1971
1995
|
property :revision_ref, as: 'revisionRef', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3RevisionRef, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3RevisionRef::Representation
|
1972
1996
|
|
1997
|
+
property :unmanaged_doc_id, as: 'unmanagedDocId', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3DocumentIdUnmanagedDocumentId, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3DocumentIdUnmanagedDocumentId::Representation
|
1998
|
+
|
1973
1999
|
end
|
1974
2000
|
end
|
1975
2001
|
|
@@ -1981,6 +2007,13 @@ module Google
|
|
1981
2007
|
end
|
1982
2008
|
end
|
1983
2009
|
|
2010
|
+
class GoogleCloudDocumentaiUiv1beta3DocumentIdUnmanagedDocumentId
|
2011
|
+
# @private
|
2012
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2013
|
+
property :doc_id, as: 'docId'
|
2014
|
+
end
|
2015
|
+
end
|
2016
|
+
|
1984
2017
|
class GoogleCloudDocumentaiUiv1beta3EnableProcessorMetadata
|
1985
2018
|
# @private
|
1986
2019
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2162,6 +2195,29 @@ module Google
|
|
2162
2195
|
end
|
2163
2196
|
end
|
2164
2197
|
|
2198
|
+
class GoogleCloudDocumentaiUiv1beta3SampleDocumentsMetadata
|
2199
|
+
# @private
|
2200
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2201
|
+
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
|
2202
|
+
|
2203
|
+
end
|
2204
|
+
end
|
2205
|
+
|
2206
|
+
class GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponse
|
2207
|
+
# @private
|
2208
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2209
|
+
collection :selected_documents, as: 'selectedDocuments', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument::Representation
|
2210
|
+
|
2211
|
+
end
|
2212
|
+
end
|
2213
|
+
|
2214
|
+
class GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument
|
2215
|
+
# @private
|
2216
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2217
|
+
property :document_id, as: 'documentId'
|
2218
|
+
end
|
2219
|
+
end
|
2220
|
+
|
2165
2221
|
class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata
|
2166
2222
|
# @private
|
2167
2223
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -54,9 +54,8 @@ module Google
|
|
54
54
|
# Fetches processor types. Note that we don't use ListProcessorTypes here,
|
55
55
|
# because it isn't paginated.
|
56
56
|
# @param [String] parent
|
57
|
-
# Required. The
|
58
|
-
#
|
59
|
-
# locations/`location``
|
57
|
+
# Required. The location of processor types to list. Format: `projects/`project`/
|
58
|
+
# locations/`location``.
|
60
59
|
# @param [String] fields
|
61
60
|
# Selector specifying which fields to include in a partial response.
|
62
61
|
# @param [String] quota_user
|
@@ -297,13 +296,12 @@ module Google
|
|
297
296
|
|
298
297
|
# Lists the processor types that exist.
|
299
298
|
# @param [String] parent
|
300
|
-
# Required. The location of processor
|
301
|
-
#
|
302
|
-
# locations/`location``
|
299
|
+
# Required. The location of processor types to list. Format: `projects/`project`/
|
300
|
+
# locations/`location``.
|
303
301
|
# @param [Fixnum] page_size
|
304
|
-
# The maximum number of processor types to return. If unspecified, at most 100
|
305
|
-
# processor types will be returned. The maximum value is 500
|
306
|
-
# will be coerced to 500
|
302
|
+
# The maximum number of processor types to return. If unspecified, at most `100`
|
303
|
+
# processor types will be returned. The maximum value is `500`. Values above `
|
304
|
+
# 500` will be coerced to `500`.
|
307
305
|
# @param [String] page_token
|
308
306
|
# Used to retrieve the next page of results, empty if at the end of the list.
|
309
307
|
# @param [String] fields
|
@@ -372,8 +370,8 @@ module Google
|
|
372
370
|
execute_or_queue_command(command, &block)
|
373
371
|
end
|
374
372
|
|
375
|
-
# Creates a processor from the
|
376
|
-
#
|
373
|
+
# Creates a processor from the ProcessorType provided. The processor will be at `
|
374
|
+
# ENABLED` state by default after its creation.
|
377
375
|
# @param [String] parent
|
378
376
|
# Required. The parent (project and location) under which to create the
|
379
377
|
# processor. Format: `projects/`project`/locations/`location``
|
@@ -539,9 +537,9 @@ module Google
|
|
539
537
|
# Required. The parent (project and location) which owns this collection of
|
540
538
|
# Processors. Format: `projects/`project`/locations/`location``
|
541
539
|
# @param [Fixnum] page_size
|
542
|
-
# The maximum number of processors to return. If unspecified, at most 50
|
543
|
-
# processors will be returned. The maximum value is 100
|
544
|
-
# be coerced to 100
|
540
|
+
# The maximum number of processors to return. If unspecified, at most `50`
|
541
|
+
# processors will be returned. The maximum value is `100`. Values above `100`
|
542
|
+
# will be coerced to `100`.
|
545
543
|
# @param [String] page_token
|
546
544
|
# We will return the processors sorted by creation time. The page token will
|
547
545
|
# point to the next processor.
|
@@ -886,9 +884,9 @@ module Google
|
|
886
884
|
# Required. The parent (project, location and processor) to list all versions.
|
887
885
|
# Format: `projects/`project`/locations/`location`/processors/`processor``
|
888
886
|
# @param [Fixnum] page_size
|
889
|
-
# The maximum number of processor versions to return. If unspecified, at most
|
890
|
-
# processor versions will be returned. The maximum value is 20
|
891
|
-
# will be coerced to 20
|
887
|
+
# The maximum number of processor versions to return. If unspecified, at most `
|
888
|
+
# 10` processor versions will be returned. The maximum value is `20`. Values
|
889
|
+
# above `20` will be coerced to `20`.
|
892
890
|
# @param [String] page_token
|
893
891
|
# We will return the processor versions sorted by creation time. The page token
|
894
892
|
# will point to the next processor version.
|
@@ -959,7 +957,7 @@ module Google
|
|
959
957
|
end
|
960
958
|
|
961
959
|
# Trains a new processor version. Operation metadata is returned as
|
962
|
-
#
|
960
|
+
# TrainProcessorVersionMetadata.
|
963
961
|
# @param [String] parent
|
964
962
|
# Required. The parent (project, location and processor) to create the new
|
965
963
|
# version for. Format: `projects/`project`/locations/`location`/processors/`
|
@@ -1065,9 +1063,8 @@ module Google
|
|
1065
1063
|
# projects/`project`/locations/`location`/processors/`processor`/
|
1066
1064
|
# processorVersions/`processorVersion``
|
1067
1065
|
# @param [Fixnum] page_size
|
1068
|
-
# The standard list page size. If unspecified, at most `5` evaluations
|
1069
|
-
# returned. The maximum value is `100
|
1070
|
-
# 100`.
|
1066
|
+
# The standard list page size. If unspecified, at most `5` evaluations are
|
1067
|
+
# returned. The maximum value is `100`. Values above `100` are coerced to `100`.
|
1071
1068
|
# @param [String] page_token
|
1072
1069
|
# A page token, received from a previous `ListEvaluations` call. Provide this to
|
1073
1070
|
# retrieve the subsequent page.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-documentai_v1beta3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.73.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_v1beta3/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.73.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1beta3
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|