Class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2AutoMlParams
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2AutoMlParams
- 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
-
#model ⇒ String
Resource name of the AutoML model.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta2AutoMlParams
constructor
A new instance of GoogleCloudDocumentaiV1beta2AutoMlParams.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#model ⇒ String
Resource name of the AutoML model. Format: projects/
project-id/locations/
location-id/models/
model-id`.
Corresponds to the JSON property
model`
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 |