Google API は Google Cloud プロジェクトから使用します。このガイドでは、 Google Cloud プロジェクトを作成し、このようなプロジェクトで OR API を API エンドポイントを呼び出すための API キーを取得します。
始める
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-08-29 UTC。
[[["わかりやすい","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"]],["最終更新日 2024-08-29 UTC。"],[[["\u003cp\u003eGoogle Cloud projects are necessary to utilize Google APIs, and this guide outlines the setup process for accessing the Optimization Routing API (OR API).\u003c/p\u003e\n"],["\u003cp\u003eThe process involves three main steps: creating a Google Cloud project, enabling the OR API within the project, and generating an API key for authentication.\u003c/p\u003e\n"],["\u003cp\u003eBefore proceeding, ensure you have a Google account, and if utilizing a solver under a trusted tester program, refer to the provided guide for specific instructions.\u003c/p\u003e\n"],["\u003cp\u003eOnce enabled, you'll need to obtain an API key through the Google Cloud console and securely store it in a 'credentials.json' file for API access.\u003c/p\u003e\n"]]],["The process involves three core steps: creating a Google Cloud project, enabling the OR API within that project, and obtaining an API key. First, create a project via the Google Cloud console. Second, enable the OR API by navigating to the APIs library and clicking \"Enable.\" Finally, generate an API key through the credentials menu, saving it to a `credentials.json` file with the specified format. This API key is needed to call the API endpoints.\n"],null,[]]