516 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
2
votes
1
answer
103
views
Using the SDK, cloud tasks are always created with default deadline, ignoring setDispatchDeadline
We are creating tasks using the following code with the SDK:
use Google\Cloud\Tasks\V2\Client\CloudTasksClient;
use Google\Cloud\Tasks\V2\HttpMethod;
use Google\Cloud\Tasks\V2\HttpRequest;
use Google\...
0
votes
1
answer
58
views
pulumi up is not using the defined quota project to apply changes
Using pulumi to define a SecurityProfile in GCP (org-level object), I have:
const globalSecurityPolicy = new gcp.networksecurity.SecurityProfile(
'default-sp',
{
name: `${args....
0
votes
1
answer
68
views
Google Cloud Run keeps giving from metadata despite the metadata being present [Python/Flask]
I have a pyproject.toml file that looks like this:
[build]
builder = "gcr.io/buildpacks/builder:google-22"
[project]
name = "schoolProject"
version = "0.0.1"
authors = [
...
0
votes
1
answer
622
views
Google Cloud Organization Policy iam.allowedPolicyMemberDomains INVALID_ARGUMENT for Verified Domain
I'm trying to set the Google Cloud Organization Policy constraints/iam.allowedPolicyMemberDomains to restrict IAM members to my organization's verified domain, sksolution.app. However, I'm ...
1
vote
1
answer
372
views
gcloud secrets create always fails with "INVALID_ARGUMENT: The provided Project ID ... does not match the expected format [projects/*]"
I'm trying to create a new secret in Google Cloud Secret Manager using the gcloud CLI, but I always get the following error:
echo -n "my-secret-value" | gcloud --project=[MY_PROJECT_ID] ...
0
votes
0
answers
39
views
UnicodeDecodeError on macOS while Google Cloud SDK Homebrew installation
I'm encountering a UTF-8 decode error while installing Google Cloud SDK via Homebrew on macOS. Initially, I tried to download files from Google Cloud Storage using `gsutil -m cp* and received this ...
0
votes
1
answer
104
views
Google Cloud Build - No such image: gcr.io/cloud-builders/gcb-internal:latest
My application deployment pipeline utilizes GCP triggers and Cloud Build. However, the Cloud Build process is currently experiencing following error.
Step #0:
Step #0: Total reclaimed space: 69.96GB
...
0
votes
0
answers
155
views
Why does gcloud workstations start-tcp-tunnel generate a different SSH host key on each connection?
I am using the gcloud workstations start-tcp-tunnel command to create a TCP tunnel to a Cloud Workstation on Google Cloud Platform (GCP). However, I’ve noticed that the SSH host key generated during ...
2
votes
1
answer
190
views
Google Cloud CLI upgrade shows SyntaxWarning: invalid escape sequence
Today I upgraded Google Cloud SDK to the latest version 509.0.0.0 on Debian 12 and I noticed:
Setting up google-cloud-cli (509.0.0-0) ...
lib/googlecloudsdk/appengine/api/datastore.py:1294: ...
0
votes
1
answer
255
views
Is it possible to configure a virtual python Google Artifact Repository so that 'pip install' respects the priorities without package version?
The Google Artifact Registry documentation to Manage Python packages says that when running pip install PACKAGE against a virtual repository:
If you request a version that is available in more than ...
2
votes
2
answers
2k
views
"TypeError: Couldn't build proto file into descriptor pool" with google-cloud-compute
I'm running a Python application on Ubuntu 22 with Python 3.13.0.
Since upgrading Python from 3.12, I get this error when running the application:
TypeError: Couldn't build proto file into descriptor ...
0
votes
1
answer
289
views
Correct use of gcloud --sort-by combined with --limit
I'm using Google Cloud KMS, and I try to get the latest version of a specific asymmetric key with gcloud cli (v492.0). It seems that the --limit flag doesn't take into account the sorting direction ...
1
vote
0
answers
240
views
How to download multiple files from Google Cloud Storage bucket and save each into its separate folder
I'm trying to download a batch of about 50 files from a Google Cloud Storage bucket. I have a bucket that contains multiple files. I can search and filter using the user interface until I have the ...
1
vote
1
answer
331
views
When using AsyncClients in Google Cloud Python SDK, got future attached to a different loop
I'm quite new to using asyncio in Python. Originally I have a sync function speak:
from google.cloud import texttospeech
client = texttospeech.TextToSpeechClient()
def speak(*args):
# omitted
...
1
vote
1
answer
1k
views
How to Batch Process Long Documents Exceeding the Google Document AI Page Limit? [closed]
I'm working with Google Document AI to process long documents, where the number of pages exceeds the processor limit (~8k pages). The current documented page limit for Enterprise OCR is 500 pages for ...