GoogleCloudDataplexV1DataQualitySpec.fromJson constructor

GoogleCloudDataplexV1DataQualitySpec.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDataplexV1DataQualitySpec.fromJson(core.Map json_)
    : this(
        postScanActions: json_.containsKey('postScanActions')
            ? GoogleCloudDataplexV1DataQualitySpecPostScanActions.fromJson(
                json_['postScanActions']
                    as core.Map<core.String, core.dynamic>)
            : null,
        rowFilter: json_.containsKey('rowFilter')
            ? json_['rowFilter'] as core.String
            : null,
        rules: json_.containsKey('rules')
            ? (json_['rules'] as core.List)
                .map((value) => GoogleCloudDataplexV1DataQualityRule.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        samplingPercent: json_.containsKey('samplingPercent')
            ? (json_['samplingPercent'] as core.num).toDouble()
            : null,
      );