Class: Google::Apis::LanguageV1beta2::XpsVisionErrorAnalysisConfig

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

Overview

The vision model error analysis configuration. Next tag: 3

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ XpsVisionErrorAnalysisConfig

Returns a new instance of XpsVisionErrorAnalysisConfig.



5338
5339
5340
# File 'lib/google/apis/language_v1beta2/classes.rb', line 5338

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

Instance Attribute Details

#example_countFixnum

The number of query examples in error analysis. Corresponds to the JSON property exampleCount

Returns:

  • (Fixnum)


5330
5331
5332
# File 'lib/google/apis/language_v1beta2/classes.rb', line 5330

def example_count
  @example_count
end

#query_typeString

The query type used in retrieval. The enum values are frozen in the foreseeable future. Corresponds to the JSON property queryType

Returns:

  • (String)


5336
5337
5338
# File 'lib/google/apis/language_v1beta2/classes.rb', line 5336

def query_type
  @query_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5343
5344
5345
5346
# File 'lib/google/apis/language_v1beta2/classes.rb', line 5343

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