إنشاء مشروع
قبل أن تتمكن من إرسال طلبات إلى Google Drive Activity API، عليك إشعار Google بعميلك والسماح بالوصول إلى واجهة برمجة التطبيقات. يمكنك القيام بذلك عن طريق استخدام وحدة التحكم
في Google Cloud لإنشاء مشروع، وهو مجموعة مُسمّاة من الإعدادات
ومعلومات الوصول إلى واجهة برمجة التطبيقات.
إعداد البيئة
لبدء استخدام Drive Activity API، يجب إنشاء مشروع في
Google Cloud Console وتفعيل واجهة برمجة التطبيقات وإنشاء بيانات اعتماد.
إنشاء مشروعك
يجب أن يكون لديك مشروع
على Google Cloud.
تفعيل واجهة برمجة التطبيقات
قبل استخدام Google APIs، عليك تفعيلها في مشروع على Google Cloud.
يمكنك تفعيل واجهة برمجة تطبيقات واحدة أو أكثر في مشروع واحد على Google Cloud.
إنشاء بيانات الاعتماد
يمكنك إنشاء بيانات اعتماد باستخدام معرِّف عميل OAuth أو حساب خدمة.
لمزيد من المعلومات، راجع إنشاء بيانات اعتماد الوصول.
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2023-09-14 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2023-09-14 (حسب التوقيت العالمي المتفَّق عليه)"],[[["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"]]