toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (automapSubstitutions != null)
        'automapSubstitutions': automapSubstitutions!,
      if (defaultLogsBucketBehavior != null)
        'defaultLogsBucketBehavior': defaultLogsBucketBehavior!,
      if (diskSizeGb != null) 'diskSizeGb': diskSizeGb!,
      if (dynamicSubstitutions != null)
        'dynamicSubstitutions': dynamicSubstitutions!,
      if (env != null) 'env': env!,
      if (logStreamingOption != null)
        'logStreamingOption': logStreamingOption!,
      if (logging != null) 'logging': logging!,
      if (machineType != null) 'machineType': machineType!,
      if (pool != null) 'pool': pool!,
      if (requestedVerifyOption != null)
        'requestedVerifyOption': requestedVerifyOption!,
      if (secretEnv != null) 'secretEnv': secretEnv!,
      if (sourceProvenanceHash != null)
        'sourceProvenanceHash': sourceProvenanceHash!,
      if (substitutionOption != null)
        'substitutionOption': substitutionOption!,
      if (volumes != null) 'volumes': volumes!,
      if (workerPool != null) 'workerPool': workerPool!,
    };