google-apis-documentai_v1beta3 0.59.0 → 0.60.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 +5 -0
- data/lib/google/apis/documentai_v1beta3/classes.rb +8 -71
- data/lib/google/apis/documentai_v1beta3/gem_version.rb +3 -3
- data/lib/google/apis/documentai_v1beta3/representations.rb +0 -31
- data/lib/google/apis/documentai_v1beta3/service.rb +30 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6e439c1209994c7d2699dc4675bf83ccc31a8bff142872f5d6c4e586f9df307b
|
4
|
+
data.tar.gz: '0908e509b02c52891e31535de3e1ea1e81dde17a597b5064fc2255badae94e66'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1dae6a4fd922fc916d28211d4bf693badc10159135a72e66f57edea6e5825f9792d28ace11fdfacce5bd756dca6b518cf9c15f0c9e73449135521b88f676ad4e
|
7
|
+
data.tar.gz: a7ba632f82ae9d7c70e6d6a323efb0cb3aca3f1083171e3cfe810b36b9e6b4547731c9d04b313b7ef456c60b8b2ba337becdd7e5b1e6d0e18b2148f03c1d727c
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-documentai_v1beta3
|
2
2
|
|
3
|
+
### v0.60.0 (2023-01-15)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230106
|
6
|
+
* Regenerated using generator version 0.11.1
|
7
|
+
|
3
8
|
### v0.59.0 (2022-12-07)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20221201
|
@@ -389,8 +389,8 @@ 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
|
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::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3DocumentIdGcsManagedDocumentId]
|
396
396
|
attr_accessor :gcs_managed_doc_id
|
@@ -411,12 +411,12 @@ module Google
|
|
411
411
|
end
|
412
412
|
end
|
413
413
|
|
414
|
-
# Identifies a document uniquely within the scope of a dataset in the
|
415
|
-
# option.
|
414
|
+
# Identifies a document uniquely within the scope of a dataset in the Cloud
|
415
|
+
# Storage option.
|
416
416
|
class GoogleCloudDocumentaiUiv1beta3DocumentIdGcsManagedDocumentId
|
417
417
|
include Google::Apis::Core::Hashable
|
418
418
|
|
419
|
-
#
|
419
|
+
# Id of the document (indexed) managed by Content Warehouse.
|
420
420
|
# Corresponds to the JSON property `cwDocId`
|
421
421
|
# @return [String]
|
422
422
|
attr_accessor :cw_doc_id
|
@@ -887,18 +887,17 @@ module Google
|
|
887
887
|
class GoogleCloudDocumentaiUiv1beta3RevisionReference
|
888
888
|
include Google::Apis::Core::Hashable
|
889
889
|
|
890
|
-
#
|
891
|
-
# not exist.
|
890
|
+
# Reads the revision generated by the processor version.
|
892
891
|
# Corresponds to the JSON property `latestProcessorVersion`
|
893
892
|
# @return [String]
|
894
893
|
attr_accessor :latest_processor_version
|
895
894
|
|
896
|
-
#
|
895
|
+
# Reads the revision by the predefined case.
|
897
896
|
# Corresponds to the JSON property `revisionCase`
|
898
897
|
# @return [String]
|
899
898
|
attr_accessor :revision_case
|
900
899
|
|
901
|
-
#
|
900
|
+
# Reads the revision given by the id.
|
902
901
|
# Corresponds to the JSON property `revisionId`
|
903
902
|
# @return [String]
|
904
903
|
attr_accessor :revision_id
|
@@ -1567,68 +1566,6 @@ module Google
|
|
1567
1566
|
end
|
1568
1567
|
end
|
1569
1568
|
|
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::DocumentaiV1beta3::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
1569
|
# Encodes the detailed information of a barcode.
|
1633
1570
|
class GoogleCloudDocumentaiV1beta1Barcode
|
1634
1571
|
include Google::Apis::Core::Hashable
|
@@ -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.60.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.11.
|
22
|
+
GENERATOR_VERSION = "0.11.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230106"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -418,18 +418,6 @@ module Google
|
|
418
418
|
include Google::Apis::Core::JsonObjectSupport
|
419
419
|
end
|
420
420
|
|
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
421
|
class GoogleCloudDocumentaiV1beta1Barcode
|
434
422
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
435
423
|
|
@@ -2276,25 +2264,6 @@ module Google
|
|
2276
2264
|
end
|
2277
2265
|
end
|
2278
2266
|
|
2279
|
-
class GoogleCloudDocumentaiV1alpha1AnalyzeHitlDataMetadata
|
2280
|
-
# @private
|
2281
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
2282
|
-
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1alpha1CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1alpha1CommonOperationMetadata::Representation
|
2283
|
-
|
2284
|
-
end
|
2285
|
-
end
|
2286
|
-
|
2287
|
-
class GoogleCloudDocumentaiV1alpha1CommonOperationMetadata
|
2288
|
-
# @private
|
2289
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
2290
|
-
property :create_time, as: 'createTime'
|
2291
|
-
property :resource, as: 'resource'
|
2292
|
-
property :state, as: 'state'
|
2293
|
-
property :state_message, as: 'stateMessage'
|
2294
|
-
property :update_time, as: 'updateTime'
|
2295
|
-
end
|
2296
|
-
end
|
2297
|
-
|
2298
2267
|
class GoogleCloudDocumentaiV1beta1Barcode
|
2299
2268
|
# @private
|
2300
2269
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -271,6 +271,36 @@ module Google
|
|
271
271
|
execute_or_queue_command(command, &block)
|
272
272
|
end
|
273
273
|
|
274
|
+
# Gets a processor type detail.
|
275
|
+
# @param [String] name
|
276
|
+
# Required. The processor type resource name.
|
277
|
+
# @param [String] fields
|
278
|
+
# Selector specifying which fields to include in a partial response.
|
279
|
+
# @param [String] quota_user
|
280
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
281
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
282
|
+
# @param [Google::Apis::RequestOptions] options
|
283
|
+
# Request-specific options
|
284
|
+
#
|
285
|
+
# @yield [result, err] Result & error if block supplied
|
286
|
+
# @yieldparam result [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorType] parsed result object
|
287
|
+
# @yieldparam err [StandardError] error object if request failed
|
288
|
+
#
|
289
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorType]
|
290
|
+
#
|
291
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
292
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
293
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
294
|
+
def get_project_location_processor_type(name, fields: nil, quota_user: nil, options: nil, &block)
|
295
|
+
command = make_simple_command(:get, 'v1beta3/{+name}', options)
|
296
|
+
command.response_representation = Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorType::Representation
|
297
|
+
command.response_class = Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorType
|
298
|
+
command.params['name'] = name unless name.nil?
|
299
|
+
command.query['fields'] = fields unless fields.nil?
|
300
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
301
|
+
execute_or_queue_command(command, &block)
|
302
|
+
end
|
303
|
+
|
274
304
|
# Lists the processor types that exist.
|
275
305
|
# @param [String] parent
|
276
306
|
# Required. The location of processor type to list. The available processor
|
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.60.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:
|
11
|
+
date: 2023-01-15 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.60.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: []
|
@@ -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.
|
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 V1beta3
|