google-apis-documentai_v1 0.77.0 → 0.79.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: 627b72020439525d7e211e54670a99d4b7439f1d82e685f67d2df82e3325bd13
|
4
|
+
data.tar.gz: '048661b972d9cbeac1242f488143949bdad0c7531e49a300413862147cb71647'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 637dd6234cfdfeab3df08351f284c2a0c631a8b8481fed4616f952d60b5b00df6310f5938cb9a113fa9d74a8b237c57aad9e18b49100e31487d6c1889d25f904
|
7
|
+
data.tar.gz: d6677c1e374b050e055fe1d3712705bfd1c630730490028f29f727a446fc8bff86199cf2f5258c1f39e3f1aad88a6fa6cfa0b41dade6f17e0805e089ebc27243
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-documentai_v1
|
2
2
|
|
3
|
+
### v0.79.0 (2024-01-22)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240118
|
6
|
+
* Regenerated using generator version 0.13.0
|
7
|
+
|
8
|
+
### v0.78.0 (2023-11-19)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20231113
|
11
|
+
|
3
12
|
### v0.77.0 (2023-11-05)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20231026
|
@@ -62,12 +62,6 @@ module Google
|
|
62
62
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3DocumentId]
|
63
63
|
attr_accessor :document_id
|
64
64
|
|
65
|
-
# The gcs_uri of the auto-labeling document, which uniquely identifies a dataset
|
66
|
-
# document.
|
67
|
-
# Corresponds to the JSON property `gcsUri`
|
68
|
-
# @return [String]
|
69
|
-
attr_accessor :gcs_uri
|
70
|
-
|
71
65
|
# The `Status` type defines a logical error model that is suitable for different
|
72
66
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
73
67
|
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
@@ -85,7 +79,6 @@ module Google
|
|
85
79
|
# Update properties of this object
|
86
80
|
def update!(**args)
|
87
81
|
@document_id = args[:document_id] if args.key?(:document_id)
|
88
|
-
@gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
|
89
82
|
@status = args[:status] if args.key?(:status)
|
90
83
|
end
|
91
84
|
end
|
@@ -1582,6 +1575,15 @@ module Google
|
|
1582
1575
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1BatchDocumentsInputConfig]
|
1583
1576
|
attr_accessor :input_documents
|
1584
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), can only
|
1580
|
+
# 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
|
+
|
1585
1587
|
# Options for Process API
|
1586
1588
|
# Corresponds to the JSON property `processOptions`
|
1587
1589
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessOptions]
|
@@ -1601,6 +1603,7 @@ module Google
|
|
1601
1603
|
def update!(**args)
|
1602
1604
|
@document_output_config = args[:document_output_config] if args.key?(:document_output_config)
|
1603
1605
|
@input_documents = args[:input_documents] if args.key?(:input_documents)
|
1606
|
+
@labels = args[:labels] if args.key?(:labels)
|
1604
1607
|
@process_options = args[:process_options] if args.key?(:process_options)
|
1605
1608
|
@skip_human_review = args[:skip_human_review] if args.key?(:skip_human_review)
|
1606
1609
|
end
|
@@ -4743,6 +4746,15 @@ module Google
|
|
4743
4746
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1Document]
|
4744
4747
|
attr_accessor :inline_document
|
4745
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), can only
|
4751
|
+
# 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
|
+
|
4746
4758
|
# Options for Process API
|
4747
4759
|
# Corresponds to the JSON property `processOptions`
|
4748
4760
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessOptions]
|
@@ -4768,6 +4780,7 @@ module Google
|
|
4768
4780
|
@field_mask = args[:field_mask] if args.key?(:field_mask)
|
4769
4781
|
@gcs_document = args[:gcs_document] if args.key?(:gcs_document)
|
4770
4782
|
@inline_document = args[:inline_document] if args.key?(:inline_document)
|
4783
|
+
@labels = args[:labels] if args.key?(:labels)
|
4771
4784
|
@process_options = args[:process_options] if args.key?(:process_options)
|
4772
4785
|
@raw_document = args[:raw_document] if args.key?(:raw_document)
|
4773
4786
|
@skip_human_review = args[:skip_human_review] if args.key?(:skip_human_review)
|
@@ -5001,6 +5014,11 @@ module Google
|
|
5001
5014
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1EvaluationReference]
|
5002
5015
|
attr_accessor :latest_evaluation
|
5003
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
|
+
|
5004
5022
|
# The resource name of the processor version. Format: `projects/`project`/
|
5005
5023
|
# locations/`location`/processors/`processor`/processorVersions/`
|
5006
5024
|
# processor_version``
|
@@ -5027,6 +5045,7 @@ module Google
|
|
5027
5045
|
@kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
|
5028
5046
|
@kms_key_version_name = args[:kms_key_version_name] if args.key?(:kms_key_version_name)
|
5029
5047
|
@latest_evaluation = args[:latest_evaluation] if args.key?(:latest_evaluation)
|
5048
|
+
@model_type = args[:model_type] if args.key?(:model_type)
|
5030
5049
|
@name = args[:name] if args.key?(:name)
|
5031
5050
|
@state = args[:state] if args.key?(:state)
|
5032
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.79.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.13.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240118"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1982,7 +1982,6 @@ module Google
|
|
1982
1982
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1983
1983
|
property :document_id, as: 'documentId', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3DocumentId, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3DocumentId::Representation
|
1984
1984
|
|
1985
|
-
property :gcs_uri, as: 'gcsUri'
|
1986
1985
|
property :status, as: 'status', class: Google::Apis::DocumentaiV1::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1::GoogleRpcStatus::Representation
|
1987
1986
|
|
1988
1987
|
end
|
@@ -2517,6 +2516,7 @@ module Google
|
|
2517
2516
|
|
2518
2517
|
property :input_documents, as: 'inputDocuments', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1BatchDocumentsInputConfig, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1BatchDocumentsInputConfig::Representation
|
2519
2518
|
|
2519
|
+
hash :labels, as: 'labels'
|
2520
2520
|
property :process_options, as: 'processOptions', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessOptions, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessOptions::Representation
|
2521
2521
|
|
2522
2522
|
property :skip_human_review, as: 'skipHumanReview'
|
@@ -3421,6 +3421,7 @@ module Google
|
|
3421
3421
|
|
3422
3422
|
property :inline_document, as: 'inlineDocument', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1Document, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1Document::Representation
|
3423
3423
|
|
3424
|
+
hash :labels, as: 'labels'
|
3424
3425
|
property :process_options, as: 'processOptions', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessOptions, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessOptions::Representation
|
3425
3426
|
|
3426
3427
|
property :raw_document, as: 'rawDocument', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1RawDocument, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1RawDocument::Representation
|
@@ -3490,6 +3491,7 @@ module Google
|
|
3490
3491
|
property :kms_key_version_name, as: 'kmsKeyVersionName'
|
3491
3492
|
property :latest_evaluation, as: 'latestEvaluation', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1EvaluationReference, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1EvaluationReference::Representation
|
3492
3493
|
|
3494
|
+
property :model_type, as: 'modelType'
|
3493
3495
|
property :name, as: 'name'
|
3494
3496
|
property :state, as: 'state'
|
3495
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.79.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-01-23 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.79.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
|