GooglePrivacyDlpV2ProjectDataProfile.fromJson constructor

GooglePrivacyDlpV2ProjectDataProfile.fromJson(
  1. Map json_
)

Implementation

GooglePrivacyDlpV2ProjectDataProfile.fromJson(core.Map json_)
    : this(
        dataRiskLevel: json_.containsKey('dataRiskLevel')
            ? GooglePrivacyDlpV2DataRiskLevel.fromJson(
                json_['dataRiskLevel'] as core.Map<core.String, core.dynamic>)
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        profileLastGenerated: json_.containsKey('profileLastGenerated')
            ? json_['profileLastGenerated'] as core.String
            : null,
        profileStatus: json_.containsKey('profileStatus')
            ? GooglePrivacyDlpV2ProfileStatus.fromJson(
                json_['profileStatus'] as core.Map<core.String, core.dynamic>)
            : null,
        projectId: json_.containsKey('projectId')
            ? json_['projectId'] as core.String
            : null,
        sensitivityScore: json_.containsKey('sensitivityScore')
            ? GooglePrivacyDlpV2SensitivityScore.fromJson(
                json_['sensitivityScore']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );