google-apis-documentai_v1 0.70.0 → 0.71.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 938e6cd21706d1c27185a5c27323bb0bdb5e3f31bd367ce0a827d002a49b11a5
|
4
|
+
data.tar.gz: 2a8fd8192e0271db1b7aba2381ba28703970bbf1c6e3adb18b11b576e62dfbb4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee0822f912d90d1ceb03f3eeab502eb0cfaf849f9fced138fbbd7c0a909aee51db7e031fb9872bb49babee39b87e88587e127f7f19dc4fda5585e73bff5265e0
|
7
|
+
data.tar.gz: 7b4d057de6678ba97398f7c39d43844596b8f3e7abfe9006ae26c0f325758c7291b2eceb0a4c13f901e692d9d1bf69e230926c8658dbc4acb3357d3e2862ce4f
|
data/CHANGELOG.md
CHANGED
@@ -772,9 +772,9 @@ module Google
|
|
772
772
|
end
|
773
773
|
end
|
774
774
|
|
775
|
-
# The validation status of each import config. Status is set to
|
776
|
-
#
|
777
|
-
# try to proceed at least one document.
|
775
|
+
# The validation status of each import config. Status is set to an error if
|
776
|
+
# there are no documents to import in the `import_config`, or `OK` if the
|
777
|
+
# operation will try to proceed with at least one document.
|
778
778
|
class GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataImportConfigValidationResult
|
779
779
|
include Google::Apis::Core::Hashable
|
780
780
|
|
@@ -1393,11 +1393,6 @@ module Google
|
|
1393
1393
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1GcsPrefix]
|
1394
1394
|
attr_accessor :gcs_prefix
|
1395
1395
|
|
1396
|
-
# Specifies a set of raw documents.
|
1397
|
-
# Corresponds to the JSON property `rawDocuments`
|
1398
|
-
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1RawDocuments]
|
1399
|
-
attr_accessor :raw_documents
|
1400
|
-
|
1401
1396
|
def initialize(**args)
|
1402
1397
|
update!(**args)
|
1403
1398
|
end
|
@@ -1406,7 +1401,6 @@ module Google
|
|
1406
1401
|
def update!(**args)
|
1407
1402
|
@gcs_documents = args[:gcs_documents] if args.key?(:gcs_documents)
|
1408
1403
|
@gcs_prefix = args[:gcs_prefix] if args.key?(:gcs_prefix)
|
1409
|
-
@raw_documents = args[:raw_documents] if args.key?(:raw_documents)
|
1410
1404
|
end
|
1411
1405
|
end
|
1412
1406
|
|
@@ -4684,6 +4678,11 @@ module Google
|
|
4684
4678
|
# @return [String]
|
4685
4679
|
attr_accessor :process_endpoint
|
4686
4680
|
|
4681
|
+
# Output only. The processor version aliases.
|
4682
|
+
# Corresponds to the JSON property `processorVersionAliases`
|
4683
|
+
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessorVersionAlias>]
|
4684
|
+
attr_accessor :processor_version_aliases
|
4685
|
+
|
4687
4686
|
# Output only. The state of the processor.
|
4688
4687
|
# Corresponds to the JSON property `state`
|
4689
4688
|
# @return [String]
|
@@ -4707,6 +4706,7 @@ module Google
|
|
4707
4706
|
@kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
|
4708
4707
|
@name = args[:name] if args.key?(:name)
|
4709
4708
|
@process_endpoint = args[:process_endpoint] if args.key?(:process_endpoint)
|
4709
|
+
@processor_version_aliases = args[:processor_version_aliases] if args.key?(:processor_version_aliases)
|
4710
4710
|
@state = args[:state] if args.key?(:state)
|
4711
4711
|
@type = args[:type] if args.key?(:type)
|
4712
4712
|
end
|
@@ -4870,6 +4870,31 @@ module Google
|
|
4870
4870
|
end
|
4871
4871
|
end
|
4872
4872
|
|
4873
|
+
# Contains the alias and the aliased resource name of processor version.
|
4874
|
+
class GoogleCloudDocumentaiV1ProcessorVersionAlias
|
4875
|
+
include Google::Apis::Core::Hashable
|
4876
|
+
|
4877
|
+
# The alias in the form of `processor_version` resource name.
|
4878
|
+
# Corresponds to the JSON property `alias`
|
4879
|
+
# @return [String]
|
4880
|
+
attr_accessor :alias
|
4881
|
+
|
4882
|
+
# The resource name of aliased processor version.
|
4883
|
+
# Corresponds to the JSON property `processorVersion`
|
4884
|
+
# @return [String]
|
4885
|
+
attr_accessor :processor_version
|
4886
|
+
|
4887
|
+
def initialize(**args)
|
4888
|
+
update!(**args)
|
4889
|
+
end
|
4890
|
+
|
4891
|
+
# Update properties of this object
|
4892
|
+
def update!(**args)
|
4893
|
+
@alias = args[:alias] if args.key?(:alias)
|
4894
|
+
@processor_version = args[:processor_version] if args.key?(:processor_version)
|
4895
|
+
end
|
4896
|
+
end
|
4897
|
+
|
4873
4898
|
# Information about the upcoming deprecation of this processor version.
|
4874
4899
|
class GoogleCloudDocumentaiV1ProcessorVersionDeprecationInfo
|
4875
4900
|
include Google::Apis::Core::Hashable
|
@@ -4905,6 +4930,13 @@ module Google
|
|
4905
4930
|
# @return [String]
|
4906
4931
|
attr_accessor :content
|
4907
4932
|
|
4933
|
+
# The display name of the document, it supports all Unicode characters except
|
4934
|
+
# the following: `*`, `?`, `[`, `]`, `%`, ```, ```,`'`, `\"`, `,` `~`, `=` and `:
|
4935
|
+
# ` are reserved. If not specified, a default ID will be generated.
|
4936
|
+
# Corresponds to the JSON property `displayName`
|
4937
|
+
# @return [String]
|
4938
|
+
attr_accessor :display_name
|
4939
|
+
|
4908
4940
|
# An IANA MIME type (RFC6838) indicating the nature and format of the content.
|
4909
4941
|
# Corresponds to the JSON property `mimeType`
|
4910
4942
|
# @return [String]
|
@@ -4917,29 +4949,11 @@ module Google
|
|
4917
4949
|
# Update properties of this object
|
4918
4950
|
def update!(**args)
|
4919
4951
|
@content = args[:content] if args.key?(:content)
|
4952
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
4920
4953
|
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
4921
4954
|
end
|
4922
4955
|
end
|
4923
4956
|
|
4924
|
-
# Specifies a set of raw documents.
|
4925
|
-
class GoogleCloudDocumentaiV1RawDocuments
|
4926
|
-
include Google::Apis::Core::Hashable
|
4927
|
-
|
4928
|
-
# Specifies raw document content and mime type.
|
4929
|
-
# Corresponds to the JSON property `documents`
|
4930
|
-
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1RawDocument>]
|
4931
|
-
attr_accessor :documents
|
4932
|
-
|
4933
|
-
def initialize(**args)
|
4934
|
-
update!(**args)
|
4935
|
-
end
|
4936
|
-
|
4937
|
-
# Update properties of this object
|
4938
|
-
def update!(**args)
|
4939
|
-
@documents = args[:documents] if args.key?(:documents)
|
4940
|
-
end
|
4941
|
-
end
|
4942
|
-
|
4943
4957
|
# The long-running operation metadata for the ReviewDocument method.
|
4944
4958
|
class GoogleCloudDocumentaiV1ReviewDocumentOperationMetadata
|
4945
4959
|
include Google::Apis::Core::Hashable
|
@@ -10313,9 +10327,9 @@ module Google
|
|
10313
10327
|
end
|
10314
10328
|
end
|
10315
10329
|
|
10316
|
-
# The validation status of each import config. Status is set to
|
10317
|
-
#
|
10318
|
-
# try to proceed at least one document.
|
10330
|
+
# The validation status of each import config. Status is set to an error if
|
10331
|
+
# there are no documents to import in the `import_config`, or `OK` if the
|
10332
|
+
# operation will try to proceed with at least one document.
|
10319
10333
|
class GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataImportConfigValidationResult
|
10320
10334
|
include Google::Apis::Core::Hashable
|
10321
10335
|
|
@@ -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.71.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 = "20230721"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -904,19 +904,19 @@ module Google
|
|
904
904
|
include Google::Apis::Core::JsonObjectSupport
|
905
905
|
end
|
906
906
|
|
907
|
-
class
|
907
|
+
class GoogleCloudDocumentaiV1ProcessorVersionAlias
|
908
908
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
909
909
|
|
910
910
|
include Google::Apis::Core::JsonObjectSupport
|
911
911
|
end
|
912
912
|
|
913
|
-
class
|
913
|
+
class GoogleCloudDocumentaiV1ProcessorVersionDeprecationInfo
|
914
914
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
915
915
|
|
916
916
|
include Google::Apis::Core::JsonObjectSupport
|
917
917
|
end
|
918
918
|
|
919
|
-
class
|
919
|
+
class GoogleCloudDocumentaiV1RawDocument
|
920
920
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
921
921
|
|
922
922
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -2425,8 +2425,6 @@ module Google
|
|
2425
2425
|
|
2426
2426
|
property :gcs_prefix, as: 'gcsPrefix', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1GcsPrefix, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1GcsPrefix::Representation
|
2427
2427
|
|
2428
|
-
property :raw_documents, as: 'rawDocuments', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1RawDocuments, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1RawDocuments::Representation
|
2429
|
-
|
2430
2428
|
end
|
2431
2429
|
end
|
2432
2430
|
|
@@ -3369,6 +3367,8 @@ module Google
|
|
3369
3367
|
property :kms_key_name, as: 'kmsKeyName'
|
3370
3368
|
property :name, as: 'name'
|
3371
3369
|
property :process_endpoint, as: 'processEndpoint'
|
3370
|
+
collection :processor_version_aliases, as: 'processorVersionAliases', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessorVersionAlias, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessorVersionAlias::Representation
|
3371
|
+
|
3372
3372
|
property :state, as: 'state'
|
3373
3373
|
property :type, as: 'type'
|
3374
3374
|
end
|
@@ -3414,6 +3414,14 @@ module Google
|
|
3414
3414
|
end
|
3415
3415
|
end
|
3416
3416
|
|
3417
|
+
class GoogleCloudDocumentaiV1ProcessorVersionAlias
|
3418
|
+
# @private
|
3419
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3420
|
+
property :alias, as: 'alias'
|
3421
|
+
property :processor_version, as: 'processorVersion'
|
3422
|
+
end
|
3423
|
+
end
|
3424
|
+
|
3417
3425
|
class GoogleCloudDocumentaiV1ProcessorVersionDeprecationInfo
|
3418
3426
|
# @private
|
3419
3427
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3426,18 +3434,11 @@ module Google
|
|
3426
3434
|
# @private
|
3427
3435
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3428
3436
|
property :content, :base64 => true, as: 'content'
|
3437
|
+
property :display_name, as: 'displayName'
|
3429
3438
|
property :mime_type, as: 'mimeType'
|
3430
3439
|
end
|
3431
3440
|
end
|
3432
3441
|
|
3433
|
-
class GoogleCloudDocumentaiV1RawDocuments
|
3434
|
-
# @private
|
3435
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
3436
|
-
collection :documents, as: 'documents', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1RawDocument, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1RawDocument::Representation
|
3437
|
-
|
3438
|
-
end
|
3439
|
-
end
|
3440
|
-
|
3441
3442
|
class GoogleCloudDocumentaiV1ReviewDocumentOperationMetadata
|
3442
3443
|
# @private
|
3443
3444
|
class Representation < Google::Apis::Core::JsonRepresentation
|
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.71.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-08-06 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.71.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: []
|