Python 2.7 はサポートが終了しており、2026 年 1 月 31 日に
非推奨になります。非推奨になると、過去に組織のポリシーを使用して以前のランタイムのデプロイを再度有効にしていた場合でも、Python 2.7 アプリケーションをデプロイできなくなります。既存の Python 2.7 アプリケーションは、
非推奨日以降も引き続き実行され、トラフィックを受信します。
サポートされている最新バージョンの Python に移行することをおすすめします。
pull タスクの作成
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
pull キューを作成したら、タスクを作成してキューに追加できます。
まず、queue.yaml
で定義されているキューの名前が必要になります。次に、Task の method
を PULL
に設定します。次の例では、pull-queue
という名前の pull キューにタスクを配置します。
from google.appengine.api import taskqueue
q = taskqueue.Queue('pull-queue')
tasks = []
payload_str = 'hello world'
tasks.append(taskqueue.Task(payload=payload_str, method='PULL'))
q.add(tasks)
次のステップ
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-08-19 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-19 UTC。"],[[["Pull queues allow you to create and add tasks, as demonstrated in the provided example."],["The `queue.yaml` file contains the name of the queue, which is necessary for adding tasks."],["Tasks in a pull queue are created by setting the `method` to `PULL`."],["The API is compatible with first-generation runtimes and can be used when upgrading to second-generation runtimes."]]],[]]