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
0
votes
0 answers

How to enable per-path level api-key auth for all version when deploying multiple versions to same configuration in Google Clould Endpoint

I deployed 2 versions of openapi.yaml file to Google Cloud Endpoint using the Cloud Endpoint's versioning feature(i.e gcloud endpoints services deploy openapi_v1.yaml openapi_v2.yaml). Each version of the yaml file contains a version number and…
0
votes
0 answers

How to migrate from Google Cloud Endpoints to Google Api Gateway?

How would one migrate their Google Cloud Endpoints GAE app to Google Api Gateway GAE app? Also, would you recommend doing so? Api Gateway looks like the new Cloud Endpoints.
Micro
  • 10,303
  • 14
  • 82
  • 120
0
votes
0 answers

Creating Endpoint on Vertex AI using FastAPI, stuck at "GET /health HTTP/1.1" 404

Run at startup - downloads the model @app.on_event("startup") def startup(): path = os.environ["AIP_STORAGE_URI"] path = os.path.join(path, model_file) logger.info(f"Loading model state from: {path}") if path.startswith("gs://"): …
0
votes
0 answers

deploying model on vertex ai deploymentResourcePool to an endpoint located in another google cloud project

I'am trying to deploy a custom trained model to a deployment resource pool that is located in project-1 to an endpoint located in project-2 , I have granted the editor role for project-1 to user account (u1) which also has editor role in…
0
votes
0 answers

Rate-limiting at a resource level in GCP

Let's say that I have 100 functions or "resources" in an application on GCP, such as: def login: ... def forgot_password: ... def edit_payment: ... I would like to apply rate-limits at a resource level for all of these, with something…
David542
  • 104,438
  • 178
  • 489
  • 842
0
votes
0 answers

Execution failed for task ':backend:endpointsClientLibs' when increasing com.android.tools.build:gradle version

I get this error when I try to upgrade my project level gradle from 'com.android.tools.build:gradle:7.0.4' to 'com.android.tools.build:gradle:7.2.2' (Or anything higher than 7.0.4 in general): Unable to find method ''java.lang.reflect.Type…
MaxSped
  • 117
  • 1
  • 1
  • 15
0
votes
1 answer

AbstractGoogleClientRequest and GoogleClientRequestInitializer class not found in com.google.api-client:google-api-client-android:2.0.0

My Android app with Cloud Endpoints says these classes do not exist import com.google.api.client.googleapis.services.AbstractGoogleClientRequest; import com.google.api.client.googleapis.services.GoogleClientRequestInitializer; when using any…
MaxSped
  • 117
  • 1
  • 1
  • 15
0
votes
1 answer

Using Google Cloud Armor with Google Cloud Endpoints - applying rate limiting and throttling

I read some documentation here on rate limiting and throttling requests to prevent attacks on Google Cloud (called Google Cloud Armor). I have a Google Cloud Endpoints application. How do I integrate Google Cloud Armor into it? Or if not possible,…
Micro
  • 10,303
  • 14
  • 82
  • 120
0
votes
1 answer

Set or configure timeout of endpoints in cloud endpoints

Is there a way to set or configure the timeout of endpoints in Cloud Endpoints? I believe the default is 60 but is there a way to change this? Note: this is a Java project.
Micro
  • 10,303
  • 14
  • 82
  • 120
0
votes
0 answers

post request to an https triggered GCF response: "only absolute paths are supported"

data to be posted to the cloud function: const body: object = {data: [{link: "https://links.someapp.app/JfzxSyzj1rAoMxQi8"}]} the api call to invoke the cloud function: const response: any =…
0
votes
3 answers

Error call Google Vertex AI endpoint from a python backend

I am trying to send an http post request to my google vertex ai endpoint for prediction. Though I do set the Bearer Token in the request header, the request still fails with the below error: { "error": { "code": 401, "message": "Request had…
0
votes
0 answers

How to forward client ip to the backend in Google cloud ESP proxy

I'm using Google Cloud ESP endpoint, and I want the ESP proxy to forward the clients IPs to the backend service for analytics purposes. From the Google docs I found that I should use --add_request_header to add headers to the request, and from the…
Rabi
  • 147
  • 2
  • 12
0
votes
0 answers

com.google.api.server.spi.EndpointsServlet could not be resolved

I was using a code from my teacher when I found this error. I tried to search in google how to solve it, just with this page: java lang classnotfoundexception .com.google.api.server.spi.endpointservlet. I just applied what the answers said but the…
0
votes
1 answer

How can I add region endpoints to pub sub emulator

I am testing pub sub region failure. So I only need one region topic up. And if I ping the same topic with another endpoint , it should fail. I am testing with emulator. But in emulator there is no way to add regional endpoints. How can I test this…
0
votes
1 answer

Making a Cloud Firestore REST API call through Cloud Endpoints?

Is it possible to create a Cloud Endpoint in order to make HTTP calls to the Firestore REST API service? The reason being to use a custom URL for the call - e.g. "https://whatever.com/api/things", instead of…