Class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2AutoMlParams
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2AutoMlParams
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/documentai_v1beta2/classes.rb,
lib/google/apis/documentai_v1beta2/representations.rb,
lib/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.
4497 4498 4499 |
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 4497 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`
4495 4496 4497 |
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 4495 def model @model end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4502 4503 4504 |
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 4502 def update!(**args) @model = args[:model] if args.key?(:model) end |