Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Unterstützte Dienste
Sie können über Cloud Run-Funktionen auf Google Cloud APIs zugreifen. Verwenden Sie dazu ein Dienstkonto in Ihrem Namen. Das Dienstkonto stellt Standardanmeldedaten für Anwendungen für Ihre Funktionen zur Verfügung.
Unterstützte APIs
Cloud Run-Funktionen können über sprachspezifische API-Clientbibliotheken und/oder REST APIs auf die meisten wichtigen Google Cloud-Dienste zugreifen. Dazu gehören:
Google API-Clientbibliotheken, die Standardanmeldedaten für Anwendungen nutzen, beziehen automatisch die integrierten Dienstkonto-Anmeldedaten vom Cloud Run Functions-Host zur Laufzeit. Standardmäßig authenticates der Client mit dem Dienstkonto YOUR_PROJECT_ID@appspot.gserviceaccount.com.
Routing mit Cloud Load Balancing
Cloud Load Balancing ist ein separates Produkt, das erweiterte Netzwerkkonfigurationen für alle in Google Cloud ausgeführten Anwendungen ermöglicht.
Wenn das HTTP(S)-Load-Balancing für serverlose Anwendungen aktiviert ist, haben Sie folgende Möglichkeiten:
Sie können Ihre serverlose Anwendung so konfigurieren, dass sie über eine dedizierte IPv4- und/oder IPv6-IP-Adresse bereitgestellt wird, die nicht für andere Dienste freigegeben ist.
Sie können dieselben SSL-Zertifikate und privaten Schlüssel wiederverwenden, die Sie für Compute Engine, Google Kubernetes Engine und Cloud Storage verwenden. Dadurch müssen keine separaten Zertifikate für serverlose Anwendungen verwaltet werden.
Achten Sie auf die folgenden Einschränkungen und Empfehlungen:
Damit Sie Cloud Load Balancing-aktivierte Sicherheitsfunktionen wie Cloud Armor oder Sicherheitsrichtlinien verwenden können, müssen Sie die Einstellungen für eingehenden Traffic in internal_and_gclb ändern. Nutzer, die bereits über die Standard-URL von Cloud Run Functions haben, können den Load-Balancer ansonsten umgehen und direkt die URL der Funktion aufrufen.
Für den in Cloud Load Balancing eingebundenen Identity-Aware Proxy für Cloud Run Functions ist kein Support verfügbar.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2024-12-22 (UTC)."],[[["\u003cp\u003eCloud Run functions can access most major Google Cloud services via language-specific API client libraries and/or REST APIs, including BigQuery, Bigtable, Cloud Storage, and more.\u003c/p\u003e\n"],["\u003cp\u003eCloud Run functions use service accounts for authentication, providing Application Default Credentials for accessing Google Cloud APIs, with all communication encrypted in transit within Google's network.\u003c/p\u003e\n"],["\u003cp\u003eCloud Run functions can be triggered by various events from services like HTTP requests, Cloud Storage, Pub/Sub, Firebase, and Cloud Logging.\u003c/p\u003e\n"],["\u003cp\u003eCloud Load Balancing enables advanced network configurations for Cloud Run, including dedicated IP addresses, shared SSL certificates, and integration with services like Cloud CDN and Google Cloud Armor.\u003c/p\u003e\n"],["\u003cp\u003eTo utilize Cloud Load Balancing security capabilities like Cloud Armor, you need to configure the ingress settings to \u003ccode\u003einternal_and_gclb\u003c/code\u003e, otherwise the load balancer can be bypassed.\u003c/p\u003e\n"]]],[],null,["# Supported Services\n==================\n\nAccess Google Cloud APIs from Cloud Run functions by using a service account\nto act on your behalf. The service account provides\n[Application Default Credentials](https://developers.google.com/identity/protocols/application-default-credentials)\nfor your functions.\n| **Note:** All communication between Cloud Run functions and these services using [Cloud Client Libraries](/apis/docs/cloud-client-libraries) is encrypted in transit and transmitted entirely within [Google's network](/products/networking).\n\nSupported APIs\n--------------\n\nCloud Run functions can access most major Google Cloud services via\nlanguage-specific API client libraries and/or REST APIs, including the following:\n\n- [BigQuery](/bigquery/docs/reference/libraries)\n\n- [Bigtable](/bigtable/docs/reference/libraries)\n\n- [Cloud Data Loss Prevention](/sensitive-data-protection/docs/reference/libraries)\n\n- [Datastore](/datastore/docs/reference/libraries)\n\n- [Cloud DNS](/dns)\n\n- [Cloud Firestore](/firestore)\n\n- [Cloud Machine Learning Engine](/ml-engine)\n\n- [Cloud Natural Language API](/natural-language/docs/reference/libraries)\n\n- [Pub/Sub](/pubsub/docs/reference/libraries)\n\n- [Resource Manager](/resource-manager/docs/libraries)\n\n- [Spanner](/spanner/docs/reference/libraries)\n\n- [Speech-to-Text API](/speech-to-text/docs/reference/libraries)\n\n- [Cloud SQL](/sql/docs/mysql/connect-functions)\n\n- [Cloud Storage](/storage/docs/reference/libraries)\n\n- [Cloud Translation API](/translate/docs/reference/libraries)\n\n- [Cloud Vision API](/vision/docs/libraries)\n\n- [Video Intelligence API](/video-intelligence/docs/libraries)\n\n- [Firebase (DB, Storage, Analytics, Auth)](https://firebase.google.com/)\n\n- [Error Reporting Client Libraries](/error-reporting/docs/reference/libraries)\n\n- [Logging Client Libraries](/logging/docs/reference/libraries)\n\n- [Monitoring Client Libraries](/monitoring/docs/reference/libraries)\n\n- [Cloud Trace](/trace)\n\n- [Google Compute Engine](/compute)\n\nSupported event providers\n-------------------------\n\nCloud Run functions can be triggered by events provided by the following\nservices:\n\n- [HTTP](/functions/1stgendocs/calling/http)---invoke functions directly via HTTP\n requests\n\n- [Cloud Storage](/storage)\n\n- [Pub/Sub](/pubsub)\n\n- [Firebase (DB, Storage, Analytics, Auth)](https://firebase.google.com/)\n\n- [Cloud Logging](/logging)\n\nUsing services with Cloud Run functions\n---------------------------------------\n\nGoogle API Client Libraries that use application default credentials automatically\nobtain the built-in service account credentials from the Cloud Run functions host at\nruntime. By default, the client\n[authenticates](/docs/authentication/production) using\nthe \u003cvar translate=\"no\"\u003eYOUR_PROJECT_ID\u003c/var\u003e`@appspot.gserviceaccount.com`\nservice account.\n| **Note:** To learn more about the API client libraries provided by Google for the Node.js runtime, see [GitHub](https://github.com/GoogleCloudPlatform/google-cloud-node).\n\nRouting with Cloud Load Balancing\n---------------------------------\n\n[Cloud Load Balancing](/load-balancing/docs/https/setting-up-https-serverless)\nis a separate product that enables advanced network configurations for all of\nyour applications running on Google Cloud.\n\nWhen [HTTP(S) Load Balancing](/load-balancing/docs/negs/serverless-neg-concepts)\nis enabled for serverless apps, you can:\n\n- Configure your serverless app to serve from a dedicated IPv4 and/or IPv6 IP\n address that is not shared with other services.\n\n- Reuse the same SSL certificates and private keys that you use for\n Compute Engine, Google Kubernetes Engine, and Cloud Storage. This eliminates\n the need to manage separate certificates for serverless apps.\n\n- Use additional services that integrate with Cloud Load Balancing such as\n [Cloud CDN](/cdn/docs/overview),\n [Google Cloud Armor](/armor/docs/security-policy-overview), or\n [security policies](/load-balancing/docs/ssl-policies-concepts).\n\nNote the following limitation and recommendations:\n\n- To use Cloud Load Balancing-enabled security capabilities such as\n Cloud Armor or security policies, you must change the\n [ingress settings](/sdk/gcloud/reference/functions/deploy#--ingress-settings)\n to be `internal_and_gclb`. Users who already have the Cloud Run functions's\n default URL can otherwise bypass the load balancer and go directly to the\n function's URL.\n\n- Support for Identity-Aware Proxy integrated with Cloud Load Balancing for\n Cloud Run functions is not available."]]