BatchPredictionJob_OutputConfig.fromJson constructor
BatchPredictionJob_OutputConfig.fromJson(
- Object? j
Implementation
factory BatchPredictionJob_OutputConfig.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return BatchPredictionJob_OutputConfig(
gcsDestination: switch (json['gcsDestination']) {
null => null,
Object $1 => GcsDestination.fromJson($1),
},
bigqueryDestination: switch (json['bigqueryDestination']) {
null => null,
Object $1 => BigQueryDestination.fromJson($1),
},
predictionsFormat: switch (json['predictionsFormat']) {
null => '',
Object $1 => decodeString($1),
},
);
}