I have Google Cloud Service account and projectId and want to get projectNumber programmatically from Java.
How can I get it?
Basically I have Service Account and want to use it for granting role "roles/storage.legacyBucketWriter" for the account "project-XXXXXXX@storage-transfer-service.iam.gserviceaccount.com" in the Google Cloud Storage Bucket.
