GooglePrivacyDlpV2InspectContentRequest.fromJson constructor

GooglePrivacyDlpV2InspectContentRequest.fromJson(
  1. Map json_
)

Implementation

GooglePrivacyDlpV2InspectContentRequest.fromJson(core.Map json_)
    : this(
        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,
      );