GooglePrivacyDlpV2DiscoveryConfig.fromJson constructor
GooglePrivacyDlpV2DiscoveryConfig.fromJson(
- Map json_
Implementation
GooglePrivacyDlpV2DiscoveryConfig.fromJson(core.Map json_)
: this(
actions: json_.containsKey('actions')
? (json_['actions'] as core.List)
.map((value) => GooglePrivacyDlpV2DataProfileAction.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
createTime: json_.containsKey('createTime')
? json_['createTime'] as core.String
: null,
displayName: json_.containsKey('displayName')
? json_['displayName'] as core.String
: null,
errors: json_.containsKey('errors')
? (json_['errors'] as core.List)
.map((value) => GooglePrivacyDlpV2Error.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
inspectTemplates: json_.containsKey('inspectTemplates')
? (json_['inspectTemplates'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
lastRunTime: json_.containsKey('lastRunTime')
? json_['lastRunTime'] as core.String
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
orgConfig: json_.containsKey('orgConfig')
? GooglePrivacyDlpV2OrgConfig.fromJson(
json_['orgConfig'] as core.Map<core.String, core.dynamic>)
: null,
status: json_.containsKey('status')
? json_['status'] as core.String
: null,
targets: json_.containsKey('targets')
? (json_['targets'] as core.List)
.map((value) => GooglePrivacyDlpV2DiscoveryTarget.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
updateTime: json_.containsKey('updateTime')
? json_['updateTime'] as core.String
: null,
);