asp.net - download object from Google cloud storage using c# -


i want download bucket object's google cloud storage. stuck in differed scenario. our scenario : have 1 main admin account in created our bucket contains files dfa(doubleclick advertisers) files. , gave writes 2 accounts access bucket.but unable see admin's bucket here. in 1 account enabled billing , in account able download files (the file , bucket create manually testing).but bucket created admin unable see. using asp.net (c#) download.that download "https://github.com/acropolium/sharpgs/blob/master/sharpgsdemo/program.cs"

the project working nice account contains 1 api project. in account have 2 different api projects both belongs different projects can see in( https://cloud.google.com/console#/project ). in current "sharpgs" project ,we have "restapiclient.cs" class in class have 1 method "createrequest" create request. here method want send project id request.headers.add(@"x-goog-project-id", "*");** if add line throw error:"the remote server returned error: (403) forbidden."

it sounds attempting fetch list of buckets these projects have access (let me know if i'm mistaken). not feature of google cloud storage. if account member of project, can list buckets belonging project. however, cannot ask list of of buckets account can write.

however, because these accounts cannot list of buckets, can access bucket they've been given write access. access bucket directly name.


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -