GooglePrivacyDlpV2BigQueryOptions.fromJson constructor

GooglePrivacyDlpV2BigQueryOptions.fromJson(
  1. Map json_
)

Implementation

GooglePrivacyDlpV2BigQueryOptions.fromJson(core.Map json_)
    : this(
        excludedFields: json_.containsKey('excludedFields')
            ? (json_['excludedFields'] as core.List)
                .map((value) => GooglePrivacyDlpV2FieldId.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        identifyingFields: json_.containsKey('identifyingFields')
            ? (json_['identifyingFields'] as core.List)
                .map((value) => GooglePrivacyDlpV2FieldId.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        includedFields: json_.containsKey('includedFields')
            ? (json_['includedFields'] as core.List)
                .map((value) => GooglePrivacyDlpV2FieldId.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        rowsLimit: json_.containsKey('rowsLimit')
            ? json_['rowsLimit'] as core.String
            : null,
        rowsLimitPercent: json_.containsKey('rowsLimitPercent')
            ? json_['rowsLimitPercent'] as core.int
            : null,
        sampleMethod: json_.containsKey('sampleMethod')
            ? json_['sampleMethod'] as core.String
            : null,
        tableReference: json_.containsKey('tableReference')
            ? GooglePrivacyDlpV2BigQueryTable.fromJson(json_['tableReference']
                as core.Map<core.String, core.dynamic>)
            : null,
      );