会話型アクションのサポートは 2023 年 6 月 13 日に終了しました。詳細については、
会話型アクションの廃止をご覧ください。
アクション パッケージ(Dialogflow)をアップロードする
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
アクション パッケージを作成してそのフルフィルメントをデプロイしたら、次の手順を行います。
アクション パッケージをアクション コンソールにアップロードできます。Actions Console
アクション プロジェクトを使用して、レビューなどのメタデータとともに会話型アクションをグループ化します。
ステータスと表示名がアシスタント ディレクトリに表示されます。
プロジェクトを作成する
- Actions Console に移動します。
- [新しいプロジェクト] をクリックし、プロジェクトの名前を入力して [プロジェクトを作成] をクリックします。
- [その他のオプション] セクションで、[Actions SDK] をクリックします。
- 表示されたモーダル ウィンドウで、
gactions
コマンドを書き留めるか保存します。
表示されます。次のようなコマンドを使用して、アクション パッケージをアップロードします。
- [OK] をクリックしてプロジェクトの作成を完了します。
プロジェクトが作成されたので、プロジェクト ID を使用して参照できます。
gactions を使用してアクション パッケージをアップロードする
Actions Console の gactions
コマンドにプレースホルダが含まれている
の値とプロジェクト ID の値を指定します。宛先
アクション パッケージをターミナルからアップロードし、次のコマンドを実行します。
PACKAGE_NAME
と PROJECT_ID
は、実際の値に置き換えます。
プロジェクト:
gactions update --action_package PACKAGE_NAME --project PROJECT_ID
上記のコマンドのパッケージ名は、アクション パッケージのファイル名です。
.JSON
ファイル(ファイル拡張子を含む)。プロジェクト ID は
Actions Console の [プロジェクトの設定] ページ。
アクション パッケージ自体に関するリファレンス情報については、
アクション パッケージのリファレンス。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-26 UTC。
[null,null,["最終更新日 2025-07-26 UTC。"],[[["\u003cp\u003eAfter creating and deploying your Action package and fulfillment, you need to upload it to the Actions console using an Action project for organization and management.\u003c/p\u003e\n"],["\u003cp\u003eTo begin, create a new Actions SDK project in the Actions console, noting the provided \u003ccode\u003egactions\u003c/code\u003e command for later use.\u003c/p\u003e\n"],["\u003cp\u003eUpload your Action package using the \u003ccode\u003egactions\u003c/code\u003e command, replacing placeholders with your package name and project ID, found in the console.\u003c/p\u003e\n"]]],[],null,["# Upload your Action package (Dialogflow)\n\nOnce you [create your Action package](/assistant/df-asdk/actions-sdk/define-actions) and [deploy its fulfillment](/assistant/df-asdk/deploy-fulfillment),\nyou can upload your Action package to the Actions console. The Actions console\nuses Action projects to group your Conversational Action with metadata, like its review\nstatus and display name in the Assistant directory.\n\nCreate a project\n----------------\n\n1. Go to the [Actions console](//console.actions.google.com/).\n2. Click **New Project** , enter name for the project, and click **Create Project**.\n3. In the **More options** section, click **Actions SDK**.\n4. In the modal window that appears, write down or save the `gactions` command provided. You'll use a command similar to this to upload your Action package.\n5. Click **OK** to finish creating your project.\n\nNow that your project is created, you can reference it using its project ID.\n\nUpload Action package using gactions\n------------------------------------\n\nThe `gactions` command provided by the Actions console contains placeholder\nvalues for the package name of your Action package and for your project ID. To\nupload your Action package from the terminal, run the following command,\nreplacing `PACKAGE_NAME` and `PROJECT_ID` with the relevant values for your\nproject: \n\n```\ngactions update --action_package PACKAGE_NAME --project PROJECT_ID\n```\n\nIn the above command, the package name is the file name for your Actions package\n`.JSON` file (including the file extension). You can get your project ID on the\n**Project settings** page in the Actions console.\n\nFor reference information about the Action package itself, see the\n[Action package reference](/assistant/df-asdk/reference/action-package/rest/Shared.Types/ActionPackage)."]]