GoogleCloudAiplatformV1PipelineTaskDetail.fromJson constructor
GoogleCloudAiplatformV1PipelineTaskDetail.fromJson(
- Map json_
Implementation
GoogleCloudAiplatformV1PipelineTaskDetail.fromJson(core.Map json_)
: this(
createTime: json_.containsKey('createTime')
? json_['createTime'] as core.String
: null,
endTime: json_.containsKey('endTime')
? json_['endTime'] as core.String
: null,
error: json_.containsKey('error')
? GoogleRpcStatus.fromJson(
json_['error'] as core.Map<core.String, core.dynamic>)
: null,
execution: json_.containsKey('execution')
? GoogleCloudAiplatformV1Execution.fromJson(
json_['execution'] as core.Map<core.String, core.dynamic>)
: null,
executorDetail: json_.containsKey('executorDetail')
? GoogleCloudAiplatformV1PipelineTaskExecutorDetail.fromJson(
json_['executorDetail']
as core.Map<core.String, core.dynamic>)
: null,
inputs: json_.containsKey('inputs')
? (json_['inputs'] as core.Map<core.String, core.dynamic>).map(
(key, value) => core.MapEntry(
key,
GoogleCloudAiplatformV1PipelineTaskDetailArtifactList
.fromJson(value as core.Map<core.String, core.dynamic>),
),
)
: null,
outputs: json_.containsKey('outputs')
? (json_['outputs'] as core.Map<core.String, core.dynamic>).map(
(key, value) => core.MapEntry(
key,
GoogleCloudAiplatformV1PipelineTaskDetailArtifactList
.fromJson(value as core.Map<core.String, core.dynamic>),
),
)
: null,
parentTaskId: json_.containsKey('parentTaskId')
? json_['parentTaskId'] as core.String
: null,
pipelineTaskStatus: json_.containsKey('pipelineTaskStatus')
? (json_['pipelineTaskStatus'] as core.List)
.map((value) =>
GoogleCloudAiplatformV1PipelineTaskDetailPipelineTaskStatus
.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
startTime: json_.containsKey('startTime')
? json_['startTime'] as core.String
: null,
state:
json_.containsKey('state') ? json_['state'] as core.String : null,
taskId: json_.containsKey('taskId')
? json_['taskId'] as core.String
: null,
taskName: json_.containsKey('taskName')
? json_['taskName'] as core.String
: null,
);