BackendRule constructor
BackendRule({})
Implementation
factory BackendRule({
$core.String? selector,
$core.String? address,
$core.double? deadline,
$core.double? minDeadline,
$core.double? operationDeadline,
BackendRule_PathTranslation? pathTranslation,
$core.String? jwtAudience,
$core.bool? disableAuth,
$core.String? protocol,
}) {
final _result = create();
if (selector != null) {
_result.selector = selector;
}
if (address != null) {
_result.address = address;
}
if (deadline != null) {
_result.deadline = deadline;
}
if (minDeadline != null) {
_result.minDeadline = minDeadline;
}
if (operationDeadline != null) {
_result.operationDeadline = operationDeadline;
}
if (pathTranslation != null) {
_result.pathTranslation = pathTranslation;
}
if (jwtAudience != null) {
_result.jwtAudience = jwtAudience;
}
if (disableAuth != null) {
_result.disableAuth = disableAuth;
}
if (protocol != null) {
_result.protocol = protocol;
}
return _result;
}