Class: Google::Apis::HealthcareV1beta1::EvaluateAnnotationStoreRequest
- Inherits:
-
Object
- Object
- Google::Apis::HealthcareV1beta1::EvaluateAnnotationStoreRequest
- 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
-
#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.
1518 1519 1520 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 1518 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
1485 1486 1487 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 1485 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
1497 1498 1499 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 1497 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
1503 1504 1505 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 1503 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 propertygoldenStore`
1510 1511 1512 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 1510 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
1516 1517 1518 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 1516 def info_type_config @info_type_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1523 1524 1525 1526 1527 1528 1529 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 1523 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 |