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).

193 questions
2
votes
1 answer

Restricting my endpoints with API Key in java

I'm using cloud endpoints v2 for java. My problem is that anyone can access these endpoints method through API Explorer or from directly URL someone know. I want to protect my endpoints. I read documentation how to restrict Whole API or some methods…
2
votes
0 answers

I get errors ('module-discoveryDocs.zip' doesn't exist) when setting project module dependencies in google endpoints version 2

I have errors when setting project module dependencies in google endpoints version 2. I tried endpointsServer project(path: ':module-one', configuration: 'endpoints') In endpoints version 1.0 you can just do deploy project(path: ':module-one',…
2
votes
2 answers

no matching index found - GAE

I'm deploying a little backend with some methods. One of them makes a simple query to retrieve a list of objects. This is the method: @ApiMethod(path = "getMessagesByCity", name = "getMessagesByCity", httpMethod = ApiMethod.HttpMethod.POST) …
2
votes
0 answers

Enable API key in Google Cloud Endpoint

I'm developing a Cloud Endpoint in Google App Engine Standard (Google Cloud), and API calls are woeking both locally and in deployed Google App Engine. I'm trying to Restricting API Access with API Keys as specified here, following step by…
2
votes
3 answers

Google Endpoints GET request URL parameters [Python]

I am currently working on a small project where I need to write a GET handler. I am working from the Echo example provided in the endpoints documentation. I have my resource container: GET_EMAIL_RESOURCE = endpoints.ResourceContainer( …
2
votes
2 answers

gcloud endpoints deploy Error with timestamp type

I already deployed a lot of google gRPC cloud endpoints with success. But for the first time, i'm using a timestamp type in my proto, and when i'm trying to deploy my gRPC API, i have an error : gcloud endpoints deploy services api_descriptor.pb…
user4653455
2
votes
3 answers

404 after migrating to Google Endpoints V2

We have succesfully used Endpoints V1 for couple of years in our app. Now when trying to migrate to Endpoints V2 it suddenly brakes by just simply not finding the EndpointsServlet and just returns 404 always. I am able to browse the api with…
JariK
  • 141
  • 1
  • 11
2
votes
1 answer

My Java Google Endpoints V2 project is throwing com.google.api.config.ServiceConfigException. What am I missing?

I am seeing below error in logs. What would explain it? I have another similar project that is working fine. I have gone over my pom.xml, web.xml, appengine-web.xml multiple times and cannot see what is missing. This was previously a V1 project.…
2
votes
0 answers

404 NOT_FOUND after migrating to Cloud Endpoints Frameworks version 2.0

I have followed the following links to migrate from V1 to Cloud Endpoints Frameworks version 2.0: Part 1 Part 2 I have deployed the backend module to google app engine but when I try to access an endpoint method such as a list e.g …
2
votes
1 answer

What is the correct way to provide an API Key to a Google Cloud Endpoints 2 API for an app?

I have an API in Google Endpoints, and I've generated the API key needed by the Android App I'm working on to access the API. However I have no idea where to supply the API Key when using generated clients library. Every request made from the app…
2
votes
1 answer

Migration to Cloud Endpoints v2

I have a few Google App Engine standard Java environment applications that are backends for mobile apps, there are both Android and iOS clients. Some time ago I received an email that the Cloud Endpoints v1 will be no longer supported and that I…
2
votes
0 answers

Creating google cloud endpoint V2 using android studio

I am using android studio to generate a google cloud endpoint project. The issue is that my android studio (updated to version 2.x.x, and my SDK also up-to-date) is generating the project with endpoints V1 which is no longer supported. Is there a…
Elio Khattar
  • 280
  • 1
  • 2
  • 14
2
votes
2 answers

Enhancing endpoints in Cloud Endpoints Frameworks 2.0 for App Engine

I have received an email from GCP to migrate my project from Cloud Endpoints 1.0 to Cloud Endpoints Frameworks 2.0. I've followed the steps outlined here: https://cloud.google.com/appengine/docs/java/endpoints/migrating?authuser=0 In my previous…
2
votes
2 answers

Versioning with endpoint V2 on GAE

I have the live version of my app deployed with its endpoints (no problem with that). I also want to easily be able to test other versions (e.g. staging). With endpointV1: no problem. With endpointV2: Everything works fine if I deploy to the live…
2
votes
0 answers

Can't run or debug the api locally

I am following the quick start here tutorial and the api works online as it should. However, when it comes to testing the api locally, the admin server runs as it should but the api itself, which i supposed should be…
Bashawy
  • 115
  • 1
  • 9
1 2
3
12 13