مدیریت تنظیمات پروژه خدمات بازیهای Play در Google Cloud Platform، مدیریت تنظیمات پروژه خدمات بازیهای Play در Google Cloud Platform
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
ممکن است مواردی وجود داشته باشد که بخواهید پروژه خدمات Play Games خود را مستقیماً در Google Cloud Platform مشاهده و ویرایش کنید.
سناریوهای معمولی عبارتند از:
فعال کردن API های اضافی برای پروژه خود (مانند Google Drive).
در حال ویرایش اطلاعات نام تجاری بازی خود در گفتگوی OAuth 2.0.
مشاهده سهمیه API خود و درخواست بیشتر (در صورت لزوم).
ویرایش URI های مجاز یا مبدا جاوا اسکریپت در شناسه های مشتری که در گذشته ایجاد کرده اید.
پروژه خود را مشاهده کنید
برای مشاهده پروژه خود در Google Cloud Platform:
یک اعتبارنامه برای بازی خود در صفحه پیکربندی انتخاب کنید ( رشد > خدمات بازی های Play > راه اندازی و مدیریت > پیکربندی ).
به پایین بخش Authentication بروید و روی View in Google Cloud Platform کلیک کنید.
سهمیه های استفاده از API را تنظیم کنید
در Google Cloud Platform، میتوانید محدودیتهای استفاده API را که در حال حاضر برای بازی شما تنظیم شده است و مقدار سهمیه استفاده شده را مشاهده کنید. همچنین میتوانید محدودیتهایی را برای هر کاربر تعیین کنید تا از کاهش سهمیه شما توسط کاربر سوءاستفادهگر (یا کلاینت بازی باگ) جلوگیری کنید.
برای مشاهده یا تغییر محدودیتهای استفاده برای پروژه خود، یا درخواست افزایش سهمیه، موارد زیر را انجام دهید:
اگر قبلاً یک حساب صورتحساب برای پروژه خود ندارید، آن را ایجاد کنید.
برای مشاهده و تغییر تنظیمات مربوط به سهمیه، سهمیه ها را انتخاب کنید. برای مشاهده آمار استفاده، استفاده را انتخاب کنید.
توجه داشته باشید که "کاربران" بر اساس آدرس IP مشتری درخواست کننده سهمیه تعیین می شوند. به عنوان مثال، اگر همه درخواست های شما از یک سرور واحد باشد، ممکن است آن سرور به اشتباه به عنوان یک کاربر هرزنامه برچسب گذاری شود. برای جلوگیری از این امر، میتوانید یک آرگومان userIp=xxxx به درخواستهای نقطه پایانی API خود پیوست کنید.
برای کسب اطلاعات بیشتر درباره تعیین سهمیه برای هر کاربر، به مستندات Google Cloud Platform مراجعه کنید.
علاوه بر محدودیت برای هر کاربر، یک محدودیت روزانه در سراسر برنامه برای API خدمات بازی های Google Play وجود دارد. به طور معمول، شما نیازی به تغییر حد از پیش تعیین شده ندارید. با این حال، اگر افزایش حجم زیادی را پیشبینی میکنید (مثلاً برای یک رویداد راهاندازی آتی)، میتوانید با کلیک کردن روی پیوند درخواست بیشتر درخواست سهمیه اضافی کنید.
سایر API ها را فعال کنید
وقتی شناسه مشتری خود را در Play Console ایجاد میکنید، API خدمات بازیهای Google Play بهطور خودکار برای پروژه شما روشن میشود. میتوانید سایر APIهای Google را از Google Cloud Platform فعال کنید.
برای فعال کردن یک API برای پروژه خود، موارد زیر را انجام دهید:
کتابخانه API را در Google API Console باز کنید . در صورت درخواست، یک پروژه را انتخاب کنید یا یک پروژه جدید ایجاد کنید. کتابخانه API همه APIهای موجود را فهرست می کند که بر اساس خانواده محصول و محبوبیت گروه بندی شده اند.
اگر API مورد نظر برای فعال کردن در لیست قابل مشاهده نیست، از جستجو برای پیدا کردن آن استفاده کنید.
API را که می خواهید فعال کنید انتخاب کنید، سپس روی دکمه Enable کلیک کنید.
در صورت درخواست، صورتحساب را فعال کنید.
در صورت درخواست، شرایط خدمات API را بپذیرید.
اطلاعات برندینگ را اصلاح کنید
برای تغییر اطلاعات نام تجاری (عنوان، نشانواره، و غیره) برای بازی خود که در گفتگوی OAuth 2.0 ظاهر میشود، ویژگیها را در صفحه رضایت Google Cloud Platform تنظیم کنید.
برای تنظیم صفحه رضایت پروژه خود، موارد زیر را انجام دهید:
[صفحه صفحه رضایت] (https://console.developers.google.com/apis/credentials/consent) را در کنسول Play باز کنید. در صورت درخواست، یک پروژه را انتخاب کنید یا یک پروژه جدید ایجاد کنید.
فرم را پر کنید و روی ذخیره کلیک کنید.
ویژگی های مرتبط با شناسه مشتری را تغییر دهید
برای تغییر ویژگیهای مربوط به شناسه مشتری OAuth 2.0 (منشا وب و آدرسهای اینترنتی تغییر مسیر برای یک برنامه وب و غیره):
کنسول Play را باز کنید و به بازی خود بروید.
یک اعتبارنامه برای بازی خود در صفحه پیکربندی انتخاب کنید ( رشد > خدمات بازی های Play > راه اندازی و مدیریت > پیکربندی ).
به پایین بخش Authentication بروید و روی View in Google Cloud Platform کلیک کنید.
در Google Cloud Platform{، پروژه خود را انتخاب کنید.
در نوار کناری سمت چپ، APIs & auth را انتخاب کنید. مطمئن شوید که وضعیت API خدمات بازی های Google Play در لیست نمایش داده شده APIها روشن است.
در نوار کناری سمت چپ، برنامههای ثبتشده را انتخاب کنید.
بخش OAuth 2.0 Client ID را گسترش دهید و ویژگی را برای ویرایش پیدا کنید.
محتوا و نمونه کدها در این صفحه مشمول پروانههای توصیفشده در پروانه محتوا هستند. جاوا و 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."]]