javascript - Accessing Google Drive Folder within Team Organization using Google Services Account -


using oauth2 , google's api have set access service account, struggling set access specific folder within our team organization.

currently able method calls want (list, permissions, copy) items in drive come started file. i'm not entirely sure drive pulling doesn't exist in of accounts i've set service in.

my questions:

  • when setting drive integration using service account, default drive used , how access via dev console or gmail account?

  • are able access organization/team folders , add files it?

thank again help!

the drive resource used the google account generated service account in google dev console.

a service account special type of google account belongs application or virtual machine (vm), instead of individual end user. application calls google apis assuming identity of service account, users aren't directly involved. service account can have 0 or more pairs of service account keys, used authenticate google.

are able access organization/team folders , add files it?

if you're application using service account login, yes people you've granted permission can access , modify contents depending on roles you've given them.

you can read more of service accounts in using oauth 2.0 server server applications.


Comments