GooglePrivacyDlpV2DeidentifyContentRequest.fromJson constructor

GooglePrivacyDlpV2DeidentifyContentRequest.fromJson(
  1. Map json_
)

Implementation

GooglePrivacyDlpV2DeidentifyContentRequest.fromJson(core.Map json_)
    : this(
        deidentifyConfig: json_.containsKey('deidentifyConfig')
            ? GooglePrivacyDlpV2DeidentifyConfig.fromJson(
                json_['deidentifyConfig']
                    as core.Map<core.String, core.dynamic>)
            : null,
        deidentifyTemplateName: json_.containsKey('deidentifyTemplateName')
            ? json_['deidentifyTemplateName'] as core.String
            : null,
        inspectConfig: json_.containsKey('inspectConfig')
            ? GooglePrivacyDlpV2InspectConfig.fromJson(
                json_['inspectConfig'] as core.Map<core.String, core.dynamic>)
            : null,
        inspectTemplateName: json_.containsKey('inspectTemplateName')
            ? json_['inspectTemplateName'] as core.String
            : null,
        item: json_.containsKey('item')
            ? GooglePrivacyDlpV2ContentItem.fromJson(
                json_['item'] as core.Map<core.String, core.dynamic>)
            : null,
        locationId: json_.containsKey('locationId')
            ? json_['locationId'] as core.String
            : null,
      );