816 questions from the last 365 days
0
votes
1
answer
53
views
Why does the Google Gemini API return 404 errors when using the free tier?
I’m trying to use the Google Gemini API (free tier) to generate text, but my requests consistently fail with a permission-related error. I want to understand whether this is an issue with my API key, ...
Advice
0
votes
1
replies
87
views
Google Cloud "OR_BACR2_44"
I registered for Google Cloud, but I encountered a billing issue while using Compute Engine. Compute Engine prompted me that I needed a billing account. I added a billing account and entered my VISA ...
0
votes
0
answers
45
views
Cloud Build no longer authenticates gsutil using service account
I have a Dockerfile that builds an image based on golang:bookworm. It installs the google-cloud-cli package from the https://packages.cloud.google.com/apt repository. I used it to build an image that'...
0
votes
1
answer
73
views
Google Maps Platform computeRoutes Method X-Goog-FieldMask filters ignoring explicitly selected fields
I am trying to make filters for the data returned by the Google Maps Platform Compute Routes API documented here but adding selections for any fields that have latitude and longitude data ignores ...
1
vote
0
answers
97
views
what are the keys created by firebase used for: "Key for Identity Platform reCAPTCHA integration"
Firebase automatically creates keys in google cloud recaptcha, when identity platform is picked for auth. Those keys are named: "Key for Identity Platform reCAPTCHA integration" and can be ...
0
votes
1
answer
49
views
Why does Google Apps Script return unspecified error when authenticating tester of Docs formatter?
I have a simple script for iterating over files in a directory in my Google Drive and applying regexes to Google Docs. Recently I have been prompted to revise permissions on execute, and when I select ...
0
votes
1
answer
54
views
How do I call domainAliases.list with the discovery API?
Looking at the docs this is the only perm I should need to grant my service account: https://www.googleapis.com/auth/admin.directory.domain.readonly
The service account I'm using has domain ...
Advice
0
votes
0
replies
44
views
Apache Beam update of the source table
I'm new to Apache Beam running on GCP, but my question is more theoretical than practical.
I have a source spanner table and a destination spanner table and I'm fetching data from source table to ...
0
votes
0
answers
68
views
How do I use the Terraform format function to truncate from the start of the string instead of the end?
If a string is longer than 14 characters I want to truncate it from the start of the string.
Per this popular solution I can use format() but I can't figure out how to truncate from the beginning ...
Advice
2
votes
2
replies
45
views
View Google Cloud DNS usage on a per-zone basis
I want to get the number of billed DNS queries for each DNS zones hosted on my Google Cloud DNS account.
I’ve enabled the Cloud Billing data export to BigQuery, but it only breaks down costs per SKU, ...
0
votes
1
answer
109
views
Optional nanoseconds when using `timestamp_format` in BigQuery Load Jobs?
I'm loading data into BigQuery and using LoadJobConfig. There's a timestamp_format field where you can specify the format of timestamps.
Checking the data I have, timestamps come in different format:
...
0
votes
0
answers
62
views
Specific GCP Vertex AI IAM Permissions needed for enabling request-response-logging
I am following the instructions provided in Google's Log requests and responses documentation for enabling these logs.
We previously had Vertex AI Admin permissions set and enabling/disabling logging ...
0
votes
0
answers
52
views
Authenticating to GCP npm Artifact Registry using Direct Workload Identity Federation from a Bitbucket Pipeline
In my Bitbucket Pipeline I use the following step, with the intention to download some npm dependencies from a private GCP npm Artifact Registry:
- step: &download-dependencies
name: Download ...
1
vote
1
answer
84
views
Google Chat App (Python/FastAPI) Returns "Failed to parse JSON" on All Response Formats Due to Add-on Pipeline Routing
I am attempting to deploy a simple Google Chat application using Python (FastAPI/Functions Framework) and an ngrok tunnel as the endpoint.
My goal is to create a standard, text-only chatbot that ...
Advice
0
votes
0
replies
35
views
Does changing the storage class of a GCS object resets its age counter?
I am setting up lifecycle policies for some of my buckets via terraform.
I have this strategy:
standard > nearline > deletion.
The thing is, I am not sure if the AGE property of a file in the ...