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, value) => core.MapEntry(
key,
value as core.String,
),
)
: null,
);