GoogleCloudDatalabelingV1beta1EvaluationJobConfig.fromJson constructor
GoogleCloudDatalabelingV1beta1EvaluationJobConfig.fromJson(
- Map json_
Implementation
GoogleCloudDatalabelingV1beta1EvaluationJobConfig.fromJson(core.Map json_)
: this(
bigqueryImportKeys: json_.containsKey('bigqueryImportKeys')
? (json_['bigqueryImportKeys']
as core.Map<core.String, core.dynamic>)
.map(
(key, value) => core.MapEntry(
key,
value as core.String,
),
)
: null,
boundingPolyConfig: json_.containsKey('boundingPolyConfig')
? GoogleCloudDatalabelingV1beta1BoundingPolyConfig.fromJson(
json_['boundingPolyConfig']
as core.Map<core.String, core.dynamic>)
: null,
evaluationConfig: json_.containsKey('evaluationConfig')
? GoogleCloudDatalabelingV1beta1EvaluationConfig.fromJson(
json_['evaluationConfig']
as core.Map<core.String, core.dynamic>)
: null,
evaluationJobAlertConfig: json_
.containsKey('evaluationJobAlertConfig')
? GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfig.fromJson(
json_['evaluationJobAlertConfig']
as core.Map<core.String, core.dynamic>)
: null,
exampleCount: json_.containsKey('exampleCount')
? json_['exampleCount'] as core.int
: null,
exampleSamplePercentage: json_.containsKey('exampleSamplePercentage')
? (json_['exampleSamplePercentage'] as core.num).toDouble()
: null,
humanAnnotationConfig: json_.containsKey('humanAnnotationConfig')
? GoogleCloudDatalabelingV1beta1HumanAnnotationConfig.fromJson(
json_['humanAnnotationConfig']
as core.Map<core.String, core.dynamic>)
: null,
imageClassificationConfig:
json_.containsKey('imageClassificationConfig')
? GoogleCloudDatalabelingV1beta1ImageClassificationConfig
.fromJson(json_['imageClassificationConfig']
as core.Map<core.String, core.dynamic>)
: null,
inputConfig: json_.containsKey('inputConfig')
? GoogleCloudDatalabelingV1beta1InputConfig.fromJson(
json_['inputConfig'] as core.Map<core.String, core.dynamic>)
: null,
textClassificationConfig: json_
.containsKey('textClassificationConfig')
? GoogleCloudDatalabelingV1beta1TextClassificationConfig.fromJson(
json_['textClassificationConfig']
as core.Map<core.String, core.dynamic>)
: null,
);