Class: Google::Apis::HealthcareV1beta1::EvaluateAnnotationStoreRequest
- Inherits:
-
Object
- Object
- Google::Apis::HealthcareV1beta1::EvaluateAnnotationStoreRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/healthcare_v1beta1/classes.rb,
generated/google/apis/healthcare_v1beta1/representations.rb,
generated/google/apis/healthcare_v1beta1/representations.rb
Overview
Request to evaluate an Annotation store against a ground truth [Annotation store].
Instance Attribute Summary collapse
-
#bigquery_destination ⇒ Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1AnnotationBigQueryDestination
The BigQuery table for export.
-
#eval_info_type_mapping ⇒ Hash<String,String>
Optional.
-
#golden_info_type_mapping ⇒ Hash<String,String>
Optional.
-
#golden_store ⇒ String
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``. -
#info_type_config ⇒ Google::Apis::HealthcareV1beta1::InfoTypeConfig
Specifies how to use infoTypes for evaluation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EvaluateAnnotationStoreRequest
constructor
A new instance of EvaluateAnnotationStoreRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EvaluateAnnotationStoreRequest
Returns a new instance of EvaluateAnnotationStoreRequest.
1491 1492 1493 |
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 1491 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bigquery_destination ⇒ Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1AnnotationBigQueryDestination
The BigQuery table for export.
Corresponds to the JSON property bigqueryDestination
1458 1459 1460 |
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 1458 def bigquery_destination @bigquery_destination end |
#eval_info_type_mapping ⇒ Hash<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
1470 1471 1472 |
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 1470 def eval_info_type_mapping @eval_info_type_mapping end |
#golden_info_type_mapping ⇒ Hash<String,String>
Optional. Similar to eval_info_type_mapping
, infoType mapping for
golden_store
.
Corresponds to the JSON property goldenInfoTypeMapping
1476 1477 1478 |
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 1476 def golden_info_type_mapping @golden_info_type_mapping end |
#golden_store ⇒ String
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 property
goldenStore`
1483 1484 1485 |
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 1483 def golden_store @golden_store end |
#info_type_config ⇒ Google::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
1489 1490 1491 |
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 1489 def info_type_config @info_type_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1496 1497 1498 1499 1500 1501 1502 |
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 1496 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 |