AddUserGrantRequest constructor
AddUserGrantRequest({})
Implementation
factory AddUserGrantRequest({
$core.String? userId,
$core.String? projectId,
$core.String? projectGrantId,
$core.Iterable<$core.String>? roleKeys,
}) {
final $result = create();
if (userId != null) {
$result.userId = userId;
}
if (projectId != null) {
$result.projectId = projectId;
}
if (projectGrantId != null) {
$result.projectGrantId = projectGrantId;
}
if (roleKeys != null) {
$result.roleKeys.addAll(roleKeys);
}
return $result;
}