Google のクライアント ID とクライアント シークレット。OAuth 2.0 リクエストでリクエストの送信元を識別するために使用されるクライアント ID と、リクエストの偽造を防ぐために使用されるクライアント シークレットを Google に割り当てる必要があります。Google クライアント ID とクライアント シークレットには、任意の URL 安全な文字列値を指定できます。クライアント シークレットは、Google とサービスのみに表示されるようにする必要があります。
省略可能なスコープ文字列。API で利用できるユーザーデータの量と種類に応じて、さまざまなカテゴリのユーザーデータを表すスコープを定義できます。これにより、特定の種類のデータへのアクセスについてのみユーザーに権限を求めることができ、クライアントが利用できるデータを承認済みのスコープのみに制限できます。特に、サービスで Google との統合に必要なデータよりも多くのデータを利用可能にする場合は、スコープを使用して一部のデータのみへのアクセス権を付与できます。
Google API プロジェクト ID
プロジェクト ID を表示するには:
ランディング ページの表でプロジェクトを見つけます。プロジェクト ID は [ID] 列に表示されています。
[[["わかりやすい","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-07-29 UTC。"],[[["\u003cp\u003eBefore integrating with Google services (excluding Google Assistant), gather necessary information like authorization and token endpoint URLs and contact your developer relations representative.\u003c/p\u003e\n"],["\u003cp\u003eYou need to provide Google with a client ID and secret, which can be any URL-safe string, and ensure the client secret remains confidential.\u003c/p\u003e\n"],["\u003cp\u003eWhen setting up your authorization endpoint, allowlist the provided \u003ccode\u003eredirect_uri\u003c/code\u003e for Google's client ID.\u003c/p\u003e\n"],["\u003cp\u003eOptionally, you can enhance security by implementing a token revocation endpoint, Cross-Account Protection, and defining scopes to limit data access for Google.\u003c/p\u003e\n"],["\u003cp\u003eTo initiate the process, locate your Google API Project ID within the Google API Console.\u003c/p\u003e\n"]]],[],null,[]]