class AutoScalingSpringResource {

    @ApiOperation("Update scaling policy")
    @PutMapping("scalingPolicy")
    public ResponseEntity<Void> updateScalingPolicy(@RequestBody UpdatePolicyRequest updatePolicyRequest, CallMetadataAuthentication authentication) {
        return Responses.fromCompletable(autoScalingService.updateAutoScalingPolicy(updatePolicyRequest, authentication.getCallMetadata()), HttpStatus.OK);
    }

    @Inject public  AutoScalingSpringResource(AutoScalingService autoScalingService);

}