Google Cloud Collective

Google Cloud provides organizations with leading infrastructure, platform capabilities and industry solutions to help them solve their most critical business problems.
Google Cloud provides organizations with leading infrastructure, platform capabilities and industry solutions to help them solve their most critical business problems.

Questions

Browse questions with relevant Google Cloud tags

282,768 questions

0
votes
0answers
2 views

Is it a good practice to allow adding/changing credit card from the CLI?

I see a lot of cloud vendors show on their documentation to add/edit payment information ONLY using their web UI. I don't have a ton of background on this but does offering the same from the CLI pose ...
0
votes
0answers
2 views

How to see detailed logs of all activities of GCP Firestore in Cloud Logging

For any operation performed in Firestore DB like creating Firestore instance, creating collection, adding documents, adding/deleting fields, etc.. how can we see all the operations performed in Cloud ...
0
votes
0answers
4 views

Update children within child node android studio firebase

So I am trying to update the information within the Goals. I am able to display the information however having trouble trying to update the info. Just wondering does anyone have a good solution for ...
0
votes
0answers
5 views

I´m using firebase to upload and fetch some photos for an app, but Cannot resolve symbol 'getDownloadUrl' appears on upload

I´m trying to make an app to upload images and then fetch them to another screen following a tutorial, however, I haven´t been able to complete a line because it won´t find getDownloadUrl, i ...
0
votes
0answers
3 views

On assetlinks.json fileupload getting Content-Type application/json error

Hello Guyz Kindly help me in the above issue ,I am solving this from past 2 days , I have uploaded the assetlinks.json file in domain://.well-known/ location, still I m getting the below error "...
0
votes
0answers
4 views

firebaseAppDistribution with Github Actions throwing error "Missing app id", even with google services plugin set

I'm implementing app distribution for android with github actions, everything seems to be okay but I'm getting an error: * What went wrong: Execution failed for task ':app:...
0
votes
0answers
3 views

Is it possible to compare a day vs period in Data Studio?

Basically, I want to compare a given date to the sum of the previous 7 days. Tried a few things, looked for other answers, still no success.
0
votes
0answers
5 views

How do I use @google-cloud/logging with Webpack, Babel, and Typescript?

I am using this example to get things started, and I am running into this error when I run my application: Failed to compile. Module parse failed: Unexpected token (39:35) api/utils/logger.ts File was ...
1
vote
0answers
5 views

Working with fetched context data results in error

I have a problem with setting up the data flow of my application. I'm using react and the firebase real-time database. I created a context where all the userData is loaded and shared to my components. ...
0
votes
0answers
4 views

How to resolve/debug oAuth authentication errors in dataflow

I am working on a dataflow pipeline and I am running into oAuth authentication errors all the time and I am using a service account to run the jobs I am using the apache beam io to connect to the ...
0
votes
0answers
4 views

Is it possible to request a Vertex AI endpoint from another GCP project?

I trained a model on GCP Vertex AI, and deployed it on an endpoint. I am able to execute predictions from a sample to my model with this python code https://cloud.google.com/vertex-ai/docs/predictions/...
-2
votes
0answers
16 views

API for mobile application flutter [closed]

I need to connect to SQL Server and create API's for mobile application (Flutter). My plan is to connect nodejs with mssql as middelware and communicate data with fire base. Can you please what other ...
-1
votes
1answer
12 views

How to deploy an Go application on GCP (Cloud run)?

Created a simple Golang Application which has a server created via Gin web framework, which accepts a requests and provides responses for it. now to deploy it built a docker container and then host ...
0
votes
0answers
10 views

Firebase Id token (by Google AuthProvider) not recognized any more

I have a Spring Boot backend using the Firebase-Admin SDK (7.1.0) validating my firebase tokens from users. All worked like a charm for a couple of days. Unfortunately some hours ago my backend ...
0
votes
0answers
5 views

Get data from firestore with SwiftUI

I have a class where I get data from firebase. But I can't get it exactly as I want, for example document("abc" ) here I need to get the name "abc" from another place, different ...
0
votes
1answer
15 views

How to change gcp project billing to different billing organization?

My company is willing to pay for my personal GCP projects and want me to change the billing id for my projects? How do I achieve this? Does my personal email have to be added to their billing org? OR ...
0
votes
0answers
4 views

Firebase Cloud Messaging - Receiving notifications from topics that i'm not suscribed to

I have a very strange issue with Topics. Some users tell me that they receive notifications from topics that they are not subscribed to. How is this possible? I saw a screenshot showing the ...
0
votes
0answers
5 views

Firebase Phone Authentication SMS autofill stopped working after changing package Name and Key store

I have an android app with Firebase Phone number authentication. Its working fine but recently I had to change my package and key store after that I had added my SHA1 & SHA256 in firebase console ...
0
votes
0answers
10 views

Lead Over Partition in BigQuery

I'm having some issue mastering the Lead Over Partition in BigQuery. The flow is this one : during a session Id, a user makes a number of actions ordered by hitNumber. An add_to_cart action ...
0
votes
0answers
18 views

env variable Python on GCP

I am trying to send a CSV file to an SFTP server using a Google Cloud Function. This is the Python script I am using - import base64 import os import pysftp import re import csv from google.cloud ...
0
votes
0answers
10 views

Firebase Auth throwing "auth/internal-error" when trying to use PhoneAuthProvider method in Ionic React IOS mobile application

I am currently having some issues trying to integrate Google Firebase authentication into a React Ionic mobile application. So far I have been able to set up the app to run correctly on both web and ...
0
votes
2answers
20 views

How to Group alias columns for a large number of results

I have browsed the other answers relating to grouping aliased columns but I believe what I am attempting to do is very common and I am super confused as to why this would create such a complex query ...
0
votes
0answers
5 views

Not able to do first HTTP request in Google Cloud Functions

I'm a super n00b trying to make an HTTP request to FreshSales in Google Cloud Function using node.js. Problems: not node proficient enough to do a proper google search don't have enough dev ...
0
votes
1answer
15 views

Firebase Realtime Database overwrites old data while adding new

Hi there i'm facing issue that FB realtime DB deletes old data while inserting a new one here is my code String text = reviewText.getText().toString(); if (text.length() > 15){ ...
0
votes
1answer
12 views

StreamProvider with Firebase RTDB

I'm trying to utilize StreamProvider to see if there are changes in the friends of an user (i.e. if someone added/deleted the user). My current stream code is attached below. However I'm running into ...
0
votes
0answers
8 views

Use Firebase(Firestore) as a db for website content

I'm building a relatively simple website with static content like texts, service info, cards and etc. Right now the content is hardcoded and placed in according json files, then fetched with Vue and ...
-1
votes
1answer
8 views

How do I get Google Log Viewer (Logs Explorer) to show me GCE VM instance names

I'm using the python API for google.cloud.logging, and my log messages show up in Google Logging viewer console page, but I can only see the VM instance id numbers, whereas I want to view the ...
0
votes
0answers
11 views

Elixir / Phoenix deployment

Elixir version = 1.13.1 Phoenix version = 1.6.6 I created a REST API in Elixir/Phoenix and everything works fine with the PostgreSQL database (hosted in Google Cloud SQL), but I have some issues when ...
0
votes
0answers
7 views

How to place Firebase Listener inside function

Imagine I am doing check if username already exists in firebase realtime database. I created a function called checkUsername and placed Query object with listener inside it. I need to return value ...
0
votes
1answer
10 views

getting error after setting up firebase realtime database in flutter

getting below error after following steps in this link Error: MissingPluginException(No implementation found for method DatabaseReference#set on channel plugins.flutter.io/firebase_database) at ...
0
votes
0answers
8 views

Firestore pagination: how to query last page

I have created an public restful POST api for searching using Firebase function and firestore: app.post("/", async (req, res) => { const { eventIds, queryString, startAtIndex, limit } ...
0
votes
0answers
4 views

Datastream to Oracle Database - Connection Timeout

I am trying to establish a connection from the Datastream console to the Oracle database in the Oracle Cloud (OCI). I have already created a VPN tunnel it seems to be working since I connected to the ...
0
votes
1answer
12 views

Does a Service Account have to impersonate a user to access the Directory Api?

I think I might be misunderstanding how Service Accounts work in GCP, as I don't understand why (in my situation) they need to impersonate a user to complete a task. I need to access some information ...
0
votes
0answers
4 views

If you are using ProGuard, make sure these constructors are not stripped. my apps keeps crashing because of this ive been trying to fix it but cannot

So im creating a Chat app and it keeps crashing when i try accessing the profile menu. here is the logcat error that shows up: 2022-01-24 16:08:30.885 11411-11411/com.example.ttt E/AndroidRuntime: ...
0
votes
0answers
11 views

Null object reference error, while attempting to invoke virtual method at Recycler View

I'm trying to achieve Recycler View to list the documents that are uploaded in the real-time database (Firebase) with the help of a custom adapter. There are no errors during the compilation, but when ...
2
votes
1answer
26 views

Implementation of Distributed-Counter-Extension for local emulator

The firebase extension for a distributed counter can be directly installed for the cloud and works just fine. To develop new features for an app I need to do this on the emulator to not interrupt the ...
0
votes
0answers
11 views

convert list to BigQuery table python

result = {'data1': [1,2], 'data2': [4,5]} I know how to write if I key has single value, but I this case it has list of values how I can iterate. Create table in BigQuery as follows: | data1 | ...
0
votes
0answers
7 views

Google BigQuery Grafana Plugin

Issue: I would like to steer clear of using the traditional. authenticationType: jwt clientEmail: <Service Account Email> defaultProject: <Default Project Name> ...
0
votes
0answers
8 views

Loading multiple avro files into BigQuery with only a different record name

I'm writing a script that loads multiple AVRO files into a Bigquery Table as follows: from google.cloud import bigquery client = bigquery.Client() table_reference = client.dataset('example_dataset')....
0
votes
0answers
7 views

Dataflow template parameters are not working

I have an apache beam pipeline that works fine. I used to run it from cmd line and submit it to Dataflow and it works good. Now, I want to create a template for my pipeline. I succeed to create the ...
0
votes
0answers
14 views

Google Cloud Run - Executing background job with always-allocated CPU

I have a web app and a background worker service running in Cloud Run. The main app calls the background worker which is essentially just an rq worker wrapped in a thin Flask app to adhere to the ...
0
votes
0answers
15 views

Failed to start Activity from Horizontal Recyclerview last item

I'm trying to start another activity by clicking on last item of horizontal recycler view. All other items on click starts the expected activity but not the last item. I'm loading items into Recycler ...
0
votes
0answers
19 views

Why google analytics dataset delete my old data in bigquery?

I have configured a GA4 bigquery linking, but the dataset only retains 60 days of data and I can't find a way to prevent it from deleting the old days. In the configuration of the dataset I have the ...
0
votes
0answers
8 views

VueJS 3 Import Firebase correctly

I cant seem to get firebase database to import in VueJs 3. My current config file looks like: import firebase from "firebase/compat/app"; import "firebase/compat/auth"; require('...
0
votes
0answers
7 views

Convert Firebase Web SDK Version 8 syntax into Version 9

I am following a tutorial on Youtube and unfortunately it's written in SDK v8. So as I am currently using v9, I'm having issues converting it from v8 to v9. Can someone help me to convert the ...
0
votes
0answers
10 views

How to verify auction payments?

I am planning on making a React Native app that would feature a realtime auction with users bidding (using Firebase). After an auction is won, the user would theoretically receive the product ...
0
votes
1answer
15 views

Cloudflare gives access denied when accessing a website from GCP instance

I have written a Python script using Selenium to automate a workflow on a third-party website. It works fine on my machine. But when I try to run the same script on a GCP instance, I get Cloudflare's ...
1
vote
2answers
17 views

How to remove duplicated rows from table with arrays in BigQuery

there is a table in BigQuery that has REPEATED type columns and has duplicated rows, since the table has arrays I cannot use distinct to grab only one row. Table looks something like this: I want to ...
0
votes
0answers
5 views

How can I deploy nextjs project with dynamic routes to Firebase?

I have created dynamic routes in my nextjs project. I want to upload it to firebase hosting. I set getStaticProps fallback:true and revalidate to 60. When I want to export, the export feature does not ...
-1
votes
0answers
8 views

Should I shorten field names to save space/bandwidth in Firebase?

Let's say I have a Json structure like: "-Mtiyicr7-uWZsOtRBzn" : { "title" : "Pizza Carbonara, "subTitle" : "small", "calories" : 0, &...

15 30 50 per page
1
2 3 4 5
5656