google-apis-documentai_v1beta3 0.87.0 → 0.88.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 +28 -2
- data/lib/google/apis/documentai_v1beta3/gem_version.rb +3 -3
- data/lib/google/apis/documentai_v1beta3/representations.rb +3 -0
- data/lib/google/apis/documentai_v1beta3/service.rb +3 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a7c8e2899c8f298f7cbc377588022ae70641d04a9a4d76f0358a0ad17cb5807e
|
4
|
+
data.tar.gz: 1ecac5caaf15beaa647a970d5cea18c5bc899c0ec63acf8ff8532213ccdf0b18
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8835c0f3c9ca26e86583df32bdf5c9c4fc86a483a9a4410c64cd2513c277af628d5da48ece7aa338626b2ade8a675e66e980aac8772f3b4e3156a055c8e57632
|
7
|
+
data.tar.gz: df26ef2f86c492f8c1d91b325fd74fad4d0f6b9866ddd82a950bc7a7d904565551fff0f906b82a5f5ff760c0156b7ea1ed5b038ae6522abe91e8cb0dc66542c2
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-documentai_v1beta3
|
2
2
|
|
3
|
+
### v0.88.0 (2024-01-23)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240118
|
6
|
+
* Regenerated using generator version 0.13.0
|
7
|
+
|
3
8
|
### v0.87.0 (2023-12-03)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20231123
|
@@ -6566,6 +6566,15 @@ module Google
|
|
6566
6566
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig]
|
6567
6567
|
attr_accessor :input_documents
|
6568
6568
|
|
6569
|
+
# Optional. The labels with user-defined metadata for the request. Label keys
|
6570
|
+
# and values can be no longer than 63 characters (Unicode codepoints), can only
|
6571
|
+
# contain lowercase letters, numeric characters, underscores and dashes.
|
6572
|
+
# International characters are allowed. Label values are optional. Label keys
|
6573
|
+
# must start with a letter.
|
6574
|
+
# Corresponds to the JSON property `labels`
|
6575
|
+
# @return [Hash<String,String>]
|
6576
|
+
attr_accessor :labels
|
6577
|
+
|
6569
6578
|
# The output configuration in the BatchProcessDocuments method.
|
6570
6579
|
# Corresponds to the JSON property `outputConfig`
|
6571
6580
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchProcessRequestBatchOutputConfig]
|
@@ -6591,6 +6600,7 @@ module Google
|
|
6591
6600
|
@document_output_config = args[:document_output_config] if args.key?(:document_output_config)
|
6592
6601
|
@input_configs = args[:input_configs] if args.key?(:input_configs)
|
6593
6602
|
@input_documents = args[:input_documents] if args.key?(:input_documents)
|
6603
|
+
@labels = args[:labels] if args.key?(:labels)
|
6594
6604
|
@output_config = args[:output_config] if args.key?(:output_config)
|
6595
6605
|
@process_options = args[:process_options] if args.key?(:process_options)
|
6596
6606
|
@skip_human_review = args[:skip_human_review] if args.key?(:skip_human_review)
|
@@ -10519,6 +10529,15 @@ module Google
|
|
10519
10529
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document]
|
10520
10530
|
attr_accessor :inline_document
|
10521
10531
|
|
10532
|
+
# Optional. The labels with user-defined metadata for the request. Label keys
|
10533
|
+
# and values can be no longer than 63 characters (Unicode codepoints), can only
|
10534
|
+
# contain lowercase letters, numeric characters, underscores and dashes.
|
10535
|
+
# International characters are allowed. Label values are optional. Label keys
|
10536
|
+
# must start with a letter.
|
10537
|
+
# Corresponds to the JSON property `labels`
|
10538
|
+
# @return [Hash<String,String>]
|
10539
|
+
attr_accessor :labels
|
10540
|
+
|
10522
10541
|
# Options for Process API
|
10523
10542
|
# Corresponds to the JSON property `processOptions`
|
10524
10543
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessOptions]
|
@@ -10545,6 +10564,7 @@ module Google
|
|
10545
10564
|
@field_mask = args[:field_mask] if args.key?(:field_mask)
|
10546
10565
|
@gcs_document = args[:gcs_document] if args.key?(:gcs_document)
|
10547
10566
|
@inline_document = args[:inline_document] if args.key?(:inline_document)
|
10567
|
+
@labels = args[:labels] if args.key?(:labels)
|
10548
10568
|
@process_options = args[:process_options] if args.key?(:process_options)
|
10549
10569
|
@raw_document = args[:raw_document] if args.key?(:raw_document)
|
10550
10570
|
@skip_human_review = args[:skip_human_review] if args.key?(:skip_human_review)
|
@@ -10786,6 +10806,11 @@ module Google
|
|
10786
10806
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationReference]
|
10787
10807
|
attr_accessor :latest_evaluation
|
10788
10808
|
|
10809
|
+
# Output only. The model type of this processor version.
|
10810
|
+
# Corresponds to the JSON property `modelType`
|
10811
|
+
# @return [String]
|
10812
|
+
attr_accessor :model_type
|
10813
|
+
|
10789
10814
|
# The resource name of the processor version. Format: `projects/`project`/
|
10790
10815
|
# locations/`location`/processors/`processor`/processorVersions/`
|
10791
10816
|
# processor_version``
|
@@ -10812,6 +10837,7 @@ module Google
|
|
10812
10837
|
@kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
|
10813
10838
|
@kms_key_version_name = args[:kms_key_version_name] if args.key?(:kms_key_version_name)
|
10814
10839
|
@latest_evaluation = args[:latest_evaluation] if args.key?(:latest_evaluation)
|
10840
|
+
@model_type = args[:model_type] if args.key?(:model_type)
|
10815
10841
|
@name = args[:name] if args.key?(:name)
|
10816
10842
|
@state = args[:state] if args.key?(:state)
|
10817
10843
|
end
|
@@ -11324,14 +11350,14 @@ module Google
|
|
11324
11350
|
include Google::Apis::Core::Hashable
|
11325
11351
|
|
11326
11352
|
# Optional. The multiplier to apply to the recommended learning rate. Valid
|
11327
|
-
# values are between
|
11353
|
+
# values are between 0.1 and 10. If not provided, recommended learning rate will
|
11328
11354
|
# be used.
|
11329
11355
|
# Corresponds to the JSON property `learningRateMultiplier`
|
11330
11356
|
# @return [Float]
|
11331
11357
|
attr_accessor :learning_rate_multiplier
|
11332
11358
|
|
11333
11359
|
# Optional. The number of steps to run for model tuning. Valid values are
|
11334
|
-
# between
|
11360
|
+
# between 1 and 400. If not provided, recommended steps will be used.
|
11335
11361
|
# Corresponds to the JSON property `trainSteps`
|
11336
11362
|
# @return [Fixnum]
|
11337
11363
|
attr_accessor :train_steps
|
@@ -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.88.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
|
@@ -4034,6 +4034,7 @@ module Google
|
|
4034
4034
|
|
4035
4035
|
property :input_documents, as: 'inputDocuments', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig::Representation
|
4036
4036
|
|
4037
|
+
hash :labels, as: 'labels'
|
4037
4038
|
property :output_config, as: 'outputConfig', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchProcessRequestBatchOutputConfig, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchProcessRequestBatchOutputConfig::Representation
|
4038
4039
|
|
4039
4040
|
property :process_options, as: 'processOptions', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessOptions, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessOptions::Representation
|
@@ -5196,6 +5197,7 @@ module Google
|
|
5196
5197
|
|
5197
5198
|
property :inline_document, as: 'inlineDocument', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document::Representation
|
5198
5199
|
|
5200
|
+
hash :labels, as: 'labels'
|
5199
5201
|
property :process_options, as: 'processOptions', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessOptions, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessOptions::Representation
|
5200
5202
|
|
5201
5203
|
property :raw_document, as: 'rawDocument', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3RawDocument, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3RawDocument::Representation
|
@@ -5266,6 +5268,7 @@ module Google
|
|
5266
5268
|
property :kms_key_version_name, as: 'kmsKeyVersionName'
|
5267
5269
|
property :latest_evaluation, as: 'latestEvaluation', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationReference, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EvaluationReference::Representation
|
5268
5270
|
|
5271
|
+
property :model_type, as: 'modelType'
|
5269
5272
|
property :name, as: 'name'
|
5270
5273
|
property :state, as: 'state'
|
5271
5274
|
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_v1beta3',
|
50
52
|
client_version: Google::Apis::DocumentaiV1beta3::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_v1beta3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.88.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_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.88.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.5.3
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Document AI API V1beta3
|