GooglePrivacyDlpV2CreateInspectTemplateRequest.fromJson constructor

GooglePrivacyDlpV2CreateInspectTemplateRequest.fromJson(
  1. Map json_
)

Implementation

GooglePrivacyDlpV2CreateInspectTemplateRequest.fromJson(core.Map json_)
    : this(
        inspectTemplate: json_.containsKey('inspectTemplate')
            ? GooglePrivacyDlpV2InspectTemplate.fromJson(
                json_['inspectTemplate']
                    as core.Map<core.String, core.dynamic>)
            : null,
        locationId: json_.containsKey('locationId')
            ? json_['locationId'] as core.String
            : null,
        templateId: json_.containsKey('templateId')
            ? json_['templateId'] as core.String
            : null,
      );