google-apis-documentai_v1 0.78.0 → 0.80.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.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fbd5ac2d652d216c3c36f28595d73a56164b7c9c615442e831011f2a715d9b18
|
4
|
+
data.tar.gz: 0b1f4b02dc88b1d56e472c251e54638c03fc97ab839faf7510b988ba7ecac3a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f0e6391f93f4bd855f62178651480ec902a6791fa85b061db3bdd56f5dc9d8f1b71c8274c1739749e3acbbed4f9cbffe1083a112b37744085719c596180593c5
|
7
|
+
data.tar.gz: 5cc7f74e3a3ea24bbb45a59b459d4d989cb2cb34cb08aa6e11b8ff8e1a08083f041c2aa3905963e498599621c3fb60485749139fb35b7be37b642b7f443869b0
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,15 @@
|
|
1
1
|
# Release history for google-apis-documentai_v1
|
2
2
|
|
3
|
+
### v0.80.0 (2024-02-04)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240126
|
6
|
+
* Regenerated using generator version 0.13.1
|
7
|
+
|
8
|
+
### v0.79.0 (2024-01-22)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20240118
|
11
|
+
* Regenerated using generator version 0.13.0
|
12
|
+
|
3
13
|
### v0.78.0 (2023-11-19)
|
4
14
|
|
5
15
|
* Regenerated from discovery document revision 20231113
|
@@ -1575,6 +1575,15 @@ module Google
|
|
1575
1575
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1BatchDocumentsInputConfig]
|
1576
1576
|
attr_accessor :input_documents
|
1577
1577
|
|
1578
|
+
# Optional. The labels with user-defined metadata for the request. Label keys
|
1579
|
+
# and values can be no longer than 63 characters (Unicode codepoints) and can
|
1580
|
+
# only contain lowercase letters, numeric characters, underscores, and dashes.
|
1581
|
+
# International characters are allowed. Label values are optional. Label keys
|
1582
|
+
# must start with a letter.
|
1583
|
+
# Corresponds to the JSON property `labels`
|
1584
|
+
# @return [Hash<String,String>]
|
1585
|
+
attr_accessor :labels
|
1586
|
+
|
1578
1587
|
# Options for Process API
|
1579
1588
|
# Corresponds to the JSON property `processOptions`
|
1580
1589
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessOptions]
|
@@ -1594,6 +1603,7 @@ module Google
|
|
1594
1603
|
def update!(**args)
|
1595
1604
|
@document_output_config = args[:document_output_config] if args.key?(:document_output_config)
|
1596
1605
|
@input_documents = args[:input_documents] if args.key?(:input_documents)
|
1606
|
+
@labels = args[:labels] if args.key?(:labels)
|
1597
1607
|
@process_options = args[:process_options] if args.key?(:process_options)
|
1598
1608
|
@skip_human_review = args[:skip_human_review] if args.key?(:skip_human_review)
|
1599
1609
|
end
|
@@ -4736,6 +4746,15 @@ module Google
|
|
4736
4746
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1Document]
|
4737
4747
|
attr_accessor :inline_document
|
4738
4748
|
|
4749
|
+
# Optional. The labels with user-defined metadata for the request. Label keys
|
4750
|
+
# and values can be no longer than 63 characters (Unicode codepoints) and can
|
4751
|
+
# only contain lowercase letters, numeric characters, underscores, and dashes.
|
4752
|
+
# International characters are allowed. Label values are optional. Label keys
|
4753
|
+
# must start with a letter.
|
4754
|
+
# Corresponds to the JSON property `labels`
|
4755
|
+
# @return [Hash<String,String>]
|
4756
|
+
attr_accessor :labels
|
4757
|
+
|
4739
4758
|
# Options for Process API
|
4740
4759
|
# Corresponds to the JSON property `processOptions`
|
4741
4760
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessOptions]
|
@@ -4761,6 +4780,7 @@ module Google
|
|
4761
4780
|
@field_mask = args[:field_mask] if args.key?(:field_mask)
|
4762
4781
|
@gcs_document = args[:gcs_document] if args.key?(:gcs_document)
|
4763
4782
|
@inline_document = args[:inline_document] if args.key?(:inline_document)
|
4783
|
+
@labels = args[:labels] if args.key?(:labels)
|
4764
4784
|
@process_options = args[:process_options] if args.key?(:process_options)
|
4765
4785
|
@raw_document = args[:raw_document] if args.key?(:raw_document)
|
4766
4786
|
@skip_human_review = args[:skip_human_review] if args.key?(:skip_human_review)
|
@@ -4994,6 +5014,11 @@ module Google
|
|
4994
5014
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1EvaluationReference]
|
4995
5015
|
attr_accessor :latest_evaluation
|
4996
5016
|
|
5017
|
+
# Output only. The model type of this processor version.
|
5018
|
+
# Corresponds to the JSON property `modelType`
|
5019
|
+
# @return [String]
|
5020
|
+
attr_accessor :model_type
|
5021
|
+
|
4997
5022
|
# The resource name of the processor version. Format: `projects/`project`/
|
4998
5023
|
# locations/`location`/processors/`processor`/processorVersions/`
|
4999
5024
|
# processor_version``
|
@@ -5020,6 +5045,7 @@ module Google
|
|
5020
5045
|
@kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
|
5021
5046
|
@kms_key_version_name = args[:kms_key_version_name] if args.key?(:kms_key_version_name)
|
5022
5047
|
@latest_evaluation = args[:latest_evaluation] if args.key?(:latest_evaluation)
|
5048
|
+
@model_type = args[:model_type] if args.key?(:model_type)
|
5023
5049
|
@name = args[:name] if args.key?(:name)
|
5024
5050
|
@state = args[:state] if args.key?(:state)
|
5025
5051
|
end
|
@@ -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.80.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.13.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240126"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -2516,6 +2516,7 @@ module Google
|
|
2516
2516
|
|
2517
2517
|
property :input_documents, as: 'inputDocuments', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1BatchDocumentsInputConfig, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1BatchDocumentsInputConfig::Representation
|
2518
2518
|
|
2519
|
+
hash :labels, as: 'labels'
|
2519
2520
|
property :process_options, as: 'processOptions', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessOptions, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessOptions::Representation
|
2520
2521
|
|
2521
2522
|
property :skip_human_review, as: 'skipHumanReview'
|
@@ -3420,6 +3421,7 @@ module Google
|
|
3420
3421
|
|
3421
3422
|
property :inline_document, as: 'inlineDocument', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1Document, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1Document::Representation
|
3422
3423
|
|
3424
|
+
hash :labels, as: 'labels'
|
3423
3425
|
property :process_options, as: 'processOptions', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessOptions, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessOptions::Representation
|
3424
3426
|
|
3425
3427
|
property :raw_document, as: 'rawDocument', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1RawDocument, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1RawDocument::Representation
|
@@ -3489,6 +3491,7 @@ module Google
|
|
3489
3491
|
property :kms_key_version_name, as: 'kmsKeyVersionName'
|
3490
3492
|
property :latest_evaluation, as: 'latestEvaluation', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1EvaluationReference, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1EvaluationReference::Representation
|
3491
3493
|
|
3494
|
+
property :model_type, as: 'modelType'
|
3492
3495
|
property :name, as: 'name'
|
3493
3496
|
property :state, as: 'state'
|
3494
3497
|
end
|
@@ -34,6 +34,8 @@ module Google
|
|
34
34
|
#
|
35
35
|
# @see https://cloud.google.com/document-ai/docs/
|
36
36
|
class DocumentService < Google::Apis::Core::BaseService
|
37
|
+
DEFAULT_ENDPOINT_TEMPLATE = "https://documentai.$UNIVERSE_DOMAIN$/"
|
38
|
+
|
37
39
|
# @return [String]
|
38
40
|
# API key. Your API key identifies your project and provides you with API access,
|
39
41
|
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
@@ -45,7 +47,7 @@ module Google
|
|
45
47
|
attr_accessor :quota_user
|
46
48
|
|
47
49
|
def initialize
|
48
|
-
super(
|
50
|
+
super(DEFAULT_ENDPOINT_TEMPLATE, '',
|
49
51
|
client_name: 'google-apis-documentai_v1',
|
50
52
|
client_version: Google::Apis::DocumentaiV1::GEM_VERSION)
|
51
53
|
@batch_path = 'batch'
|
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.80.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: 2024-02-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.12.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.12.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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.80.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: []
|
@@ -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.5.3
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Document AI API V1
|