Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoCustomGenAiModelInfo
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoCustomGenAiModelInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/documentai_v1beta3/classes.rb,
lib/google/apis/documentai_v1beta3/representations.rb,
lib/google/apis/documentai_v1beta3/representations.rb
Overview
Information for a custom Generative AI model created by the user. These are
created with Create New Version
in either the Call foundation model
or
Fine tuning
tabs.
Instance Attribute Summary collapse
-
#base_processor_version_id ⇒ String
The base processor version ID for the custom model.
-
#custom_model_type ⇒ String
The type of custom model created by the user.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoCustomGenAiModelInfo
constructor
A new instance of GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoCustomGenAiModelInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoCustomGenAiModelInfo
Returns a new instance of GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoCustomGenAiModelInfo.
12282 12283 12284 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 12282 def initialize(**args) update!(**args) end |
Instance Attribute Details
#base_processor_version_id ⇒ String
The base processor version ID for the custom model.
Corresponds to the JSON property baseProcessorVersionId
12275 12276 12277 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 12275 def base_processor_version_id @base_processor_version_id end |
#custom_model_type ⇒ String
The type of custom model created by the user.
Corresponds to the JSON property customModelType
12280 12281 12282 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 12280 def custom_model_type @custom_model_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12287 12288 12289 12290 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 12287 def update!(**args) @base_processor_version_id = args[:base_processor_version_id] if args.key?(:base_processor_version_id) @custom_model_type = args[:custom_model_type] if args.key?(:custom_model_type) end |