toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (acceleratorConfig != null) 'acceleratorConfig': acceleratorConfig!,
      if (containerImageUri != null) 'containerImageUri': containerImageUri!,
      if (dataprocParameters != null)
        'dataprocParameters': dataprocParameters!,
      if (inputNotebookFile != null) 'inputNotebookFile': inputNotebookFile!,
      if (jobType != null) 'jobType': jobType!,
      if (kernelSpec != null) 'kernelSpec': kernelSpec!,
      if (labels != null) 'labels': labels!,
      if (masterType != null) 'masterType': masterType!,
      if (outputNotebookFolder != null)
        'outputNotebookFolder': outputNotebookFolder!,
      if (parameters != null) 'parameters': parameters!,
      if (paramsYamlFile != null) 'paramsYamlFile': paramsYamlFile!,
      if (scaleTier != null) 'scaleTier': scaleTier!,
      if (serviceAccount != null) 'serviceAccount': serviceAccount!,
      if (tensorboard != null) 'tensorboard': tensorboard!,
      if (vertexAiParameters != null)
        'vertexAiParameters': vertexAiParameters!,
    };