GoogleCloudDatalabelingV1beta1InputConfig.fromJson constructor
GoogleCloudDatalabelingV1beta1InputConfig.fromJson(
- Map json_
Implementation
GoogleCloudDatalabelingV1beta1InputConfig.fromJson(core.Map json_)
: this(
annotationType: json_.containsKey('annotationType')
? json_['annotationType'] as core.String
: null,
bigquerySource: json_.containsKey('bigquerySource')
? GoogleCloudDatalabelingV1beta1BigQuerySource.fromJson(
json_['bigquerySource']
as core.Map<core.String, core.dynamic>)
: null,
classificationMetadata: json_.containsKey('classificationMetadata')
? GoogleCloudDatalabelingV1beta1ClassificationMetadata.fromJson(
json_['classificationMetadata']
as core.Map<core.String, core.dynamic>)
: null,
dataType: json_.containsKey('dataType')
? json_['dataType'] as core.String
: null,
gcsSource: json_.containsKey('gcsSource')
? GoogleCloudDatalabelingV1beta1GcsSource.fromJson(
json_['gcsSource'] as core.Map<core.String, core.dynamic>)
: null,
textMetadata: json_.containsKey('textMetadata')
? GoogleCloudDatalabelingV1beta1TextMetadata.fromJson(
json_['textMetadata'] as core.Map<core.String, core.dynamic>)
: null,
);