إدارة إعدادات مشروع "خدمات ألعاب Play" في Google Cloud Platform
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
قد تحتاج في بعض الحالات إلى عرض وتعديل
مشروع "خدمات ألعاب Play" مباشرةً في Google Cloud Platform.
تشمل السيناريوهات المعتادة ما يلي:
تفعيل واجهات برمجة تطبيقات إضافية لمشروعك (مثل Google Drive)
تعديل معلومات العلامة التجارية للعبة في مربّع حوار OAuth 2.0
عرض حصة واجهة برمجة التطبيقات وطلب حصة أكبر (إذا لزم الأمر)
تعديل معرّفات الموارد المنتظمة (URI) أو مصادر JavaScript المعتمَدة في معرّفات العملاء التي أنشأتها في السابق
عرض مشروعك
للاطّلاع على مشروعك في Google Cloud Platform:
اختَر بيانات اعتماد للعبة في صفحة الضبط
(نمو > خدمات
ألعاب Play > الإعداد
والإدارة > الضبط).
انتقِل إلى أسفل قسم المصادقة وانقر على عرض في
Google Cloud Platform.
تعديل حصص استخدام واجهة برمجة التطبيقات
في Google Cloud Platform، يمكنك الاطّلاع على حدود استخدام واجهة برمجة التطبيقات التي تم إعدادها حاليًا ل
لعبتك ومقدار الحصة التي تم استخدامها. يمكنك أيضًا ضبط حدود لكل مستخدم لمنع مستخدم مسيء (أو برنامج ألعاب يتضمّن أخطاء) من استنفاد حصتك.
لعرض حدود الاستخدام لمشروعك أو تغييرها، أو لطلب زيادة
حصتك، اتّبِع الخطوات التالية:
للاطّلاع على الإعدادات المتعلّقة بالحصص وتغييرها، انقر على الحصص. للاطّلاع على
إحصاءات الاستخدام، اختَر الاستخدام.
يُرجى العِلم أنّه يتم تحديد "المستخدِمين" استنادًا إلى عنوان IP لل
العميل الذي يقدّم طلب الحصة. على سبيل المثال، إذا كانت جميع طلباتك واردة من
خادم واحد، قد يتم وضع علامة على هذا الخادم عن طريق الخطأ كمستخدم واحد ينشر محتوًى غير مرغوب فيه.
لمنع حدوث ذلك، يمكنك إرفاق وسيطة userIp=x.x.x.x بطلبات نقطة نهاية واجهة برمجة التطبيقات.
لمزيد من المعلومات عن ضبط الحصص لكل مستخدم، يُرجى الاطّلاع على مستندات Google Cloud Platform.
بالإضافة إلى الحدّ المسموح به لكل مستخدم، هناك حدّ مسموح به على مستوى التطبيق
لكل يوم لواجهة برمجة التطبيقات Google Play Games Services API. عادةً لن تحتاج إلى
تغيير الحدّ الأقصى المخصّص مسبقًا. ومع ذلك، إذا كنت تتوقّع تسجيل
ارتفاع كبير في عدد عمليات التحميل (مثلاً، لحدث إطلاق قادم)، يمكنك
طلب حصة إضافية من خلال النقر على الرابط طلب المزيد.
تفعيل واجهات برمجة التطبيقات الأخرى
عند إنشاء رقم تعريف العميل في Play Console، يتم تلقائيًا تفعيل واجهة برمجة التطبيقات
Google Play Games Services API لمشروعك. يمكنك
تفعيل واجهات برمجة تطبيقات Google الأخرى من Google Cloud Platform.
افتح "مكتبة واجهات برمجة التطبيقات"
في "وحدة تحكّم واجهة برمجة التطبيقات من Google". اختَر مشروعًا أو أنشئ مشروعًا جديدًا إذا طُلب منك ذلك.
تعرض "مكتبة واجهات برمجة التطبيقات" جميع واجهات برمجة التطبيقات المتاحة، مجمّعة حسب عائلة المنتجات و
الرواج.
إذا لم تظهر واجهة برمجة التطبيقات التي تريد تفعيلها في القائمة، استخدِم ميزة البحث للعثور عليها.
اختَر واجهة برمجة التطبيقات التي تريد تفعيلها، ثم انقر على الزر تفعيل.
فعِّل ميزة الفوترة إذا طُلب منك ذلك.
اقبل بنود خدمة واجهة برمجة التطبيقات إذا طُلب منك ذلك.
تعديل معلومات العلامة التجارية
لتعديل معلومات العلامة التجارية (العنوان والشعار وما إلى ذلك) للعبة التي
تظهر في مربّع حوار OAuth 2.0، اضبط السمات في شاشة طلب الموافقة في
Google Cloud Platform.
افتح [صفحة شاشة طلب الموافقة](https://console.developers.google.com/apis/credentials/consent)
في Play Console. اختَر مشروعًا أو أنشئ
مشروعًا جديدًا إذا طُلب منك ذلك.
املأ النموذج وانقر على حفظ.
تعديل السمات ذات الصلة بمعرِّف العميل
لتعديل السمات المرتبطة بمعرِّف عميل OAuth 2.0 (مصادر ملف تعريف الارتباط وعناوين URL لإعادة التوجيه لتطبيق ويب وما إلى ذلك):
افتح Play Console وانتقِل إلى لعبتك.
اختَر بيانات اعتماد للعبة في صفحة الضبط
(نمو > خدمات
ألعاب Play > الإعداد
والإدارة > الضبط).
انتقِل إلى أسفل قسم المصادقة وانقر على عرض في
Google Cloud Platform.
في Google Cloud Platform، اختَر مشروعك.
في الشريط الجانبي على يمين الصفحة، اختَر واجهات برمجة التطبيقات والمصادقة. تأكَّد من أنّ حالة
Google Play Games Services API هي مفعَّلة في قائمة واجهات برمجة التطبيقات المعروضة.
في الشريط الجانبي على يمين الصفحة، اختَر التطبيقات المسجّلة.
وسِّع قسم "معرّف العميل في OAuth 2.0" وابحث عن السمة المطلوب تعديلها.
يخضع كل من المحتوى وعيّنات التعليمات البرمجية في هذه الصفحة للتراخيص الموضحّة في ترخيص استخدام المحتوى. إنّ Java وOpenJDK هما علامتان تجاريتان مسجَّلتان لشركة Oracle و/أو الشركات التابعة لها.
تاريخ التعديل الأخير: 2025-08-30 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","easyToUnderstand","thumb-up"],["ساعَدني المحتوى في حلّ مشكلتي.","solvedMyProblem","thumb-up"],["غير ذلك","otherUp","thumb-up"]],[["لا يحتوي على المعلومات التي أحتاج إليها.","missingTheInformationINeed","thumb-down"],["الخطوات معقدة للغاية / كثيرة جدًا.","tooComplicatedTooManySteps","thumb-down"],["المحتوى قديم.","outOfDate","thumb-down"],["ثمة مشكلة في الترجمة.","translationIssue","thumb-down"],["مشكلة في العيّنات / التعليمات البرمجية","samplesCodeIssue","thumb-down"],["غير ذلك","otherDown","thumb-down"]],["تاريخ التعديل الأخير: 2025-08-30 (حسب التوقيت العالمي المتفَّق عليه)"],[],[],null,["There may be instances where you will want to view and edit your\nPlay Games Services project directly in Google Cloud Platform.\n\nTypical scenarios include:\n\n- Enabling additional APIs for your project (such as Google Drive).\n- Editing the branding information for your game in the OAuth 2.0 dialog.\n- Viewing your API quota and requesting more (if necessary).\n- Editing authorized URIs or JavaScript origins in Client IDs that you've created in the past.\n\nView your project\n\nTo view your project in Google Cloud Platform:\n\n1. Select a credential for your game on the **Configuration** page (**Grow \\\u003e Play Games\n Services \\\u003e Setup and\n management \\\u003e Configuration**).\n2. Scroll to the bottom of the **Authentication** section and click **View in\n Google Cloud Platform**.\n\nAdjust API usage quotas\n\nIn Google Cloud Platform, you can view the API usage limits currently set up for\nyour game and the amount of quota that has been used. You can also set per-user\nlimits to prevent an abusive user (or a buggy game client) from depleting your\nquota.\n\nTo view or change usage limits for your project, or to request an increase to\nyour quota, do the following:\n\n1. If you don't already have a [billing account](//cloud.google.com/billing/docs/how-to/manage-billing-account) for your project, then create one.\n2. [Visit the Enabled APIs page of the\n API library](https://console.cloud.google.com/apis/enabled) in the API Console, and select an API from the list.\n3. To view and change quota-related settings, select **Quotas** . To view usage statistics, select **Usage**.\n\nBe aware that \"users\" are determined based on the IP address of the\nclient making the quota request. For instance, if all of your requests came from\na single server, that server might be erroneously tagged as a single spammy user.\nTo prevent this, you can attach a `userIp=x.x.x.x` argument to your API endpoint\nrequests.\n\nTo learn more about setting per-user quotas, see\nGoogle Cloud Platform [documentation](/console/help#cappingusage).\n\nIn addition to a per-user limit, there is an application-wide\nper-day limit for the Google Play Games Services API. Typically, you\nwill not need to change the pre-allocated limit. However, if you anticipate a\nlarge spike in volume (for example, for an upcoming launch event), you can\nrequest for additional quota by clicking the **Request more** link.\n\nActivate other APIs\n\nWhen you create your client ID in Play Console, the\nGoogle Play Games Services API is automatically turned on for your project. You\ncan activate other Google APIs from Google Cloud Platform.\n\nTo enable an API for your project, do the following:\n\n1. [Open the API Library](https://console.developers.google.com/apis/library)\n in Google API Console. If prompted, select a project or create a new one.\n API Library lists all available APIs, grouped by product family and\n popularity.\n\n2. If the API you want to enable isn't visible in the list, use search to\n find it.\n\n3. Select the API you want to enable, then click the **Enable** button.\n\n4. If prompted, enable billing.\n\n5. If prompted, accept the API's terms of service.\n\nModify branding information\n\nTo modify the branding information (title, logo, etc.) for your game that\nappears in the OAuth 2.0 dialog, set the attributes in the consent screen of\nGoogle Cloud Platform.\n\nTo set up your project's consent screen, do the following:\n\n1. Open the \\[Consent Screen page\\](https://console.developers.google.com/apis/credentials/consent) in Play Console. If prompted, select a project or create a new one.\n2. Fill out the form and click **Save**.\n\nModify client ID related attributes **Important:** If you change the launch URL of your web app, you must follow the instructions below to make the corresponding change in Play Console to avoid getting `origin_mismatch` errors. If you change the package name of your Android app, you must create a new linked app entry and remove the existing linked app entry that has the old package name.\n\nTo modify attributes related to your OAuth 2.0 client ID (web\norigins and redirect urls for a web app, etc.):\n\n1. Open Play Console and navigate to your game.\n2. Select a credential for your game on the **Configuration** page (**Grow \\\u003e Play Games\n Services \\\u003e Setup and\n management \\\u003e Configuration**).\n3. Scroll to the bottom of the **Authentication** section and click **View in\n Google Cloud Platform**.\n4. In Google Cloud Platform{, select your project.\n5. In the sidebar on the left, select **APIs \\& auth** . Make sure that the Google Play Games Services API status is **ON** in the displayed list of APIs.\n6. In the sidebar on the left, select **Registered apps**.\n7. Expand the OAuth 2.0 Client ID section and find the attribute to edit."]]