צור פרויקט
כדי לשלוח בקשות ל-Google Drive Activity API, עליכם להודיע ל-Google על הלקוח ולאפשר גישה ל-API. לשם כך יוצרים פרויקט באמצעות מסוף Google Cloud – אוסף של הגדרות ופרטי גישה ל-API.
הגדרת הסביבה שלך
כדי להתחיל להשתמש ב-Drive Activity API, עליכם ליצור פרויקט במסוף Google Cloud, להפעיל את ה-API וליצור פרטי כניסה.
יוצרים פרויקט
צריך להיות לכם פרויקט ב-Google Cloud.
מפעילים את ה-API
כדי להשתמש ב-Google APIs, צריך להפעיל אותם בפרויקט ב-Google Cloud.
אתם יכולים להפעיל ממשק API אחד או יותר בפרויקט אחד ב-Google Cloud.
יצירה של פרטי הכניסה
אפשר ליצור פרטי כניסה באמצעות מזהה לקוח ב-OAuth או חשבון שירות.
למידע נוסף, תוכלו לקרוא את המאמר יצירה של פרטי כניסה.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2023-09-14 (שעון UTC).
[null,null,["עדכון אחרון: 2023-09-14 (שעון UTC)."],[[["To use the Google Drive Activity API, you must first create a Google Cloud project and enable the API."],["You need to create credentials, either an OAuth client ID or a service account, to allow access to the API."],["Setting up your environment involves creating a project, enabling the Google Drive Activity API, and creating credentials for API access."]]],["To use the Google Drive Activity API, first create a Google Cloud project through the Google Cloud console. Next, enable the Google Drive Activity API within that project. Finally, create credentials to access the API, choosing between an OAuth client ID or a service account, as detailed in the \"Create access credentials\" documentation. These steps are necessary to allow client access and send requests to the API.\n"]]