google-apis-documentai_v1beta3 0.98.0 → 0.99.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: 19898ee285cf5c61c9dea4005b4df49a5bd5696f7dcb0190fb5f0df735db1b95
|
4
|
+
data.tar.gz: '08bf31a86ac468580f4c9f7119274ce691a3056c0950d00db59a6aba5abdc309'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3614ab03cd8848431b74cc2c5317196b696f67d5b91f1076e31a188977c1a0961695ed113188afba84f374c655be1f2f4cdacca31047f2813fe4541e1c76db2f
|
7
|
+
data.tar.gz: a9adf230e46c1bb645bc9ac6f0ace8ba482094ab2215bb6d10bf004e6570c40d56eb414ede98fa3f5f82f2b4a7f8fe267f1bbc8a52b466da042e1486cfa43a97
|
data/CHANGELOG.md
CHANGED
@@ -12108,6 +12108,11 @@ module Google
|
|
12108
12108
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchema]
|
12109
12109
|
attr_accessor :document_schema
|
12110
12110
|
|
12111
|
+
# Information about Generative AI model-based processor versions.
|
12112
|
+
# Corresponds to the JSON property `genAiModelInfo`
|
12113
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfo]
|
12114
|
+
attr_accessor :gen_ai_model_info
|
12115
|
+
|
12111
12116
|
# Output only. Denotes that this `ProcessorVersion` is managed by Google.
|
12112
12117
|
# Corresponds to the JSON property `googleManaged`
|
12113
12118
|
# @return [Boolean]
|
@@ -12168,6 +12173,7 @@ module Google
|
|
12168
12173
|
@deprecation_info = args[:deprecation_info] if args.key?(:deprecation_info)
|
12169
12174
|
@display_name = args[:display_name] if args.key?(:display_name)
|
12170
12175
|
@document_schema = args[:document_schema] if args.key?(:document_schema)
|
12176
|
+
@gen_ai_model_info = args[:gen_ai_model_info] if args.key?(:gen_ai_model_info)
|
12171
12177
|
@google_managed = args[:google_managed] if args.key?(:google_managed)
|
12172
12178
|
@kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
|
12173
12179
|
@kms_key_version_name = args[:kms_key_version_name] if args.key?(:kms_key_version_name)
|
@@ -12230,6 +12236,87 @@ module Google
|
|
12230
12236
|
end
|
12231
12237
|
end
|
12232
12238
|
|
12239
|
+
# Information about Generative AI model-based processor versions.
|
12240
|
+
class GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfo
|
12241
|
+
include Google::Apis::Core::Hashable
|
12242
|
+
|
12243
|
+
# Information for a custom Generative AI model created by the user. These are
|
12244
|
+
# created with `Create New Version` in either the `Call foundation model` or `
|
12245
|
+
# Fine tuning` tabs.
|
12246
|
+
# Corresponds to the JSON property `customGenAiModelInfo`
|
12247
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoCustomGenAiModelInfo]
|
12248
|
+
attr_accessor :custom_gen_ai_model_info
|
12249
|
+
|
12250
|
+
# Information for a pretrained Google-managed foundation model.
|
12251
|
+
# Corresponds to the JSON property `foundationGenAiModelInfo`
|
12252
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo]
|
12253
|
+
attr_accessor :foundation_gen_ai_model_info
|
12254
|
+
|
12255
|
+
def initialize(**args)
|
12256
|
+
update!(**args)
|
12257
|
+
end
|
12258
|
+
|
12259
|
+
# Update properties of this object
|
12260
|
+
def update!(**args)
|
12261
|
+
@custom_gen_ai_model_info = args[:custom_gen_ai_model_info] if args.key?(:custom_gen_ai_model_info)
|
12262
|
+
@foundation_gen_ai_model_info = args[:foundation_gen_ai_model_info] if args.key?(:foundation_gen_ai_model_info)
|
12263
|
+
end
|
12264
|
+
end
|
12265
|
+
|
12266
|
+
# Information for a custom Generative AI model created by the user. These are
|
12267
|
+
# created with `Create New Version` in either the `Call foundation model` or `
|
12268
|
+
# Fine tuning` tabs.
|
12269
|
+
class GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoCustomGenAiModelInfo
|
12270
|
+
include Google::Apis::Core::Hashable
|
12271
|
+
|
12272
|
+
# The base processor version ID for the custom model.
|
12273
|
+
# Corresponds to the JSON property `baseProcessorVersionId`
|
12274
|
+
# @return [String]
|
12275
|
+
attr_accessor :base_processor_version_id
|
12276
|
+
|
12277
|
+
# The type of custom model created by the user.
|
12278
|
+
# Corresponds to the JSON property `customModelType`
|
12279
|
+
# @return [String]
|
12280
|
+
attr_accessor :custom_model_type
|
12281
|
+
|
12282
|
+
def initialize(**args)
|
12283
|
+
update!(**args)
|
12284
|
+
end
|
12285
|
+
|
12286
|
+
# Update properties of this object
|
12287
|
+
def update!(**args)
|
12288
|
+
@base_processor_version_id = args[:base_processor_version_id] if args.key?(:base_processor_version_id)
|
12289
|
+
@custom_model_type = args[:custom_model_type] if args.key?(:custom_model_type)
|
12290
|
+
end
|
12291
|
+
end
|
12292
|
+
|
12293
|
+
# Information for a pretrained Google-managed foundation model.
|
12294
|
+
class GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo
|
12295
|
+
include Google::Apis::Core::Hashable
|
12296
|
+
|
12297
|
+
# Whether finetuning is allowed for this base processor version.
|
12298
|
+
# Corresponds to the JSON property `finetuningAllowed`
|
12299
|
+
# @return [Boolean]
|
12300
|
+
attr_accessor :finetuning_allowed
|
12301
|
+
alias_method :finetuning_allowed?, :finetuning_allowed
|
12302
|
+
|
12303
|
+
# The minimum number of labeled documents in the training dataset required for
|
12304
|
+
# finetuning.
|
12305
|
+
# Corresponds to the JSON property `minTrainLabeledDocuments`
|
12306
|
+
# @return [Fixnum]
|
12307
|
+
attr_accessor :min_train_labeled_documents
|
12308
|
+
|
12309
|
+
def initialize(**args)
|
12310
|
+
update!(**args)
|
12311
|
+
end
|
12312
|
+
|
12313
|
+
# Update properties of this object
|
12314
|
+
def update!(**args)
|
12315
|
+
@finetuning_allowed = args[:finetuning_allowed] if args.key?(:finetuning_allowed)
|
12316
|
+
@min_train_labeled_documents = args[:min_train_labeled_documents] if args.key?(:min_train_labeled_documents)
|
12317
|
+
end
|
12318
|
+
end
|
12319
|
+
|
12233
12320
|
# Metadata about a property.
|
12234
12321
|
class GoogleCloudDocumentaiV1beta3PropertyMetadata
|
12235
12322
|
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.99.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240716"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -2140,6 +2140,24 @@ module Google
|
|
2140
2140
|
include Google::Apis::Core::JsonObjectSupport
|
2141
2141
|
end
|
2142
2142
|
|
2143
|
+
class GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfo
|
2144
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2145
|
+
|
2146
|
+
include Google::Apis::Core::JsonObjectSupport
|
2147
|
+
end
|
2148
|
+
|
2149
|
+
class GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoCustomGenAiModelInfo
|
2150
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2151
|
+
|
2152
|
+
include Google::Apis::Core::JsonObjectSupport
|
2153
|
+
end
|
2154
|
+
|
2155
|
+
class GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo
|
2156
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2157
|
+
|
2158
|
+
include Google::Apis::Core::JsonObjectSupport
|
2159
|
+
end
|
2160
|
+
|
2143
2161
|
class GoogleCloudDocumentaiV1beta3PropertyMetadata
|
2144
2162
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2145
2163
|
|
@@ -5972,6 +5990,8 @@ module Google
|
|
5972
5990
|
property :display_name, as: 'displayName'
|
5973
5991
|
property :document_schema, as: 'documentSchema', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchema, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchema::Representation
|
5974
5992
|
|
5993
|
+
property :gen_ai_model_info, as: 'genAiModelInfo', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfo, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfo::Representation
|
5994
|
+
|
5975
5995
|
property :google_managed, as: 'googleManaged'
|
5976
5996
|
property :kms_key_name, as: 'kmsKeyName'
|
5977
5997
|
property :kms_key_version_name, as: 'kmsKeyVersionName'
|
@@ -6001,6 +6021,32 @@ module Google
|
|
6001
6021
|
end
|
6002
6022
|
end
|
6003
6023
|
|
6024
|
+
class GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfo
|
6025
|
+
# @private
|
6026
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6027
|
+
property :custom_gen_ai_model_info, as: 'customGenAiModelInfo', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoCustomGenAiModelInfo, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoCustomGenAiModelInfo::Representation
|
6028
|
+
|
6029
|
+
property :foundation_gen_ai_model_info, as: 'foundationGenAiModelInfo', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo::Representation
|
6030
|
+
|
6031
|
+
end
|
6032
|
+
end
|
6033
|
+
|
6034
|
+
class GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoCustomGenAiModelInfo
|
6035
|
+
# @private
|
6036
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6037
|
+
property :base_processor_version_id, as: 'baseProcessorVersionId'
|
6038
|
+
property :custom_model_type, as: 'customModelType'
|
6039
|
+
end
|
6040
|
+
end
|
6041
|
+
|
6042
|
+
class GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo
|
6043
|
+
# @private
|
6044
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6045
|
+
property :finetuning_allowed, as: 'finetuningAllowed'
|
6046
|
+
property :min_train_labeled_documents, as: 'minTrainLabeledDocuments'
|
6047
|
+
end
|
6048
|
+
end
|
6049
|
+
|
6004
6050
|
class GoogleCloudDocumentaiV1beta3PropertyMetadata
|
6005
6051
|
# @private
|
6006
6052
|
class Representation < Google::Apis::Core::JsonRepresentation
|
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.99.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: 2024-
|
11
|
+
date: 2024-07-25 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.99.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: []
|