CreateJobFromTemplateRequest.fromJson constructor
CreateJobFromTemplateRequest.fromJson(
- Map _json
Implementation
CreateJobFromTemplateRequest.fromJson(core.Map _json)
: this(
environment: _json.containsKey('environment')
? RuntimeEnvironment.fromJson(
_json['environment'] as core.Map<core.String, core.dynamic>)
: null,
gcsPath: _json.containsKey('gcsPath')
? _json['gcsPath'] as core.String
: null,
jobName: _json.containsKey('jobName')
? _json['jobName'] as core.String
: null,
location: _json.containsKey('location')
? _json['location'] as core.String
: null,
parameters: _json.containsKey('parameters')
? (_json['parameters'] as core.Map<core.String, core.dynamic>)
.map(
(key, item) => core.MapEntry(
key,
item as core.String,
),
)
: null,
);