GooglePrivacyDlpV2DataProfileJobConfig.fromJson constructor

GooglePrivacyDlpV2DataProfileJobConfig.fromJson(
  1. Map json_
)

Implementation

GooglePrivacyDlpV2DataProfileJobConfig.fromJson(core.Map json_)
    : this(
        dataProfileActions: json_.containsKey('dataProfileActions')
            ? (json_['dataProfileActions'] as core.List)
                .map((value) => GooglePrivacyDlpV2DataProfileAction.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,
        location: json_.containsKey('location')
            ? GooglePrivacyDlpV2DataProfileLocation.fromJson(
                json_['location'] as core.Map<core.String, core.dynamic>)
            : null,
        projectId: json_.containsKey('projectId')
            ? json_['projectId'] as core.String
            : null,
      );