Class: Google::Apis::HealthcareV1beta1::EvaluateAnnotationStoreRequest

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

Overview

Request to evaluate an Annotation store against a ground truth [Annotation store].

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EvaluateAnnotationStoreRequest

Returns a new instance of EvaluateAnnotationStoreRequest.



2441
2442
2443
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2441

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

Instance Attribute Details

#bigquery_destinationGoogle::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1AnnotationBigQueryDestination

The BigQuery table for export. Corresponds to the JSON property bigqueryDestination



2408
2409
2410
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2408

def bigquery_destination
  @bigquery_destination
end

#eval_info_type_mappingHash<String,String>

Optional. InfoType mapping for eval_store. Different resources can map to the same infoType. For example, PERSON_NAME, PERSON, NAME, and HUMAN are different. To map all of these into a single infoType (such as PERSON_NAME), specify the following mapping: info_type_mapping["PERSON"] = "PERSON_NAME" info_type_mapping["NAME"] = "PERSON_NAME" info_type_mapping[" HUMAN"] = "PERSON_NAME" Unmentioned infoTypes, such as DATE, are treated as identity mapping. For example: info_type_mapping["DATE"] = "DATE" InfoTypes are case-insensitive. Corresponds to the JSON property evalInfoTypeMapping

Returns:

  • (Hash<String,String>)


2420
2421
2422
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2420

def eval_info_type_mapping
  @eval_info_type_mapping
end

#golden_info_type_mappingHash<String,String>

Optional. Similar to eval_info_type_mapping, infoType mapping for golden_store. Corresponds to the JSON property goldenInfoTypeMapping

Returns:

  • (Hash<String,String>)


2426
2427
2428
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2426

def golden_info_type_mapping
  @golden_info_type_mapping
end

#golden_storeString

Required. The Annotation store to use as ground truth, in the format of projects/project_id/locations/location_id/datasets/dataset_id/ annotationStores/annotation_store_id`. Corresponds to the JSON propertygoldenStore`

Returns:

  • (String)


2433
2434
2435
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2433

def golden_store
  @golden_store
end

#info_type_configGoogle::Apis::HealthcareV1beta1::InfoTypeConfig

Specifies how to use infoTypes for evaluation. For example, a user might only want to evaluate PERSON, LOCATION, and AGE. Corresponds to the JSON property infoTypeConfig



2439
2440
2441
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2439

def info_type_config
  @info_type_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2446
2447
2448
2449
2450
2451
2452
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2446

def update!(**args)
  @bigquery_destination = args[:bigquery_destination] if args.key?(:bigquery_destination)
  @eval_info_type_mapping = args[:eval_info_type_mapping] if args.key?(:eval_info_type_mapping)
  @golden_info_type_mapping = args[:golden_info_type_mapping] if args.key?(:golden_info_type_mapping)
  @golden_store = args[:golden_store] if args.key?(:golden_store)
  @info_type_config = args[:info_type_config] if args.key?(:info_type_config)
end