GooglePrivacyDlpV2CloudStorageOptions.fromJson constructor

GooglePrivacyDlpV2CloudStorageOptions.fromJson(
  1. Map json_
)

Implementation

GooglePrivacyDlpV2CloudStorageOptions.fromJson(core.Map json_)
  : this(
      bytesLimitPerFile: json_['bytesLimitPerFile'] as core.String?,
      bytesLimitPerFilePercent:
          json_['bytesLimitPerFilePercent'] as core.int?,
      fileSet:
          json_.containsKey('fileSet')
              ? GooglePrivacyDlpV2FileSet.fromJson(
                json_['fileSet'] as core.Map<core.String, core.dynamic>,
              )
              : null,
      fileTypes:
          (json_['fileTypes'] as core.List?)
              ?.map((value) => value as core.String)
              .toList(),
      filesLimitPercent: json_['filesLimitPercent'] as core.int?,
      sampleMethod: json_['sampleMethod'] as core.String?,
    );