Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Google Drive APİ help ?

Hello Friends, I have prepared a project.from c# I am enabling external users to download files from my Google account using Drive Api. However, when the project runs the client.Json file, it prompts it to connect to my Google account and approve some permissions. What should I do to avoid this redirect?

Solved Solved
0 3 582
1 ACCEPTED SOLUTION

Not 100% sure but I'd say you can't do that with Drive, I'd say that's a Google Storage type of project. Drive is tide up to your individual user account if I am not mistaken and it'll be a bit of an issue.

As I said, I may be wrong but I won't chose Drive for that, I'd go with Google Storage which is different thing and will do the same job.

View solution in original post

3 REPLIES 3

Not 100% sure but I'd say you can't do that with Drive, I'd say that's a Google Storage type of project. Drive is tide up to your individual user account if I am not mistaken and it'll be a bit of an issue.

As I said, I may be wrong but I won't chose Drive for that, I'd go with Google Storage which is different thing and will do the same job.

not solved help please

@konohali avoid using Google Drive for your projects, even if you manage to make it work that's not quite best practices, Google Drive is not suitable for this.

Open a GCP account here at https://cloud.google.com and once you have that in place just create a Storage Bucket with your desired name. Update your application code following the documentation available at https://cloud.google.com/storage/docs/reference/libraries and use this Storage Bucket for any type of operation that you may need in terms of storage.

Make sure that your application has the right permissions to execute all required operations (Read / Write).