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.



2504
2505
2506
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2504

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



2471
2472
2473
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2471

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


2483
2484
2485
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2483

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


2489
2490
2491
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2489

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)


2496
2497
2498
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2496

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



2502
2503
2504
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2502

def info_type_config
  @info_type_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2509
2510
2511
2512
2513
2514
2515
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2509

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