Skip to main content

All Questions

1 vote
1 answer
355 views

Move files from private google bucket to a google drive

well we basically store some files on buckets in Google cloud, now I started to work on a feature to schedule tasks and move files, so what we want is the user to provide an api key/secret of google ...
Prince Hernandez's user avatar
0 votes
1 answer
45 views

unable to store getDownloadUrl in state

const [values, setValues] = useState({ description: "", postImgUrl: "" }); const [imgPreview, setImgPreview] = useState(); const handleChange = (e) => { setImgPreview(...
user1450966's user avatar
1 vote
1 answer
66 views

Can GCS "PATCH" completely replace metadata in one request

According to the documentation here: https://cloud.google.com/storage/docs/json_api#patch setting: "metadata": null will clear the metadata, whereas setting: { "metadata": {&...
Clinton's user avatar
  • 23.2k
0 votes
1 answer
167 views

Write a new key to every line in a NDJSON file

I'm trying to format the data to feed into an API. The requested body asking for { userEvent: { eventType: "home-page-view", visitorId: "visitor-1", userInfo: { userId: "user-...
Anita's user avatar
  • 285
0 votes
1 answer
118 views

Use a CURL POST request with Java to upload image in Google Cloud Storage

I want to upload a file in a bucket on my Google Cloud Storage using Java. Due to my project's restriction, I muse use cURL. Google's docs provided this template of a cURL upload command: curl -X POST ...
JrmyQg's user avatar
  • 3
0 votes
1 answer
131 views

How can I update an object metadata through Google Cloud Storage using Python aiohttp PATCH request?

I'm trying to update an object metadata through Google Cloud Storage using Python aiohttp PATCH request, code attempt as follow. async def send_init_value_map(sequence_name): """...
xiexieni9527's user avatar
0 votes
0 answers
122 views

Invalid grant Google Service Account or 'unauthorized_client: Client is unauthorized to retrieve access tokens'

I'm trying to get/download email archives in a cloudStorage bucket. I generate exports in Google Vault w/. This emails, but I'm get stucked when I try to download them. I'm using this code: scopes = [&...
pdrferrari's user avatar
4 votes
2 answers
19k views

NoClassDefFoundError: com/google/common/util/concurrent/internal/InternalFutureFailureAccess

I have a maven project which downloads files from the google storage bucket, and I am getting this error: java.lang.NoClassDefFoundError: com/google/common/util/concurrent/internal/...
Mahmoud Alsheikh's user avatar
1 vote
1 answer
2k views

Authenticate to google cloud as a service account on browser

I am trying to migrate my google cloud app from Nodejs to native JavaScript, such that it can be run in the browser. However, I can't seem to find any examples of how to authenticate as a service ...
GJKamClark's user avatar
1 vote
0 answers
115 views

Issue with Importing Google Cloud API libraries on Maven Java Project (VSCode Mac)

I'm having an issue importing the libraries for the Google Cloud API, I opened a default maven file and included all the appropriate dependencies in my pom.xml file (provided in the CloudCode ...
Cardinal_no.2's user avatar
0 votes
0 answers
2k views

Google cloud storage object - Service account does not have storage object get access

I have a service account for my GCP project that uses the Vault and Google Cloud Storage APIs. I have ensured that both of these APIs are enabled. I have also ensured my service account has the ...
line_definer's user avatar
1 vote
1 answer
1k views

Google cloud storage API not uploading blob to bucket

I have adhered to google cloud storage documentation for getting a local file on a server uploaded as a blob to a bucket I created yet it does not work. It does work manually via the cloud console gui ...
line_definer's user avatar
0 votes
0 answers
17 views

Download folder with Google Cloud Storage Api [duplicate]

I tried to download a folder with Google Cloud Storage API. I checked this documentation, and it works for a single file. I try to find another way to download the folder, do you know any way to do it?...
VusalIs's user avatar
  • 43
3 votes
0 answers
717 views

How to make API calls to Google Cloud Storage APIs without using Google Client Library. [NodeJS]

I need to make REST calls to Google Cloud Storage for the following functions: Authenticate. - That is generate access tokens from client credentials using OAuth 2.0. Download an Object. Upload an ...
Swift Mercury's user avatar
0 votes
0 answers
52 views

Missing owner.entityId field when listing objects

According to this document https://cloud.google.com/storage/docs/json_api/v1/objects#resource listing objects in a bucket with projection=full parameter should return information about the owner of ...
chicken-rice's user avatar

15 30 50 per page
1
2 3 4 5
10