Hi Team,
How to create storage bucket and files in Cloud function using Google service account credentials
Are you following any Google documentation? Have you tried anything to create the buckets? Here is a Google document that can help you [1].
[1]:https://cloud.google.com/storage/docs/reference/libraries#using_the_client_library