BatchPredictionJob_InputConfig.fromJson constructor
BatchPredictionJob_InputConfig.fromJson(
- Object? j
Implementation
factory BatchPredictionJob_InputConfig.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return BatchPredictionJob_InputConfig(
gcsSource: switch (json['gcsSource']) {
null => null,
Object $1 => GcsSource.fromJson($1),
},
bigquerySource: switch (json['bigquerySource']) {
null => null,
Object $1 => BigQuerySource.fromJson($1),
},
instancesFormat: switch (json['instancesFormat']) {
null => '',
Object $1 => decodeString($1),
},
);
}