I am trying to deploy onRequest cloud function with name include hyphen (-) as "dummystore-bot", Instead of dummystoreBot with CLI, After "folder uploaded successful" it give following error

Is there any way to do it using JavaScript..?
I also tried gcloud console but still it gives error
I am trying to deploy onRequest cloud function with name include hyphen (-) as "dummystore-bot", Instead of dummystoreBot with CLI, After "folder uploaded successful" it give following error
Is there any way to do it using JavaScript..?
I also tried gcloud console but still it gives error