[null,null,["最后更新时间 (UTC):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."]]