Category "google-cloud-platform"

Vertex AI scheduled notebooks doesn't recognize existence of folders

I have a managed jupyter notebook in Vertex AI that I want to schedule. The notebook works just fine as long as I start it manually, but as soon as it is schedu

Firebase Query in Android returns random number of items altough multiple items match the query

I am using the Firebase Realtime database and I constructed a query for the node "Orders" which should return all items whole attribute "orderID" is equal to 2.

Removing the labels from a google cloud project using python

I'm trying to use the python client API to remove labels from a GCP project. I have been able to use this method to add labels, but the documentation is not cl

What is the best way to invoke a firebase https callable function from within another https callable function

I wanted to know the best practice for invoking a callable (or "onCall") Firebase function from another Firebase callable function, where each of the callable f

Google Cloud Secret Manager - Create a secret in a region

I'm working with the Python library google-cloud-secret-manager and I'm facing some problems in creating a secret within a defined region. In the method secretm

Get contacts which have same phone number stored in phone number list in firestore

this is my first time trying Firestore. I have a collection named users, where every user is a UID and every user has fields (name, phone, and contacts (array))

Resolving pod in GKE DNS

I have a question regarding kube-dns in GKE. When I deploy a statefulset, it will stores all records base on the pod name. e.g dig _mysql._tcp.powerdns-recurso

How can I migrate a live production kubernetes cluster to another cluster while minimizing downtime?

I would like to migrate an application from one GKE cluster to another, and I'm wondering how to accomplish this while avoiding any downtime for this process. T

Run a Vertex AI two tower model locally

I have successfully trained a Two Tower model on Google Vertex AI as per the guide here. I now would like to download the model and try some inference locally o

how to configure replication(read-replica) for MS-SQL in Cloud SQL?

I am exploring Cloud SQL and the various flavours (MySQL, PostgreSQL, MS-SQL). I am able to create read replicas for MySQL and PostgreSQL, but I don't find that

Mirror Bitbucket Repositories to Google Cloud Source Repositories

I am trying to build CICD using cloud build in GCP. As a part of that, I am trying to mirror the repositories from Bitbucket into CSR. But I am not able to mirr

Custom cron job for app engine using cron.yaml

How do I write "Every minute in Monday to Friday between 10 am to 6 pm" In cron.yaml?

HPA Scaling even though Current CPU is below Target CPU

I am playing around with the Horizontal Pod Autoscaler in Kubernetes. I've set the HPA to start up new instances once the average CPU Utilization passes 35%. Ho

How to allow users to consume GCP API Gateway programmatically?

I have a simple bussiness case, not real one, but common: We have an API to sell, maybe weather API. Users stored and managed with some identity provider. Users

How to list all permissions granted to a specific principal on GCP?

GCP IAM page displays project-wide permissions and principals. I've granted Object Admin permission to [email protected] to a specific GCS bucket. This permissio

GCP cloud sheel error: No credentialed accounts

I'm doing GoogleCloudReady Facilitator Program workshop labs, I'm facing a problem while doing the labs. when I try to run the gcloud auth list command then I'

Deleting a file from Google Cloud using fsspec

I am currently using fsspec in order to read and write files to my google cloud buckets with the code as shown below: with fs.open(gcs_file_tmp, "rb") as fp:

GCP Server crashing with "cloudsql.enable_instance_password_validation"

Over the past day I have been experiencing this error very frequently which results in the cloud instance needing to be reset in order to continue connections:

Error uploading file to google cloud storage

How should the files on my server be uploaded to google cloud storage? the code I have tried is given below, however, it throws a type error, saying, the expect

Is there a Google CloudBuild equivalent for Manual Approval Action in AWS CodePipeline?

I am looking to setup a manual approval before the production build can be triggered from staging. Is there any workaround to setup manual approval if Google do