All Questions
9 questions
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-...
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 = [&...
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 ...
0
votes
0
answers
2k
views
Getting a google.auth.exceptions.RefreshError when trying to read a file from cloud storage into Pandas
I am trying to read a cloud storage file into a Pandas dataframe locally and then load it into a Big Query table using Python but I get the following error:
google.auth.exceptions.RefreshError: ('...
0
votes
2
answers
254
views
using google storage and google vision API
I have the follow function that passes a image url to google vision service and returns the letters and numbers (characters) in the image. It works fine with general web urls but I'm calling it to ...
1
vote
1
answer
121
views
Can I use a Google Cloud Storage object as the payload for an AutoML Vision request?
I have a trained model from the Google AutoML Vision API. I want to use this model to predict labels on a set of images that I have stored in a Google Cloud Storage Bucket. Google provides some ...
1
vote
1
answer
263
views
How to Audit thousands of objects in a GCP storage bucket more efficiently in Python
I am writing a programme that goes through a large number of storage objects using Google's google-api-python-client, but I'm wondering if there is a more efficient way I'm overlooking?
At the moment ...
1
vote
1
answer
1k
views
How to download all files from google bucket directory to local directory using google oauth
Is there any way using OAuth to download all content of a google bucket directory to a local directory.
I found two ways using (get request object) from storage API and gsutil. But since API uses ...
3
votes
2
answers
2k
views
Extracting BigQuery Data From a Shared Dataset
Is it possible to extract data (to google cloud storage) from a shared dataset (where I have only have view permissions) using the client APIs (python)?
I can do this manually using the web browser, ...