Category "google-cloud-platform"

How to parse json format output of : kubectl get pods using jsonpath

How to parse the json to retrieve a field from output of kubectl get pods -o json From the command line I need to obtain the system generated container name

IAM permission issue with Batch Translation: PermissionDenied: 403 Cloud IAM permission 'cloudtranslate.generalModels.batchPredict' denied

This is my first time running google batch translation, I usually run the API translation, but this time my file size is too large to be translated that way. I

Is there a way to see all GCP Unlabelled resource?

My goal is to see all the unlabelled inventory so I can label them correctly and show it in cost tracking

Google storage permissions error while generating signed url from cloud function

I'm attempting to use a Firebase Cloud Function to create signed download URLs for files stored in a Storage Bucket. Using the snippet below on my local machine

GKE metrics comparsion

Does anyone know how can I compare my query result to some value? For example, I have such query: fetch k8s_container | { metric 'kubernetes.io/container/cpu/co

Django Static - Google Cloud Storage - CDN

I am still new with serving my Django static/media files to Google cloud storage. It's working now but I am not sure if this is right or is this enough already,

How to use BigQuery API from elixir code

How to use BigQuery from elixir code? I would like to use Big Query web API from elixir code. Although there is no elixir client SDK in SDK libraries page I w

Unable to Verify that GCS bucket and PKIX path building failed Errors in Creating and staging GCP Dataflow template

I am creating and staging gcp dataflow template in cloud storage with following command: mvn -X compile exec:java -Dexec.mainClass=main.java.TemplatePipeline -D

Is It Possible To Get The ID Before It Was Added?

I know that in Realtime Database I could get the push ID before it was added like this: DatabaseReference databaseReference= FirebaseDatabase.getInstance().ge

GCP create load balancer via api

I want to create a load balancer (TCP) via a REST API or Python SDK for GCP. I haven't found any solutions so far. Example from UI :

Google cloud "mk" error "Invalid identifier 'ch04' for mk."

I am very new to google cloud and following an example in "Google BigQuery: The Definitive Guide" to learn to use this platform. I am trying to make a dataset t

what is the recommended Cloud Firestore location for Egypt and the middle east countries?

I was starting a new firestore database and actually I didn't know what GCP resource location that's suitable for my target audience in Egypt. Any help will be

How to reduce CPU usage for Java 11 with G1GC on GCP

I have: the application multi thread, low latency OpenJDK 64-Bit Server VM version 11.0.7+10 configuration is Xms=6g Xmx=12g machine is 12CPU started in GCP (Go

Getting Info from GCP Data Catalog

I notice when you query the data catalog in the Google Cloud Platform it retrieves stats for the amount of times a table has been queried: Queried (Past 30 day

action console simulator is not working and I cannot release my project

I'm working on making a conversation flow for smart speakers. with google action builder console. And I'm using google cloud function for webhooks. However, fro

Cannot switch Firestore from Datastore to native mode on GCP

Somehow the Firestore initialized with the Datastore mode and I can't switch it back to the Firestore native mode even the Datastore is empty. There's no useful

How can size of the root disk in Google Compute Engine be increased?

The root disk size in GCE is 10 gigs. How do I increase this? I cant find the option in the console or the gcutil flags. This can be easily done in AWS.

How to create a empty folder in google storage(bucket) using gsutil command?

How we can create the folder using gsutil command. I am using Bashoperator in airflow where I need to use the gsutil Bash command, Bucket is already created I w

Google Cloud Free Tier will start charging for static or ephemeral IP Address?

I am using Google Cloud Platform on their Free Tier (https://cloud.google.com/free/) to run a web server that can be accessed publicly (externally). I have setu

Permission Denied when trying to write on a TPU VM foler

I use Cloud SDK to connect to my TPU VM, but I am getting Permission Denied error when trying to write on a folder in the vm. How can I fix this please!