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.



2411
2412
2413
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2411

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



2378
2379
2380
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2378

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>)


2390
2391
2392
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2390

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>)


2396
2397
2398
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2396

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)


2403
2404
2405
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2403

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



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

def info_type_config
  @info_type_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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