Class: Google::Apis::LanguageV1::XpsVisionErrorAnalysisConfig
- Inherits:
-
Object
- Object
- Google::Apis::LanguageV1::XpsVisionErrorAnalysisConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/language_v1/classes.rb,
lib/google/apis/language_v1/representations.rb,
lib/google/apis/language_v1/representations.rb
Overview
The vision model error analysis configuration. Next tag: 3
Instance Attribute Summary collapse
-
#example_count ⇒ Fixnum
The number of query examples in error analysis.
-
#query_type ⇒ String
The query type used in retrieval.
Instance Method Summary collapse
-
#initialize(**args) ⇒ XpsVisionErrorAnalysisConfig
constructor
A new instance of XpsVisionErrorAnalysisConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ XpsVisionErrorAnalysisConfig
Returns a new instance of XpsVisionErrorAnalysisConfig.
5318 5319 5320 |
# File 'lib/google/apis/language_v1/classes.rb', line 5318 def initialize(**args) update!(**args) end |
Instance Attribute Details
#example_count ⇒ Fixnum
The number of query examples in error analysis.
Corresponds to the JSON property exampleCount
5310 5311 5312 |
# File 'lib/google/apis/language_v1/classes.rb', line 5310 def example_count @example_count end |
#query_type ⇒ String
The query type used in retrieval. The enum values are frozen in the
foreseeable future.
Corresponds to the JSON property queryType
5316 5317 5318 |
# File 'lib/google/apis/language_v1/classes.rb', line 5316 def query_type @query_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5323 5324 5325 5326 |
# File 'lib/google/apis/language_v1/classes.rb', line 5323 def update!(**args) @example_count = args[:example_count] if args.key?(:example_count) @query_type = args[:query_type] if args.key?(:query_type) end |