SetSecurityPolicyRequest constructor
SetSecurityPolicyRequest({})
Implementation
factory SetSecurityPolicyRequest({
$core.bool? enableIframeEmbedding,
$core.Iterable<$core.String>? allowedOrigins,
$core.bool? enableImpersonation,
}) {
final $result = create();
if (enableIframeEmbedding != null) {
$result.enableIframeEmbedding = enableIframeEmbedding;
}
if (allowedOrigins != null) {
$result.allowedOrigins.addAll(allowedOrigins);
}
if (enableImpersonation != null) {
$result.enableImpersonation = enableImpersonation;
}
return $result;
}