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