toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (baseOutputDirectory != null)
        'baseOutputDirectory': baseOutputDirectory!,
      if (enableDashboardAccess != null)
        'enableDashboardAccess': enableDashboardAccess!,
      if (enableWebAccess != null) 'enableWebAccess': enableWebAccess!,
      if (experiment != null) 'experiment': experiment!,
      if (experimentRun != null) 'experimentRun': experimentRun!,
      if (models != null) 'models': models!,
      if (network != null) 'network': network!,
      if (protectedArtifactLocationId != null)
        'protectedArtifactLocationId': protectedArtifactLocationId!,
      if (reservedIpRanges != null) 'reservedIpRanges': reservedIpRanges!,
      if (scheduling != null) 'scheduling': scheduling!,
      if (serviceAccount != null) 'serviceAccount': serviceAccount!,
      if (tensorboard != null) 'tensorboard': tensorboard!,
      if (workerPoolSpecs != null) 'workerPoolSpecs': workerPoolSpecs!,
    };