Skip to main content
0 votes
0 answers
230 views

I have an ETL process that executes as a cloud function that reads a csv from a cloud storage bucket and writes it to a BigQuery Table. def gcs_to_table(uri,table_id,project_id): logger.info(f'...
Pete M's user avatar
  • 194
0 votes
0 answers
91 views

I'm writing an application using the Google Cloud Python Client Libraries. Every so often, I encounter an object that references another via a URL. For example, the Zone object has a region field that ...
jwrw's user avatar
  • 1
0 votes
0 answers
149 views

I have list of ids I want to query from a collection. If I use: query = firebase_client.collection('my_collection').where( field_path=field_path.FieldPath.document_id(), op_string='in', value=...
Guanaco Devs's user avatar
  • 1,924
1 vote
1 answer
349 views

I'm trying to use the google-cloud-api-keys package's ApiKeysClient to get a list of API keys in my project. What should the format of the parent parameter be? I've tried using my project ID and ...
D Malan's user avatar
  • 11.7k
0 votes
1 answer
690 views

I now create a web app and I want to ask about how to upload PDFs from my laptop/local to Document AI - Summarizer Processor? with open(file_path, "rb") as image: image_content = image.read()...
budionosan's user avatar
1 vote
1 answer
351 views

I'm using Document AI to perform OCR on some thousands of pdf documents with their python client. I'm uploading them into a bucket, batch processing them and a .json output is generated in another ...
Camillo's user avatar
  • 11
-1 votes
1 answer
349 views

I'm trying to access the IAM permissions for the artifact registry of one of my projects through artifactregistry_v1 python API fro GCP. name_val = "projects/" + REGISTRY_NAME ...
Anushka Vijay's user avatar
1 vote
0 answers
635 views

I am trying to add service accounts to a certain role in a project in GCP. In order to do so, I get the IAM policy and then add the accounts desired, but am unable to get set_iam_policy to work ...
Anushka Vijay's user avatar
2 votes
1 answer
2k views

The goal: The goal is to use Python client libraries to convert a speech audio file to text through a Chirp recognizer. Steps to recreate the error: I'm creating a recognizer following the steps in ...
M.Hossein Rahimi's user avatar
0 votes
1 answer
219 views

I'm attempting to use the BigQuery python API client for uploading a large dataframe. The upload works however when specifying a time partition only some rows are uploaded. When time partitioning is ...
在去中国's user avatar
0 votes
1 answer
354 views

I am trying to rename a blob (which can be quite large) after having uploaded them to a temporary location in the bucket. Reading the documentation it says: Warning: This method will first duplicate ...
Niklas B's user avatar
  • 2,009
3 votes
1 answer
3k views

I'm currently querying a project (call it data_project) in bigquery through the python SDK. For several reasons I want to restrict the access to this project to a full read-only and switch the queries ...
Nico Albers's user avatar
  • 1,706
0 votes
1 answer
458 views

I'm in this situation where I need to verify, with python, if a certain GCP log exists. I've built a precise filter that, if the service works, return a single log. Else, doesn't return anything. Here ...
Girolamo's user avatar
  • 321
0 votes
1 answer
674 views

On the gcloud cli, when listing the pubsub subscriptions of a project, it is possible to filter results by using the --filter flag. Here is an example: gcloud --project=my-project pubsub subscriptions ...
Emmanuel Sciara's user avatar
1 vote
1 answer
2k views

Getting this error: google.auth.exceptions.DefaultCredentialsError: Could not automatically determine credentials. Please set GOOGLE_APPLICATION_CREDENTIALS or explicitly create credentials and re-run ...
Zaffer's user avatar
  • 1,918

15 30 50 per page
1
2 3 4 5
14