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

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#modelString

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

Returns:

  • (String)


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