Category "google-cloud-platform"

google-cloud-resource-manage list projects 403 The caller does not have permission

I created a GCP service account and assigned the needed permissions for listing the projects inside the organization. When I'm using the gcloud cli, everything

update one or more fields inside of a document, without updating all the fields

I have a feature in my program where I have to enter the user's details such as the user's age, height, and weight. This data will be stored in Firestore. this

Go create a mock for gcp compute sdk

I use the following function, and I need to raise the coverage of it (if possible to 100%), the problem is that typically I use interface to handle such cases i

The view function for 'run' did not return a valid response. The function either returned None or ended without a return statement

I did write an HTTP Cloud Function in the Google Cloud Platform. The purpose of this function is to update data in the Database (Firestore). I do not intend to

Unable to connect from Google Cloud to Bitbucket repository using app password

I'm using GCP build triggers connected to Bitbucket repositories. The connection is made using user credentials. Bitbucket has announced they're ending support

How to trigger async job from a Cloud Function

I have a Cloud Function (Python) which is triggered by http from web client, it has to calculate something and respond FAST. I would like to save the http reque

How to search for specific fields in an array of objects containing objects in a document and update them in firestore (firebase) (JS)

// Update the other user that current user has asked for revision export async function updateOtherUserForContractRevision(contractID : string, comments : any)

How do I move a dataset from Huggingface to Google Cloud?

I am trying to use huggingface multi_nli to train a text multi-classification ai in google cloud. I want to call the ai from a firebase web app eventually. But

Gmail API service account unauthorized_client error even with domain-wide authority

I have read extensively on how to access GCP Gmail API using service account and have given it domain-wide authority, using the instruction here: https://suppor

Gmail API service account unauthorized_client error even with domain-wide authority

I have read extensively on how to access GCP Gmail API using service account and have given it domain-wide authority, using the instruction here: https://suppor

GCP IAM Set of Permissions for GKE clusterNode resizing

We are in process of improving the IAM roles in our project and we need to enable dev team to only resize their cluster to save the cost. We are struggling to g

Dataflow job template fails for datastream to spanner

Datastream to Spanner Dataflow template fails, followed below doc: https://cloud.google.com/dataflow/docs/guides/templates/provided-streaming#datastream-to-clou

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