GooglePrivacyDlpV2ColumnDataProfile.fromJson constructor

GooglePrivacyDlpV2ColumnDataProfile.fromJson(
  1. Map json_
)

Implementation

GooglePrivacyDlpV2ColumnDataProfile.fromJson(core.Map json_)
    : this(
        column: json_['column'] as core.String?,
        columnInfoType: json_.containsKey('columnInfoType')
            ? GooglePrivacyDlpV2InfoTypeSummary.fromJson(
                json_['columnInfoType']
                    as core.Map<core.String, core.dynamic>)
            : null,
        columnType: json_['columnType'] as core.String?,
        dataRiskLevel: json_.containsKey('dataRiskLevel')
            ? GooglePrivacyDlpV2DataRiskLevel.fromJson(
                json_['dataRiskLevel'] as core.Map<core.String, core.dynamic>)
            : null,
        datasetId: json_['datasetId'] as core.String?,
        datasetLocation: json_['datasetLocation'] as core.String?,
        datasetProjectId: json_['datasetProjectId'] as core.String?,
        estimatedNullPercentage:
            json_['estimatedNullPercentage'] as core.String?,
        estimatedUniquenessScore:
            json_['estimatedUniquenessScore'] as core.String?,
        freeTextScore: (json_['freeTextScore'] as core.num?)?.toDouble(),
        name: json_['name'] as core.String?,
        otherMatches: (json_['otherMatches'] as core.List?)
            ?.map((value) => GooglePrivacyDlpV2OtherInfoTypeSummary.fromJson(
                value as core.Map<core.String, core.dynamic>))
            .toList(),
        policyState: json_['policyState'] as core.String?,
        profileLastGenerated: json_['profileLastGenerated'] as core.String?,
        profileStatus: json_.containsKey('profileStatus')
            ? GooglePrivacyDlpV2ProfileStatus.fromJson(
                json_['profileStatus'] as core.Map<core.String, core.dynamic>)
            : null,
        sensitivityScore: json_.containsKey('sensitivityScore')
            ? GooglePrivacyDlpV2SensitivityScore.fromJson(
                json_['sensitivityScore']
                    as core.Map<core.String, core.dynamic>)
            : null,
        state: json_['state'] as core.String?,
        tableDataProfile: json_['tableDataProfile'] as core.String?,
        tableFullResource: json_['tableFullResource'] as core.String?,
        tableId: json_['tableId'] as core.String?,
      );