GooglePrivacyDlpV2DataProfileJobConfig.fromJson constructor
GooglePrivacyDlpV2DataProfileJobConfig.fromJson(
- Map json_
Implementation
GooglePrivacyDlpV2DataProfileJobConfig.fromJson(core.Map json_)
: this(
dataProfileActions:
(json_['dataProfileActions'] as core.List?)
?.map(
(value) => GooglePrivacyDlpV2DataProfileAction.fromJson(
value as core.Map<core.String, core.dynamic>,
),
)
.toList(),
inspectTemplates:
(json_['inspectTemplates'] as core.List?)
?.map((value) => value as core.String)
.toList(),
location:
json_.containsKey('location')
? GooglePrivacyDlpV2DataProfileLocation.fromJson(
json_['location'] as core.Map<core.String, core.dynamic>,
)
: null,
otherCloudStartingLocation:
json_.containsKey('otherCloudStartingLocation')
? GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation.fromJson(
json_['otherCloudStartingLocation']
as core.Map<core.String, core.dynamic>,
)
: null,
projectId: json_['projectId'] as core.String?,
);