Google Cloud-Clientbibliotheken in einem Eclipse-Projekt verwalten

Sie können die Cloud-Clientbibliotheken für Java und die App Engine-Standardbibliotheken für Ihre Eclipse-Projekte verwalten.

So können Sie eine dieser Bibliotheken im Klassenpfad Ihres Projekts hinzufügen oder entfernen:

  1. Falls noch nicht geschehen, installieren Sie Cloud Tools for Eclipse.

  2. Wählen Sie das Projekt im Package Explorer aus.

  3. Wählen Sie im Kontextmenü Build Path > Add Libraries (Build-Pfad > Bibliotheken hinzufügen) aus. Sollte dieser Menüpunkt nicht angezeigt werden, befinden Sie sich unter Umständen im Projektexplorer statt im Paketexplorer.

  4. Wählen Sie im Dialogfeld Add Library (Bibliothek hinzufügen) den Eintrag Google Cloud Platform Libraries (Google Cloud Platform-Bibliotheken) aus.

  5. Klicken Sie auf Next (Weiter).

  6. Wählen Sie die Bibliotheken aus, die Sie dem Projekt hinzufügen möchten, und heben Sie die Auswahl der Bibliotheken auf, die Sie entfernen möchten.

  7. Klicken Sie auf Finish (Beenden).

Die neuesten Versionen dieser Bibliotheken werden in einem Maven-Projekt zu pom.xml oder in einem nativen Projekt zu einem Container mit dem Namen Google Cloud Platform-Bibliotheken hinzugefügt.

Unterstützte Cloud-Clientbibliotheken

In Java 8 sind für Projekte außerhalb der App Engine die folgenden Cloud-Clientbibliotheken verfügbar:

  • BigQuery
  • BigQuery Data Transfer (Beta)
  • Cloud Asset (Beta)
  • Cloud AutoML (Beta)
  • Cloud Bigtable (Alpha)
  • Cloud Compute (Alpha)
  • Cloud Container Analysis (Beta)
  • Cloud Data Labeling (Alpha)
  • Cloud Data Loss Prevention (Beta)
  • Cloud Dataproc (Alpha)
  • Cloud Datastore
  • Cloud DNS (Alpha)
  • Cloud Firestore (Beta)
  • Cloud Pub/Sub
  • Cloud DNS
  • Cloud IoT Core (Beta)
  • Cloud KMS (Beta)
  • Cloud Memorystore for Redis (Alpha)
  • Cloud Natural Language
  • Cloud OS Login (Alpha)
  • Cloud Resource Manager (Alpha)
  • Cloud Security Scanner (Alpha)
  • Cloud Spanner
  • Cloud Speech (Beta)
  • Cloud Storage
  • Cloud Text-to-Speech (Beta)
  • Cloud Trace
  • Cloud Translation
  • Cloud Video Intelligence (Beta)
  • Cloud Vision
  • Dialogflow (Alpha)
  • Kubernetes Engine (Beta)
  • Stackdriver Error Reporting (Beta)
  • Stackdriver Monitoring
  • Stackdriver Logging
  • Stackdriver Trace (Beta)

Nächste Schritte