Python 2.7 はサポートが終了しており、2026 年 1 月 31 日に
非推奨になります。非推奨になると、過去に組織のポリシーを使用して以前のランタイムのデプロイを再度有効にしていた場合でも、Python 2.7 アプリケーションをデプロイできなくなります。既存の Python 2.7 アプリケーションは、
非推奨日以降も引き続き実行され、トラフィックを受信します。
サポートされている最新バージョンの Python に移行することをおすすめします。
RequestState クラス
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
RequestState クラスは、次のプロパティを使って、リクエストの状態に関する情報をリクエストします。
remote_host
- リクエスト元のリモートホスト名。
remote_address
- リクエスト元の IP アドレス。
server_host
- サービスが存在するサーバーのホスト。
server_port
- サービスがリクエストを受け取ったポート。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-08-11 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["わかりにくい","hardToUnderstand","thumb-down"],["情報またはサンプルコードが不正確","incorrectInformationOrSampleCode","thumb-down"],["必要な情報 / サンプルがない","missingTheInformationSamplesINeed","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-08-11 UTC。"],[[["\u003cp\u003eThe \u003ccode\u003eRequestState\u003c/code\u003e class provides details about the origin and destination of a request.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eremote_host\u003c/code\u003e property reveals the originating host name of the request.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eremote_address\u003c/code\u003e indicates the IP address from which the request was sent.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eserver_host\u003c/code\u003e identifies the server hosting the requested service.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eserver_port\u003c/code\u003e shows the port number on which the service received the request.\u003c/p\u003e\n"]]],[],null,[]]