Category "google-cloud-platform"

How to programmatically obtain a google cloud project number using its project id in Python

A google cloud project has both a project id and a project number. How can the project id be used to obtain the project number.

How to read data from nested array in Firestore

I have the below structure in my Firestore and I want to read data and store it in ArrayList like I have "amountArrayList" which will read data from the "transa

How can i get the logs of roles modifications on some specific IAM user in GCP

I need to know who modified(added or deleted) the roles for some specific IAM user in GCP. I could not get these details in GCP logging even after adding data w

What Is The Right Way to Call A Google Cloud Function via A Next.js (with Typescript) App?

The component that I have doing an API call looks like this: import React from 'react'; import { Button } from 'react-bootstrap'; class Middle extends React.Co

GCP-Cloud Composer: Secret Manager access variable.json

I try to configure Secret Manager for my Composer (ver 1.16, airflow 1.10) but I have a weird situation like below. In my Composer, I've used a variable.json fi

Beam DataFlow ReadFromPubSub id_label for GCS Notification

Currently, I'm doing a streaming process with DataFlow for moving uploaded blobs from GCS into BigQuery. However, I found that there were several pub/sub messag

Move bucket file to other bucket with googleCloudStorageR library

I have a R script in a docker in order to execute it on Google Cloud Run. After full treatment of a file X.csv located in bucket "Input", I want to migrate it t

gcloud compute config-ssh results in permission denied

I'm trying to ssh into a gce instance: C:\Users\Kevin>gcloud compute config-ssh You should now be able to use ssh/scp with your instances. For example, try r

how to repeat a block of code in bigquery for multiple columns?

I would like to repeat a block of code with a complex operation (defined in a subquery) for many columns in bigquery. I cannot find a better way than copy and p

Point custom Domain to the google cloud function through global https loadbalancer with serverless NEG as backend

I had a running myfunctionname cloud function with HTTP trigger URL: For Ex- https://us-central1-my-project.cloudfunctions.net/myfunctionname Now I want to map

Safe to delete contents of google cloudbuild bucket?

There are images there since a year ago, I am just not sure if they are used or if they are just temporarily stored there when the build happens. Do subsequent

What causes a GCP Cloud Functions response error?

I have a GCP Cloud Function which is triggered via a Pub/sub topic. The function just backs up Datastore data to Cloud storage. The function works fine but I ge

Python / GCP - GitHub Action & Google OAuth without committing ID

For a project using the YouTube API, I am using a function that reads my OAuth 2.0 ID from a JSON file, creates / refreshes the credentials automatically and th

GCP GKE Google Kubernetes Engine The connection to the server localhost:8080 was refused

i am trying GCP and GKE google kubernetes engine. 1-)i am create a cluster 2-)i opened cloud shell and used command "kubectl get nodes" i get this error: "The c

Using Postman to access Google Indexing APIs

I would like to test Google Indexing API with Postman. I have already configured the api correctly on https://console.cloud.google.com/ for using it on a wordpr

Error when runnning mvn command to deploy dataflow template

Hi I am running the below code to deploy a dataflow template in GCP. mvn compile exec:java \ -Dexec.mainClass=com.google.cloud.teleport.templates.TextIOT

getting error while trying to copy data using google_bigquery_data_transfer_config using terraform

I am trying to setup a bigquery data transfer configuration using terraform. I am using my personal gcp account. I have a setup of terraform on my laptop so tha

GCPW Azure Cloud Windows

I have installed Google Credential Provider on an Azure Windows 10. However, when I reboot the machine there is no option to sign in with Google. Do I have to d

Is there a way to break down costs in GKE Autopilot?

Can we see the CPU and memory usage by deployment or pod? Currently it's only for the whole cluster and if we are billed 10k$/month, we don't know which of the

Gitlab Cloud run deploy successfully but Job failed

Im having an issue with my CI/CD pipeline , its successfully deployed to GCP cloud run but on Gitlab dashboard the status is failed. I tried to replace images t