GooglePrivacyDlpV2RequestedDeidentifyOptions.fromJson constructor

GooglePrivacyDlpV2RequestedDeidentifyOptions.fromJson(
  1. Map json_
)

Implementation

GooglePrivacyDlpV2RequestedDeidentifyOptions.fromJson(core.Map json_)
    : this(
        snapshotDeidentifyTemplate:
            json_.containsKey('snapshotDeidentifyTemplate')
                ? GooglePrivacyDlpV2DeidentifyTemplate.fromJson(
                    json_['snapshotDeidentifyTemplate']
                        as core.Map<core.String, core.dynamic>)
                : null,
        snapshotImageRedactTemplate:
            json_.containsKey('snapshotImageRedactTemplate')
                ? GooglePrivacyDlpV2DeidentifyTemplate.fromJson(
                    json_['snapshotImageRedactTemplate']
                        as core.Map<core.String, core.dynamic>)
                : null,
        snapshotStructuredDeidentifyTemplate:
            json_.containsKey('snapshotStructuredDeidentifyTemplate')
                ? GooglePrivacyDlpV2DeidentifyTemplate.fromJson(
                    json_['snapshotStructuredDeidentifyTemplate']
                        as core.Map<core.String, core.dynamic>)
                : null,
      );