toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'algorithm': algorithm,
'enableTrialEarlyStopping': enableTrialEarlyStopping,
'goal': goal,
'hyperparameterMetricTag': hyperparameterMetricTag,
'maxFailedTrials': maxFailedTrials,
'maxParallelTrials': maxParallelTrials,
'maxTrials': maxTrials,
'params': pulumi.Input.mapInputValue<List<GoogleCloudMlV1ParameterSpecResponse>, List<Map<String, dynamic>>>(params, (value) => pulumi.Input.encodeList<GoogleCloudMlV1ParameterSpecResponse, Map<String, dynamic>>(value, (value) => value.toMap())),
'resumePreviousJobId': resumePreviousJobId,
};
}