Questions tagged [google-cloud-endpoints-v2]

Google Cloud Endpoints Frameworks v2 replaces v1. Migration to v2 encouraged now, required as of August 2, 2018.

Google Cloud Endpoints Frameworks v1 is deprecated as of August 2, 2017. Users of v1 are encouraged to migrate to Cloud Endpoints Frameworks v2 at their earliest convenience. The v1 Endpoints Frameworks will cease to serve traffic on August 2, 2018.

Google Cloud Endpoints Frameworks v2 (in both Java and Python) have been generally available since February 2017. They have a streamlined serving path and include several improvements over v1:

  • they reduce warmup time,
  • they reduce latency per-call, and
  • they have a much better local debugging experience.

They also support custom paths and custom domain names, and they optionally allow API management features such as monitoring and API keys. The new versions are also open sourced (Java, Python).

201 questions
12
votes
9 answers

Android Plugin for Gradle 3.0.0 : Could not find com.google.http-client:google-http-client-parent:1.24.1

I had to migrate my android project to new version of Android Studio and Android pluging for Gradle. I followed all instructions at…
8
votes
2 answers

ESPv2 with Google Cloud Functions upstream request timeout

I'm having issue getting answers from a Google Coud Function going through ESPv2. Every time I request it, I get a response 15 seconds later with a status code of 504. My function take between 30 to 45 seconds. In the logs the functions correctly…
6
votes
4 answers

The apiKeyRequired is not working in Google Cloud Endpoints project

I have a java 8 project with the Cloud Endpoints Framework configured. I followed the documentation here: https://cloud.google.com/endpoints/docs/frameworks/java/get-started-frameworks-java I try to secure the API with an API Key. I followed the…
6
votes
1 answer

TypeTags error in Java JDK10

I'm working on cloud endpoint. Everything is working fine when I left it off. But after few month I installed everything again and try to run this project but unable to do that there is some kind of error now. I think it's due to JDK version and I…
Azeem Haider
  • 1,443
  • 4
  • 23
  • 41
6
votes
2 answers

Migrating to Google Cloud Endpoints v2

I am currently using Cloud Endpoints v1 in an existing application, but I would like to update it to v2 for App Engine in Java. I have reviewed the migration guide, but this only provides steps for migrating a Maven project. I am not using Maven,…
5
votes
1 answer

ERROR: (gcloud.endpoints.services.deploy) INVALID_ARGUMENT: ERROR: unknown location: Cannot convert to service config

I am in the process of generating the CloudEndpoints for my APIs built on AppEngine Std Env JDK8 with Guice, and I am working on OSX. Following the tutorial I’ve: added my prj. ID to my pom.xml run mvn endpoints-framework:openApiDocs run gcloud…
fru xo
  • 51
  • 1
  • 2
5
votes
2 answers

Android Studio 3 - how to add cloud endpoints module

In Android Studio 3 "Add Module" no longer as the option to add a Google Cloud module such as Cloud Endpoints. - How can we add an Endpoints module (and firebase for example) now?
4
votes
1 answer

Cloud Endpoints Portal is deprecated - alternatives?

Cloud Endpoints Portal is being deprecated. Is there a new alternative to view and test your api? It doesn't say anything about what is available on the page.
4
votes
3 answers

Firebase ID token has incorrect "aud" (audience) claim when calling from Endpoint connected to Google Functions

I am using Google Endpoints as an API gateway which is running in a Google Run container service. The API path points to a Google Function (node js). The calls to the API gateway are from a web application (viz. browser). One of the paths is: /login…
4
votes
2 answers

Building an API on Google Cloud Platform

I'm building an app and the idea is to go serverless. I'm looking mainly at AWS and GCP (Google Cloud Platform), and as AWS costs are a bit obscure (at least for me), and there is no way to ensure not being billed, I'm going with GCP. For the…
4
votes
0 answers

How to add Kotlin support for Google Java Cloud Endpoints

I'm trying to use Kotlin for Google Java Cloud Endpoints, but I'm getting the following Exception deserializing Kotlin data classes INFO: exception occurred while calling backend method com.google.api.server.spi.response.BadRequestException:…
4
votes
2 answers

Is Google Cloud Endpoints equivalent to an API Gateway, or are Endpoints equivalent to a microservice?

Using the App Engine Flexible Environment, I'm preparing to deploy an Angular 4 client and am looking into Cloud Endpoints to handle my node.js/express microservices as it seems to simplify securing and authenticating endpoint requests, and I wanted…
4
votes
0 answers

How to get Firebase ID Token in Firebase Cloud Functions on auth.user().onCreate event?

Background I have some Endpoint APIs on App Engine. I am able to authenticate the Firebase User in my Endpoint API when making a call from my client. (I append the Bearer token to HTTP request header when making the call). I want to create a Cloud…
3
votes
0 answers

Google Appengine Standard : Java8 Setting up Endpoints with IAP and ESP

I am working on a web application that runs on Google Appengine and is able to be accessed from Android app that will synchronise some data from the server. I had this working smoothly until recent when I recreated the project on GCP and setup IAP,…
3
votes
1 answer

Google Cloud Functions + Endpoints via ESPv2: Problem with timeout

I have various Cloud Functions which are accessable via Google Endpoints for Cloud Functions. I followed more or less this guide: https://cloud.google.com/endpoints/docs/openapi/get-started-cloud-functions. This sets up an ESPv2 instance in Google…
1
2 3
13 14