GoogleCloudAiplatformV1PythonPackageSpec.fromJson constructor
GoogleCloudAiplatformV1PythonPackageSpec.fromJson(
- Map json_
Implementation
GoogleCloudAiplatformV1PythonPackageSpec.fromJson(core.Map json_)
: this(
args: json_.containsKey('args')
? (json_['args'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
env: json_.containsKey('env')
? (json_['env'] as core.List)
.map((value) => GoogleCloudAiplatformV1EnvVar.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
executorImageUri: json_.containsKey('executorImageUri')
? json_['executorImageUri'] as core.String
: null,
packageUris: json_.containsKey('packageUris')
? (json_['packageUris'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
pythonModule: json_.containsKey('pythonModule')
? json_['pythonModule'] as core.String
: null,
);