GooglePrivacyDlpV2CloudStorageRegexFileSet.fromMap constructor
GooglePrivacyDlpV2CloudStorageRegexFileSet.fromMap(
- Map<String, dynamic> map
)
Implementation
factory GooglePrivacyDlpV2CloudStorageRegexFileSet.fromMap(Map<String, dynamic> map) {
return GooglePrivacyDlpV2CloudStorageRegexFileSet(
bucketName: (() { final guardedValue = map['bucketName']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
excludeRegex: (() { final guardedValue = map['excludeRegex']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as List).cast<String>()); })(),
includeRegex: (() { final guardedValue = map['includeRegex']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as List).cast<String>()); })(),
);
}