google-apis-documentai_v1beta3 0.39.0 → 0.42.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 +12 -0
- data/lib/google/apis/documentai_v1beta3/classes.rb +61 -4
- data/lib/google/apis/documentai_v1beta3/gem_version.rb +2 -2
- data/lib/google/apis/documentai_v1beta3/representations.rb +31 -0
- data/lib/google/apis/documentai_v1beta3/service.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d40531ea0a1e9d6bb4cae0ffd38c7a4a0dc0b7dcf578037f51f3c8c19f42788d
|
4
|
+
data.tar.gz: 494a21e95fbbb6f737c8b31ac700f6fc5dad326ea2bed64236014a253de64131
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be6f680a9ca23e71ddf92261d95a0cc3a38a8f3c01e4ac3806ff2f289d525d22d59561d55233f688327ec8629ccb93e619ac9182e076d90a30eff0e555684362
|
7
|
+
data.tar.gz: 2740d6a4bf33e978bd00c9daceec6bf5c61abff806b58e5ba1fce5fef29ab3b8f61564999e01a5883a372d408e5b92a681bdddf985f8f6fea1e71f76921adb31
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-documentai_v1beta3
|
2
2
|
|
3
|
+
### v0.42.0 (2022-04-12)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220409
|
6
|
+
|
7
|
+
### v0.41.0 (2022-04-05)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220401
|
10
|
+
|
11
|
+
### v0.40.0 (2022-03-29)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220326
|
14
|
+
|
3
15
|
### v0.39.0 (2022-03-23)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220321
|
@@ -196,6 +196,25 @@ module Google
|
|
196
196
|
end
|
197
197
|
end
|
198
198
|
|
199
|
+
# The long running operation metadata for DeleteDataLabelingJob.
|
200
|
+
class GoogleCloudDocumentaiUiv1beta3DeleteDataLabelingJobOperationMetadata
|
201
|
+
include Google::Apis::Core::Hashable
|
202
|
+
|
203
|
+
# The common metadata for long running operations.
|
204
|
+
# Corresponds to the JSON property `commonMetadata`
|
205
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
|
206
|
+
attr_accessor :common_metadata
|
207
|
+
|
208
|
+
def initialize(**args)
|
209
|
+
update!(**args)
|
210
|
+
end
|
211
|
+
|
212
|
+
# Update properties of this object
|
213
|
+
def update!(**args)
|
214
|
+
@common_metadata = args[:common_metadata] if args.key?(:common_metadata)
|
215
|
+
end
|
216
|
+
end
|
217
|
+
|
199
218
|
# The long running operation metadata for DeleteLabelerPool.
|
200
219
|
class GoogleCloudDocumentaiUiv1beta3DeleteLabelerPoolOperationMetadata
|
201
220
|
include Google::Apis::Core::Hashable
|
@@ -1586,7 +1605,7 @@ module Google
|
|
1586
1605
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentTextAnchor]
|
1587
1606
|
attr_accessor :text_anchor
|
1588
1607
|
|
1589
|
-
# Entity type from a schema e.g. `Address`.
|
1608
|
+
# Required. Entity type from a schema e.g. `Address`.
|
1590
1609
|
# Corresponds to the JSON property `type`
|
1591
1610
|
# @return [String]
|
1592
1611
|
attr_accessor :type
|
@@ -3354,7 +3373,7 @@ module Google
|
|
3354
3373
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentTextAnchor]
|
3355
3374
|
attr_accessor :text_anchor
|
3356
3375
|
|
3357
|
-
# Entity type from a schema e.g. `Address`.
|
3376
|
+
# Required. Entity type from a schema e.g. `Address`.
|
3358
3377
|
# Corresponds to the JSON property `type`
|
3359
3378
|
# @return [String]
|
3360
3379
|
attr_accessor :type
|
@@ -5544,7 +5563,7 @@ module Google
|
|
5544
5563
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentTextAnchor]
|
5545
5564
|
attr_accessor :text_anchor
|
5546
5565
|
|
5547
|
-
# Entity type from a schema e.g. `Address`.
|
5566
|
+
# Required. Entity type from a schema e.g. `Address`.
|
5548
5567
|
# Corresponds to the JSON property `type`
|
5549
5568
|
# @return [String]
|
5550
5569
|
attr_accessor :type
|
@@ -7372,7 +7391,7 @@ module Google
|
|
7372
7391
|
# have multiple versions, pre-trained by Google internally or up-trained by the
|
7373
7392
|
# customer. At a time, a processor can only have one default version version. So
|
7374
7393
|
# the processor's behavior (when processing documents) is defined by a default
|
7375
|
-
# version
|
7394
|
+
# version
|
7376
7395
|
class GoogleCloudDocumentaiV1beta3ProcessorVersion
|
7377
7396
|
include Google::Apis::Core::Hashable
|
7378
7397
|
|
@@ -7381,11 +7400,22 @@ module Google
|
|
7381
7400
|
# @return [String]
|
7382
7401
|
attr_accessor :create_time
|
7383
7402
|
|
7403
|
+
# Information about the upcoming deprecation of this processor version.
|
7404
|
+
# Corresponds to the JSON property `deprecationInfo`
|
7405
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorVersionDeprecationInfo]
|
7406
|
+
attr_accessor :deprecation_info
|
7407
|
+
|
7384
7408
|
# The display name of the processor version.
|
7385
7409
|
# Corresponds to the JSON property `displayName`
|
7386
7410
|
# @return [String]
|
7387
7411
|
attr_accessor :display_name
|
7388
7412
|
|
7413
|
+
# Denotes that this ProcessorVersion is managed by google.
|
7414
|
+
# Corresponds to the JSON property `googleManaged`
|
7415
|
+
# @return [Boolean]
|
7416
|
+
attr_accessor :google_managed
|
7417
|
+
alias_method :google_managed?, :google_managed
|
7418
|
+
|
7389
7419
|
# The KMS key name used for encryption.
|
7390
7420
|
# Corresponds to the JSON property `kmsKeyName`
|
7391
7421
|
# @return [String]
|
@@ -7415,7 +7445,9 @@ module Google
|
|
7415
7445
|
# Update properties of this object
|
7416
7446
|
def update!(**args)
|
7417
7447
|
@create_time = args[:create_time] if args.key?(:create_time)
|
7448
|
+
@deprecation_info = args[:deprecation_info] if args.key?(:deprecation_info)
|
7418
7449
|
@display_name = args[:display_name] if args.key?(:display_name)
|
7450
|
+
@google_managed = args[:google_managed] if args.key?(:google_managed)
|
7419
7451
|
@kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
|
7420
7452
|
@kms_key_version_name = args[:kms_key_version_name] if args.key?(:kms_key_version_name)
|
7421
7453
|
@name = args[:name] if args.key?(:name)
|
@@ -7423,6 +7455,31 @@ module Google
|
|
7423
7455
|
end
|
7424
7456
|
end
|
7425
7457
|
|
7458
|
+
# Information about the upcoming deprecation of this processor version.
|
7459
|
+
class GoogleCloudDocumentaiV1beta3ProcessorVersionDeprecationInfo
|
7460
|
+
include Google::Apis::Core::Hashable
|
7461
|
+
|
7462
|
+
# The time at which this processor version will be deprecated.
|
7463
|
+
# Corresponds to the JSON property `deprecationTime`
|
7464
|
+
# @return [String]
|
7465
|
+
attr_accessor :deprecation_time
|
7466
|
+
|
7467
|
+
# If set, the processor version that will be used as a replacement.
|
7468
|
+
# Corresponds to the JSON property `replacementProcessorVersion`
|
7469
|
+
# @return [String]
|
7470
|
+
attr_accessor :replacement_processor_version
|
7471
|
+
|
7472
|
+
def initialize(**args)
|
7473
|
+
update!(**args)
|
7474
|
+
end
|
7475
|
+
|
7476
|
+
# Update properties of this object
|
7477
|
+
def update!(**args)
|
7478
|
+
@deprecation_time = args[:deprecation_time] if args.key?(:deprecation_time)
|
7479
|
+
@replacement_processor_version = args[:replacement_processor_version] if args.key?(:replacement_processor_version)
|
7480
|
+
end
|
7481
|
+
end
|
7482
|
+
|
7426
7483
|
# Payload message of raw document content (bytes).
|
7427
7484
|
class GoogleCloudDocumentaiV1beta3RawDocument
|
7428
7485
|
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.42.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220409"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -64,6 +64,12 @@ module Google
|
|
64
64
|
include Google::Apis::Core::JsonObjectSupport
|
65
65
|
end
|
66
66
|
|
67
|
+
class GoogleCloudDocumentaiUiv1beta3DeleteDataLabelingJobOperationMetadata
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
67
73
|
class GoogleCloudDocumentaiUiv1beta3DeleteLabelerPoolOperationMetadata
|
68
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
75
|
|
@@ -1318,6 +1324,12 @@ module Google
|
|
1318
1324
|
include Google::Apis::Core::JsonObjectSupport
|
1319
1325
|
end
|
1320
1326
|
|
1327
|
+
class GoogleCloudDocumentaiV1beta3ProcessorVersionDeprecationInfo
|
1328
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1329
|
+
|
1330
|
+
include Google::Apis::Core::JsonObjectSupport
|
1331
|
+
end
|
1332
|
+
|
1321
1333
|
class GoogleCloudDocumentaiV1beta3RawDocument
|
1322
1334
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1323
1335
|
|
@@ -1517,6 +1529,14 @@ module Google
|
|
1517
1529
|
end
|
1518
1530
|
end
|
1519
1531
|
|
1532
|
+
class GoogleCloudDocumentaiUiv1beta3DeleteDataLabelingJobOperationMetadata
|
1533
|
+
# @private
|
1534
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1535
|
+
property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
|
1536
|
+
|
1537
|
+
end
|
1538
|
+
end
|
1539
|
+
|
1520
1540
|
class GoogleCloudDocumentaiUiv1beta3DeleteLabelerPoolOperationMetadata
|
1521
1541
|
# @private
|
1522
1542
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3686,7 +3706,10 @@ module Google
|
|
3686
3706
|
# @private
|
3687
3707
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3688
3708
|
property :create_time, as: 'createTime'
|
3709
|
+
property :deprecation_info, as: 'deprecationInfo', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorVersionDeprecationInfo, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorVersionDeprecationInfo::Representation
|
3710
|
+
|
3689
3711
|
property :display_name, as: 'displayName'
|
3712
|
+
property :google_managed, as: 'googleManaged'
|
3690
3713
|
property :kms_key_name, as: 'kmsKeyName'
|
3691
3714
|
property :kms_key_version_name, as: 'kmsKeyVersionName'
|
3692
3715
|
property :name, as: 'name'
|
@@ -3694,6 +3717,14 @@ module Google
|
|
3694
3717
|
end
|
3695
3718
|
end
|
3696
3719
|
|
3720
|
+
class GoogleCloudDocumentaiV1beta3ProcessorVersionDeprecationInfo
|
3721
|
+
# @private
|
3722
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3723
|
+
property :deprecation_time, as: 'deprecationTime'
|
3724
|
+
property :replacement_processor_version, as: 'replacementProcessorVersion'
|
3725
|
+
end
|
3726
|
+
end
|
3727
|
+
|
3697
3728
|
class GoogleCloudDocumentaiV1beta3RawDocument
|
3698
3729
|
# @private
|
3699
3730
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -119,8 +119,8 @@ module Google
|
|
119
119
|
# The resource that owns the locations collection, if applicable.
|
120
120
|
# @param [String] filter
|
121
121
|
# A filter to narrow down results to a preferred subset. The filtering language
|
122
|
-
# accepts strings like "displayName=tokyo"
|
123
|
-
# AIP-160](https://google.aip.dev/160).
|
122
|
+
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
123
|
+
# in [AIP-160](https://google.aip.dev/160).
|
124
124
|
# @param [Fixnum] page_size
|
125
125
|
# The maximum number of results to return. If not set, the service selects a
|
126
126
|
# default.
|
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.42.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: 2022-
|
11
|
+
date: 2022-04-18 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.42.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: []
|