All Questions
Tagged with google-cloud-platform java
1,996 questions
0
votes
0
answers
45
views
How to implement data encryption in postgresql [closed]
In HRMS service I made employee,salary and other things for employee apis,have done secret manager implementation so that only user with specific roles can access the api now want to implement db ...
1
vote
0
answers
43
views
Backing up a Dialogflow Agent and saving it in GitHub [closed]
I'm working on a project where we want to be able to schedule an export backup of our Dialogflow CX Agents to GitHub repositories so we can have restoration points if our agents ever get deleted.
I've ...
1
vote
3
answers
36
views
Error creating bean with name 'bigQueryTemplate' defined in class path resource
Error creating bean with name 'bigQueryTemplate' defined in class path resource [com/google/cloud/spring/autoconfigure/bigquery/GcpBigQueryAutoConfiguration.class]: Failed to instantiate [com.google....
0
votes
1
answer
81
views
Google cloud Identity api returns 302 when call batchAdd
Following is my request
Request: POST https://iid.googleapis.com/iid/v1:batchAdd Headers[access_token_auth=true authorization=eyJ0e_access_token Content-Type=application/json Body:
{"...
0
votes
0
answers
39
views
Can't read mailbox with Gmail API - ACCESS_TOKEN_SCOPE_INSUFFICIENT
I have been messing around with the Gmail API lately and I haven't been able to read my mailbox. Got it to read my labels (used the Gmail API Quickstart for this), then made it send me an email, both ...
0
votes
0
answers
54
views
Could not resolve all dependencies for configuration 'incomingCatalogForLibs0'
I have base project where I define build plugins that refer versions and libraries from libs.version.toml file. I have other repo that refer plugins defined in base project and I have google artifact ...
0
votes
1
answer
43
views
Synchronise two event listeners / Using nested queries for firestore
I need to fill a RecyclerView with the trip data. This means I need to retrieve data from two different collections from my Firestore database.
collection 1: "users" which contains all data ...
0
votes
0
answers
56
views
Google Cloud HTTP target task - How to validate OIDC token in the task handler
I'm using this sample code to create an HTTP target task that has an OIDC token set on it:
import com.google.cloud.tasks.v2.CloudTasksClient;
import com.google.cloud.tasks.v2.HttpMethod;
import com....
0
votes
1
answer
106
views
Random 503 / 504 Errors in Google Cloud Run (Java)
We are currently running a Java 17 app on Cloud Run and have encountered an unusual issue. While the service usually operates smoothly, a small percentage of requests (both GET and POST) fail ...
0
votes
0
answers
136
views
google cloud datastore emulator fails to start
Up until now, I was using the following command for testing a GAE application on my local dev env:
e:
cd E:\myProj\myWebApp
"E:\Google\Cloud SDK\google-cloud-sdk\bin\java_dev_appserver.cmd" -...
0
votes
0
answers
38
views
How can you use GCP signed urls with Private Service Connect
I am using GCP signed urls to allow clients to download files from google cloud storage.
We have a Private Service Connect open for our customers, allowing them to consume our platform over the GCP ...
0
votes
0
answers
48
views
Kubernetes Java client to create a pod(getting error without much detail). This is GCP K8 cluster
I have below code, that I am running on laptop:
public class PodDeployment {
public void deploy() throws ApiException, IOException {
ApiClient client = Config.defaultClient();
...
1
vote
1
answer
139
views
Java application unable to find ADC when Workload Identity is enabled on GKE cluster
I'm trying to migrate a service running on GKE to use Workload Identity to authenticate itself to access GCP resources. Until now, the service used SA JSON key's pointed to by the env variable ...
1
vote
1
answer
54
views
Why is Firestore not mapping a field of type private?
I have the following structure in Firestore:
The map called lecturaBreve corresponds to the following class:
public class BiblicalShort extends Biblical {
private LHResponsoryShort responsorio;
...
0
votes
1
answer
186
views
Getting 403 from GCP metadata server
I'm using GCP storage to upload a file and return it's signed/public URL.
I'm getting below error when trying to signUrl after uploading my file to gcp storage.
Caused by: java.io.IOException: ...