إدارة بيانات الاعتماد لواجهات برمجة تطبيقات Google Workspace
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
تُستخدَم بيانات الاعتماد للحصول على رمز مميّز للوصول من ملفّات خادم التفويض في Google لكي يتمكّن تطبيقك من طلب بيانات من Google Workspace APIs. بالنسبة إلى
Google Workspace APIs، يمكنك إدارة بيانات اعتماد OAuth 2.0 وحساب الخدمة.
عرض بيانات الاعتماد
للاطّلاع على قائمة ببيانات الاعتماد المفعَّلة لجميع واجهات برمجة تطبيقات Google Workspace أو
واجهة برمجة تطبيقات Google Workspace فردية، اتّبِع الخطوات التالية:
في وحدة تحكّم Google Cloud، انقر على رمز القائمة
menu
> المزيد من المنتجات
> Google Workspace
> بيانات الاعتماد.
الانتقال إلى Google Workspace
لاختيار واجهة برمجة تطبيقات Google Workspace فردية، انقر على جميع واجهات برمجة تطبيقات Google
Workspace، ثم اختَر واجهة برمجة تطبيقات.
تعديل بيانات الاعتماد
بعد إنشاء بيانات الاعتماد، يمكنك تعديل بعض جوانبها. على سبيل المثال، بالنسبة إلى معرّفات عملاء OAuth 2.0، يمكنك تعديل الاسم المعروض فيconsoleGoogle Cloud أو إعادة ضبط مفتاح سر العميل. بالنسبة إلى حسابات الخدمة،
يمكنك تعديل الاسم والوصف.
في وحدة تحكّم Google Cloud، انقر على رمز القائمة
menu
> المزيد من المنتجات
> Google Workspace
> بيانات الاعتماد.
الانتقال إلى Google Workspace
لتعديل بيانات اعتماد، انقر على رمز التعديل edit.
أدخِل التغييرات التي تريدها، ثم انقر على حفظ.
إعادة ضبط سر العميل
يجب ألا يعرف سر العميل سوى التطبيق وخادم
التفويض.
في وحدة تحكّم Google Cloud، انقر على رمز القائمة
menu
> المزيد من المنتجات
> Google Workspace
> بيانات الاعتماد.
الانتقال إلى Google Workspace
بجانب معرِّف عميل OAuth 2.0، انقر على رمز التعديل edit.
انقر على إعادة ضبط الرمز السري.
انسخ السر وعدِّل التطبيق باستخدام هذه القيمة.
إيقاف حساب خدمة
عند إيقاف حساب خدمة، لن تتمكّن التطبيقات من الوصول إلى موارد Google Cloud من خلال حساب الخدمة هذا. في حال إيقاف حساب أحد الخدمات، يمكنك إعادة تفعيله لاحقًا.
في وحدة تحكّم Google Cloud، انقر على رمز القائمة
menu
> المزيد من المنتجات
> Google Workspace
> بيانات الاعتماد.
الانتقال إلى Google Workspace
بجانب حساب خدمة، انقر على رمز التعديل edit.
انقر على إيقاف حساب الخدمة، ثم انقر على إيقاف.
حذف معرِّف عميل أو حساب خدمة
عند حذف معرّف عميل أو حساب خدمة، لن تتمكّن التطبيقات من
الوصول إلى موارد Google Cloud من خلال معرّف العميل أو حساب الخدمة
هذا. في حال حذف معرّف عميل أو حساب خدمة، يكون هذا الحذف
نهائيًا ولا يمكن استعادة بيانات الاعتماد.
في وحدة تحكّم Google Cloud، انقر على رمز القائمة
menu
> المزيد من المنتجات
> Google Workspace
> بيانات الاعتماد.
الانتقال إلى Google Workspace
بجانب بيانات الاعتماد، انقر على رمز الحذف
delete ثم انقر على حذف.
الخطوات التالية
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-04-08 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-04-08 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003eGoogle Workspace credentials, including OAuth 2.0 and service accounts, are used to obtain access tokens for your app to interact with Google Workspace APIs.\u003c/p\u003e\n"],["\u003cp\u003eYou can manage your Google Workspace credentials—view, edit, reset client secrets, turn off service accounts, and delete credentials—in the Google Cloud console.\u003c/p\u003e\n"],["\u003cp\u003eDeleting credentials permanently removes application access to Google Cloud resources through that credential and cannot be undone.\u003c/p\u003e\n"],["\u003cp\u003eFor security, the client secret of an OAuth 2.0 Client ID should only be known by the application and the authorization server.\u003c/p\u003e\n"]]],["Credentials, like OAuth 2.0 and service accounts, enable apps to access Google Workspace APIs. To manage them, navigate to **Google Workspace** \u003e **Credentials** in the Google Cloud console. Here, you can view credentials for all or individual APIs. Editing allows changes to names and descriptions or resetting client secrets. Service accounts can be disabled or deleted, permanently revoking app access. Similarly, deleting client IDs is permanent. Finally, credentials can be reset to get new access tokes.\n"],null,["# Manage credentials for Google Workspace APIs\n\nCredentials are used to obtain an access token from Google's authorization\nservers so your app can call Google Workspace APIs. For\nGoogle Workspace APIs, you can manage OAuth 2.0 and service account\ncredentials.\n\nView credentials\n----------------\n\nTo see a list of credentials enabled for all Google Workspace APIs or an\nindividual Google Workspace API, do the following:\n\n1. In the Google Cloud console, click Menu\n menu\n \\\u003e **More products**\n \\\u003e **Google Workspace**\n \\\u003e **Credentials**.\n\n [Go to Google Workspace](https://console.cloud.google.com/workspace-api)\n2. To select an individual Google Workspace API, click **All Google\n Workspace APIs**, then select an API.\n\nEdit credentials\n----------------\n\nAfter you create credentials, you can edit some aspects of a credential. For\nexample, for OAuth 2.0 client IDs, you can edit the name that is shown in\ntheGoogle Cloud console or reset the client secret. For service accounts, you\ncan edit the name and description.\n\n1. In the Google Cloud console, click Menu\n menu\n \\\u003e **More products**\n \\\u003e **Google Workspace**\n \\\u003e **Credentials**.\n\n [Go to Google Workspace](https://console.cloud.google.com/workspace-api)\n2. To edit a credential, click Edit edit.\n\n3. Make your changes and then click **Save**.\n\nReset client secret\n-------------------\n\nThe client secret should only be known to the application and the authorization\nserver.\n\n1. In the Google Cloud console, click Menu\n menu\n \\\u003e **More products**\n \\\u003e **Google Workspace**\n \\\u003e **Credentials**.\n\n [Go to Google Workspace](https://console.cloud.google.com/workspace-api)\n2. Next to an OAuth 2.0 Client ID, click Edit edit.\n\n3. Click **Reset Secret**.\n\n4. Copy the secret and update the application with this value.\n\nTurn off a service account\n--------------------------\n\nWhen you turn off a service account, applications no longer have access to the\nGoogle Cloud resources through that service account. If you turn off a service\naccount, you can turn it back on later.\n\n1. In the Google Cloud console, click Menu\n menu\n \\\u003e **More products**\n \\\u003e **Google Workspace**\n \\\u003e **Credentials**.\n\n [Go to Google Workspace](https://console.cloud.google.com/workspace-api)\n2. Next to a service account, click Edit edit.\n\n3. Click **Disable service account** and then click **Disable.**\n\nDelete a client ID or service account\n-------------------------------------\n\nWhen you delete a client ID or a service account, applications no longer have\naccess to the Google Cloud Resources through that client ID or service\naccount. If you delete a client ID or service account, this deletion is\npermanent and the credentials can't be restored.\n\n1. In the Google Cloud console, click Menu\n menu\n \\\u003e **More products**\n \\\u003e **Google Workspace**\n \\\u003e **Credentials**.\n\n [Go to Google Workspace](https://console.cloud.google.com/workspace-api)\n2. Next to a credential, click Delete\n delete and then click **Delete**.\n\nNext steps\n----------\n\n- [Learn about authentication \\& authorization](/workspace/guides/auth-overview).\n- [Create access credentials](/workspace/guides/create-credentials)."]]