GooglePrivacyDlpV2TableDataProfile.fromJson constructor
GooglePrivacyDlpV2TableDataProfile.fromJson(
- Map json_
Implementation
GooglePrivacyDlpV2TableDataProfile.fromJson(core.Map json_)
: this(
configSnapshot: json_.containsKey('configSnapshot')
? GooglePrivacyDlpV2DataProfileConfigSnapshot.fromJson(
json_['configSnapshot']
as core.Map<core.String, core.dynamic>)
: null,
createTime: json_.containsKey('createTime')
? json_['createTime'] as core.String
: null,
dataRiskLevel: json_.containsKey('dataRiskLevel')
? GooglePrivacyDlpV2DataRiskLevel.fromJson(
json_['dataRiskLevel'] as core.Map<core.String, core.dynamic>)
: null,
dataSourceType: json_.containsKey('dataSourceType')
? GooglePrivacyDlpV2DataSourceType.fromJson(
json_['dataSourceType']
as core.Map<core.String, core.dynamic>)
: null,
datasetId: json_.containsKey('datasetId')
? json_['datasetId'] as core.String
: null,
datasetLocation: json_.containsKey('datasetLocation')
? json_['datasetLocation'] as core.String
: null,
datasetProjectId: json_.containsKey('datasetProjectId')
? json_['datasetProjectId'] as core.String
: null,
encryptionStatus: json_.containsKey('encryptionStatus')
? json_['encryptionStatus'] as core.String
: null,
expirationTime: json_.containsKey('expirationTime')
? json_['expirationTime'] as core.String
: null,
failedColumnCount: json_.containsKey('failedColumnCount')
? json_['failedColumnCount'] as core.String
: null,
fullResource: json_.containsKey('fullResource')
? json_['fullResource'] as core.String
: null,
lastModifiedTime: json_.containsKey('lastModifiedTime')
? json_['lastModifiedTime'] as core.String
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
otherInfoTypes: json_.containsKey('otherInfoTypes')
? (json_['otherInfoTypes'] as core.List)
.map((value) =>
GooglePrivacyDlpV2OtherInfoTypeSummary.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
predictedInfoTypes: json_.containsKey('predictedInfoTypes')
? (json_['predictedInfoTypes'] as core.List)
.map((value) => GooglePrivacyDlpV2InfoTypeSummary.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: 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,
projectDataProfile: json_.containsKey('projectDataProfile')
? json_['projectDataProfile'] as core.String
: null,
resourceLabels: json_.containsKey('resourceLabels')
? (json_['resourceLabels'] as core.Map<core.String, core.dynamic>)
.map(
(key, value) => core.MapEntry(
key,
value as core.String,
),
)
: null,
resourceVisibility: json_.containsKey('resourceVisibility')
? json_['resourceVisibility'] as core.String
: null,
rowCount: json_.containsKey('rowCount')
? json_['rowCount'] as core.String
: null,
scannedColumnCount: json_.containsKey('scannedColumnCount')
? json_['scannedColumnCount'] as core.String
: null,
sensitivityScore: json_.containsKey('sensitivityScore')
? GooglePrivacyDlpV2SensitivityScore.fromJson(
json_['sensitivityScore']
as core.Map<core.String, core.dynamic>)
: null,
state:
json_.containsKey('state') ? json_['state'] as core.String : null,
tableId: json_.containsKey('tableId')
? json_['tableId'] as core.String
: null,
tableSizeBytes: json_.containsKey('tableSizeBytes')
? json_['tableSizeBytes'] as core.String
: null,
);