50,480
questions
0
votes
0
answers
10
views
Not able to generate the refresh token for Google Ads API using python
Google Ads API - I'm facing challenge to generate the refresh token using python script . Is it okay to give https://localhost as redirect uri? or Are we supposed to give any host details .Can anyone ...
0
votes
0
answers
8
views
Google Cloud Speech-to-Text API: Unauthenticated Error in Production but Works in Development
I'm using the Google Cloud Speech-to-Text API in my ASP.NET Core web application, and it works perfectly in my local development environment. However, when I deploy the application to the production ...
0
votes
1
answer
14
views
Verify if request origin is from Cloud Tasks in a Firebase Function Node.JS
For a simple way to refuse (in the code) all the requests that are not from Cloud Tasks for my firebase v2 function.
export const createSomethingHttp = onRequest(async (request, response) => {
/...
0
votes
1
answer
17
views
New Google place api using google OAuth, ask failed to refresh token
I have a expressjs backend, and i want to use google new place api, so i need to to auth throw Oauth, the issue after a certain amount of time around one day i need to reauthorize the app, i get this ...
1
vote
2
answers
46
views
Google Cloud - issues provisioning cloud shell machine
I am seeing this error today, after approximatley 20 minutes the first screenshot changes to the second screenshot.
I have tried incognito mode with the same results.
Trying the suggested ephemeral ...
0
votes
0
answers
18
views
Failed to deploy docker built on google build
I am trying to create a build trigger to deploy a docker file but I am having the following error message
Failed to trigger build: generic::invalid_argument: if
'build.service_account' is specified, ...
0
votes
0
answers
13
views
Cloud Run slow with Cloud Storage Signurl (Service Account)
I'm using a private bucket to host m3u8 videos which I then serve on demand by signing all the ".ts" segments using the Google Cloud Storage Signurl client for Golang. Testing on my computer ...
0
votes
0
answers
14
views
Different sets of hyperparameters for different types of penalties in logistic regression using Vertex AI Hyperparameter Tuning?
I want to train a logistic regressor (scikit-learn) using Vertex AI's Hyperparameter Tuning. I know I can use CategoricalParameterSpec on the different solvers. However, different solvers use ...
0
votes
1
answer
34
views
gcloud SSL: CERTIFICATE_VERIFY_FAILED Error on SSH
I have installed google-cloud-sdk using binary on my MacBook M1. I just copied the package from official GCP site and add the path export PATH="/Users/ZSHAREE/google-cloud-sdk/bin:$PATH" to ...
0
votes
1
answer
45
views
Migrating from legacy Google FCM to HTTP v1 for push notifications
I am migrating from the legacy FCM cloud messaging API to the newer HTTP v1 for push notifications for my app. However in the new cloud manager for Pub/Sub I don't see any of the previously ...
0
votes
0
answers
15
views
Issue with Fetching Feature Values from GCP Feature Online Store
I've created a function to fetch data from a feature online store view that I created from a BigQuery table sync. Below is the code I'm using:
from google.cloud.aiplatform_v1 import ...
0
votes
0
answers
35
views
How can I fix this jenkins error I am getting while pushing to GCP Artifact registry
I wrote a Jenkins Pipeline to push to gcp artifact registry, I can't tell why I get this error Error: trying to reuse blob sha256:617df26c9e2bec4e63eed45acaa78b253ac74e1cd0dd74da35b050f3ef707d47 at ...
0
votes
0
answers
15
views
Spark first read from Cloud Storage is very slow on Dataproc Serverless
I'm running a simple Spark job on Dataproc Serverless, and the first step involves reading some CSV files from Cloud Storage in a standard way:
dfOne = spark
.read()
.format("csv")
.load(&...
0
votes
1
answer
35
views
Solution for Joining BigQuery tables (streaming)
I have 3 tables in BigQuery which have data constantly being appended. I want to create another table in BigQuery that is a join of these 3 tables, and I want the new table to be always updated. What'...
-3
votes
0
answers
50
views
Creating and Publishing Scalable Custom Functions for Google Sheets without App Script [closed]
I'm looking to develop custom functions for Google Sheets with the following requirements:
The functions should be typeable directly in Google Sheets cells like Custom Function.
I want to avoid using ...
0
votes
0
answers
16
views
BigQuery and Google Analytics 4 channel grouping
I am experiencing a problem with the differences between the data I see in BigQuery and the data GA4 shows. Although sessions and events appear the same, I am having trouble categorizing channels. I ...
0
votes
1
answer
35
views
Create GCP IAM principals with roles by loop
I want to create multiple iam users with multiple roles but can't manage to do it so far any ideas how to do?
.tfvars
iam_members = {
"[email protected]" = {
member = "...
-4
votes
0
answers
35
views
how does the API deletion process works in google? [closed]
I am looking for information regarding the deletion procedure of the API. I can't find anywhere an explanation or an answer to the question of whether, after the deletion, Google still holds certain ...
-2
votes
0
answers
34
views
Cloud Function running more than once because it takes too much to run [closed]
I'm currently working in a project that involves doing a certain procedure to a lot of .csvs, basically I use one API to check if the email on certain rows of the .csvs are working good or not. And ...
0
votes
0
answers
5
views
Apigee Oauthv2 policy with third-party auth server
Recently I'm using a lot Google Apigee. For a project we're working we need to implement an Apigee proxy where the consumers can execute graphql queries.
For security concerns we want to add a third ...
-1
votes
0
answers
13
views
Permissions Google Cloud Composer
I want two members of my team to have permissions to use a google cloud composer that I created without having to give them my google account.
I go to iam - admin in iam and there I press 'GRANT ...
0
votes
0
answers
31
views
BigQuery Continuous Queries for outbound CDC
I am trying to figure out how BigQuery Continuous Queries work. I'm interested in whether they can be used for BigQuery outbound CDC. I need to capture and respond to data change events in a BigQuery ...
-1
votes
0
answers
33
views
How to authenticate user to access HSM in GCP
I want to authenticate users using two factor to be able to encrypt data using a key stored in HSM on Google Cloud.
Users will be logged into my website through a browser.
Normally I can access HSM ...
0
votes
0
answers
17
views
Google cloud load balancer not connected to the instances group
The problem is the Load balancer can't connect to any instances and always serve 502 Server Error , when I add access_config {} to the network_interface it works but all the instances get exposed to ...
0
votes
0
answers
28
views
Mutipart upload in GCS
I am trying to implement multipart upload in GCS but not finding any way to do that in Golang.
This is the doc I was going through.
How to implement multipart upload for GCS using Golang?
-1
votes
0
answers
31
views
Google Cloud Spanner: Can compaction be controlled after using bulk deletes with partitioned DML?
We are currently setting up Spanner to serve as a high-throughput data storage. Our goal would be 1TB of written data per day (with very few reads) at peak times.
Given that we use sufficient nodes, ...
0
votes
1
answer
40
views
Having problems connecting a local Django project to a Cloud SQL database instance
I have a Cloud SQL database running on MySQL 8.0.31. Now, I have a Django 5.1 project that I want to connect the database with (with root permissions). However, whenever I run any python manage.py <...
-3
votes
0
answers
44
views
How can I show my website logo on the Gmail sign-in page? [closed]
How can I show my website logo here?
I want to show my own logo on the Gmail sign-in page as described in the below image. I am trying with the scope of gmail but not getting a result.
Please check ...
0
votes
0
answers
30
views
Unable to View Pub/Sub Metrics with Monitoring Viewer and Pub/Sub Viewer Roles
I am experiencing an issue where I am unable to view Pub/Sub metrics despite having the Monitoring Viewer (roles/monitoring.viewer) and Pub/Sub Viewer (roles/pubsub.viewer) roles.
I have permission ...
0
votes
1
answer
32
views
Can we update a field due to its value without reading it in firebase? [duplicate]
In firebase, can we update a field due to its value without reading it (without having a local copy)? For example, I have a doc with points field which is equal to 5. I want to add 1 to the points ...
0
votes
0
answers
24
views
Using custom N2D machine type for GKE node auto provisioning
I am using GKE 1.29 cluster with cluster autoscaler and node autoprovisioning. As of now I am using the N2D machine type for my GKE workloads, and there I am using the n2d-standard-4 machine type ...
-1
votes
1
answer
57
views
Error 400: Invalid JSON payload received when calling Google Generative Language API
I'm having trouble with generating text using the Google Generative Language API. Specifically, I'm receiving a 400 Bad Request error with the message:
Invalid JSON payload received. Unknown name &...
0
votes
0
answers
34
views
"Dataform encountered an error: Unexpected property "type", or property value type of "string" is incorrect." using @dataform/cli
I'm working on a Dataform project using the @dataform/cli (https://cloud.google.com/dataform/docs/use-dataform-cli) package. I want to run the dataform run --dry-run to check my final SQL. I every got ...
0
votes
2
answers
50
views
Error 400 invalid JSON Payload Unknown name generationConfig on an AI API Curl command
I'm trying to use Generative Language API (Gemini API) in my React Native so I'm first trying with a curl. Someone gave me this command :
`
API_KEY="YOUR_API_KEY"
# Adjust safety settings ...
0
votes
0
answers
31
views
How to Ensure Only One Activity Record (Certificate or TryAgain) is Logged in DataTable Based on Navigation in Flutter?
I'm working on a Flutter project with three main pages: Home, Exam, and TableData. When a user completes an exam, they either navigate to a Certificate page (if all answers are correct) or a TryAgain ...
0
votes
1
answer
79
views
Google Cloud JedisConnectionException : Failed to connect to any host resolved for DNS name
I’m experiencing an intermittent issue with my application that uses Jedis version 5.0.2 for Redis connectivity. The (random) error I'm encountering is:
Failed to connect to any host resolved for DNS ...
0
votes
0
answers
27
views
Details on FCM v1 Device Group
I have been exploring a method to send messages in batch and came across the concept of Device Groups.
https://firebase.google.com/docs/cloud-messaging/android/device-group
Since there are CRUD ...
-1
votes
0
answers
27
views
GCP cloud function - port not available or port 8080 not available [closed]
Cloud Function
URL_UNREACHABLE-UNREACHABLE_5xx. Original HTTP response code number = 500
@type: "type.googleapis.com/google.cloud.scheduler.logging.AttemptFinished"
debugInfo: "...
0
votes
1
answer
54
views
What is the best practice for decoding Firestore documents in a listener for Swift 5? [closed]
I'm using a couple of Firestore listeners in my app and I'm wondering what is the preferred way to decode Cloud Firestore documents in those listener closures? Is it better to use .data(as:), ...
0
votes
0
answers
52
views
Firebase Cloud Messaging HTTP V1 Api giving 403 error
When I use Firebase Cloud Messaging Http V1 Api I get this error:
{
"error": {
"code": 403,
"message": "Method doesn't allow unregistered callers (callers ...
0
votes
1
answer
29
views
How is FHIR store searched by Practitioner for all PractitionerRoles (GET, POST, .search not working)?
A Practitioner can be included in more than one PractitionerRole resources. I'm attempting here to retrieve all the PractitionerRole Resources for a particular Practitioner. This works in the Google ...
-3
votes
1
answer
73
views
Issues deploying a basic next.js app to Google Cloud platform (Cloud Run)
I am attempting to deploy my basic next.js app (code here) to google cloud run using a basic CI/CD pipeline. I have a dockerfile that works fine locally, and builds on GCP:
FROM node:18-alpine AS base
...
0
votes
0
answers
32
views
Unable to test labels for Google Cloud Run Service
I've been trying to write unit tests for a Cloud Run Service using Chef Inspec. I've managed to get a few working tests but one of the tests I need is to make sure the Service is labeled properly. I'...
-4
votes
0
answers
38
views
Latency between Cloud SQL in us-east and Cloud run in europe/asia
I'm planning to deploy my Cloud Run app in Europe and Asia (it's already deployed in the US), with my database hosted in us-east1. Does anyone have any benchmarks or data on database latency between ...
0
votes
1
answer
96
views
Adding Oauth 2.0 to Google Fact Check Tools API
I have a simple Python code to search through Fact Check claims using the Google Fact Check Tools API. I have updated the code to include OAuth flow and here is my code:
import requests
import google....
-3
votes
0
answers
18
views
How can I renew a certificate in Certificate Auhtority Service in GCP? [closed]
in GCP, you can request and view the certificates of CAS. i tried to renew a certificate that expired through the GCP portal and couldnt understand how to do so.
also- how do i update the validity ...
0
votes
1
answer
37
views
How to find the URL of Generative Language API and make the API usable?
I'm currently working on integrating an AI-powered API into my React Native app, but I’m encountering issues with generating text. Specifically, I’m using Google’s Generative Language API (Gemini) via ...
0
votes
2
answers
32
views
_CHANGE_TYPE not working when streaming Google Big Query rows from Pub/Sub
The following link (https://cloud.google.com/pubsub/docs/bigquery#change_data_capture) states that when streaming rows into Google Big Query from Pub/Sub, we should be able to set _CHANGE_TYPE = '...
0
votes
0
answers
30
views
How to Fix "502 Bad Gateway" Error When Deploying Next.js to Google App Engine in Development Mode
I’m encountering a "502 Bad Gateway" error when deploying my Next.js project to Google App Engine using a development configuration. I want to run the app in development mode using npm run ...
-1
votes
0
answers
34
views
What does it mean that Pinecone Serverless is now available on Azure and GCP? [closed]
What does it mean that Pinecone Serverless is available on AWS, GCP and Azure? If I understand correctly, Pinecone Serverless is just a hosted Pinecone database (but set up in such a way that instead ...