Class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2AutoMlParams

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/documentai_v1beta2/classes.rb,
generated/google/apis/documentai_v1beta2/representations.rb,
generated/google/apis/documentai_v1beta2/representations.rb

Overview

Parameters to control AutoML model prediction behavior.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta2AutoMlParams

Returns a new instance of GoogleCloudDocumentaiV1beta2AutoMlParams.



2026
2027
2028
# File 'generated/google/apis/documentai_v1beta2/classes.rb', line 2026

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#modelString

Resource name of the AutoML model. Format: projects/project-id/locations/ location-id/models/model-id`. Corresponds to the JSON propertymodel`

Returns:

  • (String)


2024
2025
2026
# File 'generated/google/apis/documentai_v1beta2/classes.rb', line 2024

def model
  @model
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2031
2032
2033
# File 'generated/google/apis/documentai_v1beta2/classes.rb', line 2031

def update!(**args)
  @model = args[:model] if args.key?(:model)
end