Questions tagged [google-cloud-endpoints]

Google Cloud Endpoints is a technology developed by Google for use on Google App Engine to allow developers to develop and host APIs easily, and to generate strongly-typed client libraries for Java (Android) and Objective-C (iOS), and dynamically-typed libraries for JavaScript.

Google Cloud Endpoints is a technology developed by Google for use on Google App Engine to allow developers to develop and host APIs easily.

Features

  • Support for Java and Python runtimes
  • Built on Google's API infrastructure - it works with many of the same tools and libraries used for Google's own APIs, such as the APIs Explorer and APIs Console
  • Automatically-generated, statically-typed client libraries for Android and iOS - these libraries are using the same Google-authored Java and Objective-C libraries you would use to access other Google-provided APIs such as the Calendar API
  • Dynamically-typed JS client library - again, the same library you use to access other Google-provided APIs in JS, which is called Google JavaScript client library
  • Built in support for OAuth 2
  • Integration with the Google Plugin for Eclipse - this allows you to automatically create an API based on a model, or an App Engine application to back an existing Android app
  • Support for local development - you can build and test your API using the App Engine development environment, just as with other App Engine features

Learn More

Check out the Java and Python documentation for more details on using Endpoints.

2491 questions
8
votes
1 answer

Upload image on Google Cloud Storage with Google Endpoints

I'm trying to create a RESTFul Web Service for upload photos. Is it possible create a Google Cloud Endpoints to upload images/photos? My problem is that I can't understand how to write the function declaration and which parameters I need to…
8
votes
3 answers

Cannot import google cloud endpoints client library class in Android project

I'm having difficulty getting Google Cloud Endpoints working. I have an Python endpoints project running on GAE and it works perfectly using the api explorer. However I'm struggling to properly generate the client library and use it in my android…
8
votes
3 answers

Authenticate my "app" to Google Cloud Endpoints not a "user"

What I'm trying to do is to authenticate my Android app to the Google Cloud Endpoint. Basically the endpoints should only allow my Android app to access the methods and nothing else. I have done these things - Create a client id using my SHA1 value…
8
votes
1 answer

Google App Engine: Endpoints authentication with ID and password

We have an HTML5 client accessing a Google Cloud Endpoints backend. We want to offer users a reasonable range of sign-in methods, e.g.: sign-in with an existing OpenID, or alternatively sign-up with an email and password. These seem like basic…
8
votes
1 answer

Google app engine nullpointerexception when trying to fetch list instead of searching by primary key

I am just starting out on GAE and cloud endpoints. I have created a sample persistent class and I generated the enpoint class using the google menu in Eclipse. Now I was just following some tutorial on how to use curl and get back nice json string…
7
votes
2 answers

Passing a path parameter to Google's Endpoint for Cloud Function

I am following Google's tutorial on setting up Google Cloud endpoint (not AWS API Gateway) in front of my Cloud Function. I am triggering my Cloud Function to trigger an AWS lambda function, AND I am trying to pass a path parameter from my Endpoint…
7
votes
0 answers

Gradle Build fails at generateClientLibs for Cloud Endpoints

We have been using a Generated Client for Google Cloud Endpoints in our Java based Android App for a while now. Unfortunately, it just stopped working today and the Gradle build fails with exception below. It seems like the Gradle task…
abhideep
  • 125
  • 6
7
votes
1 answer

How to verify ownership of Google Cloud Endpoints service URL?

I already set up Google Cloud Endpoints project and can invoke http/https requests. Endpoints gives me MY_API.endpoints.MY_PROJECT.cloud.goog domain name that I can use. I'm using gRPC Cloud Endpoints with HTTP/JSON to gRPC transcoding feature. It…
7
votes
1 answer

Combining multiple backend services into one cloud endpoint API

Is it possible to combine multiple apps running in GKE into the same Google Cloud Endpoints service? For example, say I have a Flask app and also a Nodejs app serving both serving different api resources, can I combine these two backend services…
David Brown
  • 133
  • 1
  • 10
7
votes
3 answers

Serve static SPA from Google Cloud Storage and API from Google App Engine

I have a static web client SPA serviced by a REST API. I'm trying to figure out the best way to host these apps on Google's Cloud Platform using App Engine to host the API, and Cloud Storage to host the static web client. If I were doing this from…
7
votes
1 answer

Google Cloud Endpoint at "/" Method does not exist

{ "code": 5, "message": "Method does not exist.", "details": [ { "@type": "type.googleapis.com/google.rpc.DebugInfo", "stackEntries": [], "detail": "service_control" } ] } My Cloud Endpoints deployment seems to work fine except…
Jason Hill
  • 95
  • 1
  • 5
7
votes
1 answer

Bucket is requester pays bucket but no user project provided

I am trying to POST image to google cloud storage via multipart request using their JSON API, but I am receiving an error: "code": 400, "message": "Bucket is requester pays bucket but no user project provided." HERE IS MY REQUEST: POST…
7
votes
2 answers

Cannot import Google client after updating Android Studio

After updating to Android Studio 2.3 it appears I can not use the code for the Cloud Endpoints class EndpointsAsyncTask extends AsyncTask, Void, String> { private static MyApi myApiService = null; private Context…
tagliatelli
  • 177
  • 1
  • 13
7
votes
7 answers

com.google.api.config.ServiceConfigSupplier - Failed to fetch default config version for service (only on localhost)

I'm using Cloud Endpoints Frameworks (2.0.1) for Java as part of my final year project and have been relatively successful with it so far. I don't have any problems when deploying to my appspot.com domain, however, I am running into some problems…
7
votes
1 answer

How many requests can one Google App Engine Instance handle?

I have a simple Cloud Endpoints Restful API that does simple things add an entity, update and entity, delete an entity, search for an entity. My question is how much traffic can one Google App Engine instance handle? That is, how many API requests…
Micro
  • 10,303
  • 14
  • 82
  • 120