GoogleCloudDataplexV1Task.fromJson constructor
GoogleCloudDataplexV1Task.fromJson(
- Map json_
Implementation
GoogleCloudDataplexV1Task.fromJson(core.Map json_)
: this(
createTime: json_.containsKey('createTime')
? json_['createTime'] as core.String
: null,
description: json_.containsKey('description')
? json_['description'] as core.String
: null,
displayName: json_.containsKey('displayName')
? json_['displayName'] as core.String
: null,
executionSpec: json_.containsKey('executionSpec')
? GoogleCloudDataplexV1TaskExecutionSpec.fromJson(
json_['executionSpec'] as core.Map<core.String, core.dynamic>)
: null,
executionStatus: json_.containsKey('executionStatus')
? GoogleCloudDataplexV1TaskExecutionStatus.fromJson(
json_['executionStatus']
as core.Map<core.String, core.dynamic>)
: null,
labels: json_.containsKey('labels')
? (json_['labels'] as core.Map<core.String, core.dynamic>).map(
(key, value) => core.MapEntry(
key,
value as core.String,
),
)
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
notebook: json_.containsKey('notebook')
? GoogleCloudDataplexV1TaskNotebookTaskConfig.fromJson(
json_['notebook'] as core.Map<core.String, core.dynamic>)
: null,
spark: json_.containsKey('spark')
? GoogleCloudDataplexV1TaskSparkTaskConfig.fromJson(
json_['spark'] as core.Map<core.String, core.dynamic>)
: null,
state:
json_.containsKey('state') ? json_['state'] as core.String : null,
triggerSpec: json_.containsKey('triggerSpec')
? GoogleCloudDataplexV1TaskTriggerSpec.fromJson(
json_['triggerSpec'] as core.Map<core.String, core.dynamic>)
: null,
uid: json_.containsKey('uid') ? json_['uid'] as core.String : null,
updateTime: json_.containsKey('updateTime')
? json_['updateTime'] as core.String
: null,
);