GoogleCloudDataplexV1DataQualityRule.fromJson constructor
GoogleCloudDataplexV1DataQualityRule.fromJson(
- Map json_
Implementation
GoogleCloudDataplexV1DataQualityRule.fromJson(core.Map json_)
: this(
column: json_.containsKey('column')
? json_['column'] as core.String
: null,
description: json_.containsKey('description')
? json_['description'] as core.String
: null,
dimension: json_.containsKey('dimension')
? json_['dimension'] as core.String
: null,
ignoreNull: json_.containsKey('ignoreNull')
? json_['ignoreNull'] as core.bool
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
nonNullExpectation: json_.containsKey('nonNullExpectation')
? GoogleCloudDataplexV1DataQualityRuleNonNullExpectation.fromJson(
json_['nonNullExpectation']
as core.Map<core.String, core.dynamic>)
: null,
rangeExpectation: json_.containsKey('rangeExpectation')
? GoogleCloudDataplexV1DataQualityRuleRangeExpectation.fromJson(
json_['rangeExpectation']
as core.Map<core.String, core.dynamic>)
: null,
regexExpectation: json_.containsKey('regexExpectation')
? GoogleCloudDataplexV1DataQualityRuleRegexExpectation.fromJson(
json_['regexExpectation']
as core.Map<core.String, core.dynamic>)
: null,
rowConditionExpectation: json_.containsKey('rowConditionExpectation')
? GoogleCloudDataplexV1DataQualityRuleRowConditionExpectation
.fromJson(json_['rowConditionExpectation']
as core.Map<core.String, core.dynamic>)
: null,
setExpectation: json_.containsKey('setExpectation')
? GoogleCloudDataplexV1DataQualityRuleSetExpectation.fromJson(
json_['setExpectation']
as core.Map<core.String, core.dynamic>)
: null,
sqlAssertion: json_.containsKey('sqlAssertion')
? GoogleCloudDataplexV1DataQualityRuleSqlAssertion.fromJson(
json_['sqlAssertion'] as core.Map<core.String, core.dynamic>)
: null,
statisticRangeExpectation: json_
.containsKey('statisticRangeExpectation')
? GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectation
.fromJson(json_['statisticRangeExpectation']
as core.Map<core.String, core.dynamic>)
: null,
tableConditionExpectation: json_
.containsKey('tableConditionExpectation')
? GoogleCloudDataplexV1DataQualityRuleTableConditionExpectation
.fromJson(json_['tableConditionExpectation']
as core.Map<core.String, core.dynamic>)
: null,
threshold: json_.containsKey('threshold')
? (json_['threshold'] as core.num).toDouble()
: null,
uniquenessExpectation: json_.containsKey('uniquenessExpectation')
? GoogleCloudDataplexV1DataQualityRuleUniquenessExpectation
.fromJson(json_['uniquenessExpectation']
as core.Map<core.String, core.dynamic>)
: null,
);