Java 用 Google API クライアント ライブラリのサンプル
コレクションでコンテンツを整理 必要に応じて、コンテンツの保存と分類を行います。
利用可能なサンプル
Java 用 Google API クライアント ライブラリに利用可能なすべてのサンプルを表示するには、GitHub にあるサンプルを参照します。各サンプルには、サンプルのセットアップ方法と使用方法が説明されている手順.html ファイルがあります。(ブラウザで手順を確認しやすくするには、http://htmlpreview.github.io/ にアクセスし、HTML ファイルの URL をテキスト ボックスに貼り付けます)。
コントリビューターになるためのガイドで説明されているように、他の API のサンプルへの投稿もお待ちしています。
ここに記載されていない API のサンプルをリクエストする場合は、API 固有のタグを付けて StackOverflow にリクエストするか、機能のリクエストと不具合を報告するをご覧ください。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-26 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"]],["最終更新日 2025-07-26 UTC。"],[[["\u003cp\u003eThe Google API Client Library for Java offers a variety of samples available for browsing on GitHub, each with instructions on setup and usage.\u003c/p\u003e\n"],["\u003cp\u003eUsers can easily view the sample instructions in a browser by pasting the HTML file's URL into the provided online tool.\u003c/p\u003e\n"],["\u003cp\u003eContributions for samples of other APIs are welcome and encouraged through the contributor guidelines.\u003c/p\u003e\n"],["\u003cp\u003eRequests for samples not currently available can be made on StackOverflow using API-specific tags or through the feature request process.\u003c/p\u003e\n"]]],[],null,["Available samples\n\nTo view all the samples that are available for the Google API Client Library\nfor Java,\nbrowse through the\n[samples on GitHub](https://github.com/googleapis/google-api-java-client-services#google-java-api-client-services).\nEach sample has an instructions.html file that explains how to set up and use\nthe sample. (To more easily view the instructions in a browser, visit\n\u003chttp://htmlpreview.github.io/\u003e and paste the URL\nof the HTML file into the text box.)\n\nWe welcome contributions for samples for other APIs, as described in our guide to\n[becoming a contributor](/api-client-library/java/google-api-java-client/contribute).\n\nIf you would like to request a sample for other APIs that are not listed here,\npost your request on [StackOverflow](http://stackoverflow.com/) with an API-specific\ntag, or see [File feature requests and defects](/api-client-library/java/google-api-java-client/support#file_feature_requests_and_defects) for more information."]]