テンプレート ギャラリーの事前作成済みテンプレートを使用する

Gemini Enterprise Agent Platform Pipelines のテンプレート ギャラリーには、Google が作成したパイプライン テンプレートとコンポーネントが含まれています。これらを使用してパイプライン実行を作成できます。または、独自のパイプラインに埋め込むこともできます。

Google が作成した表形式ワークフローのパイプライン テンプレートを含むテンプレート ギャラリー ページを表示する

テンプレート ギャラリーの Google が作成したテンプレートからパイプライン実行を作成するには、次の手順を行います。または、独自のカスタム パイプライン テンプレートを作成して、作成したテンプレートに基づいてパイプライン実行を作成することもできます。カスタム パイプライン テンプレートの作成と使用の詳細については、パイプライン テンプレートの作成、アップロード、使用をご覧ください。

コンソール

テンプレート ギャラリーからパイプライン実行を作成するには、次の手順を行います。

  1. Cloud de Confiance コンソールの [Agent Platform] セクションで、[パイプライン] ページの [テンプレート ギャラリー] タブに移動します。

    テンプレート ギャラリーに移動

  2. 省略可: パイプライン テンプレートのリストをフィルタリングするには、左側のペインでフィルタ条件を選択します。たとえば、パイプライン テンプレートのみを表示するには、[タイプ] で [テンプレート] を選択します。

  3. 使用するテンプレートに対応するカードで、[実行を作成] をクリックして [パイプライン実行の作成] ページを開きます。

  4. [実行の詳細] セクションで、次の操作を行います。

    1. 省略可: パイプライン実行を一意に識別するデフォルトの実行名を変更します。
  1. Optional: To schedule recurring pipeline runs, specify the **Run schedule**, as follows:

      1. Select **Recurring**.

      1. Under **Start time**, specify when the schedule becomes active.

          * To schedule the first run to occur immediately after schedule creation, select **Immediately**.

          * To schedule the first run to occur at a specific time and date, select **On**.

      1. In the **Frequency** field, specify the frequency to schedule and execute the
      pipeline runs, using a cron schedule expression based on
      [unix-cron](https://man7.org/linux/man-pages/man5/crontab.5.html).

      1. Under **Ends**, specify when the schedule ends.

          * To indicate that the schedule creates pipeline runs indefinitely, select **Never**.

          * To indicate that the schedule ends on a specific date and time, select **On**, and specify the end date and time for the schedule.

      1. Optional: To specify that the pipeline run uses a custom service account,
      Customer-managed encryption keys (CMEK), or a peered VPC network, click
      **Advanced options**, and then follow these instructions:

          *  To specify a service account, select a service account from the
            **Service account** drop-down list.

              If you don't specify a service account,
              Agent Platform Pipelines runs your pipeline using the default
              Compute Engine service account.

              Learn more about [configuring a service account for use with
              Agent Platform Pipelines](/gemini-enterprise-agent-platform/machine-learning/pipelines/configure-project#service-account).

          *  To use a CMEK, select **Use a customer-managed encryption key**. The **Select a customer-managed key** drop-down list appears. In the **Select a customer-managed key** drop-down list, select the key that you want to use.

          *  To use a peered VPC network in this pipeline run, enter the VPC
          network name in the **Peered VPC network** box.

  1. Click **Continue**.
  1. [ランタイムの構成] セクションで、次のようにパイプライン実行を構成します。

    1. [Cloud Storage のロケーション] で [参照] をクリックして、パイプライン出力アーティファクトを保存する Cloud Storage バケットを選択し、[選択] をクリックします。

    2. 省略可: パイプライン実行に失敗ポリシーとキャッシュを構成するには、[詳細オプション] をクリックして次の操作を行います。

      • [失敗ポリシー] で、パイプライン全体の失敗ポリシーを指定します。パイプラインの障害ポリシーの詳細を確認する。

        • 1 つのタスクが失敗した後もタスクのスケジュール設定を続行するようにパイプラインを構成するには、[すべてのステップを完了まで実行する] を選択します。このオプションは、デフォルトで選択されています。

        • 1 つのタスクが失敗するとパイプラインが失敗するように構成するには、[1 つのステップが失敗したら、すぐにこの実行を失敗扱いにする] を選択します。

      • [キャッシュの構成] で、パイプライン全体のキャッシュ構成を指定します。

        • パイプラインのタスクにタスクレベルのキャッシュ構成を使用するには、[タスクレベルのキャッシュ構成をオーバーライドしない] を選択します。

        • パイプライン内のすべてのタスクのキャッシュを有効にして、タスクレベルのキャッシュ構成をオーバーライドするには、[すべてのステップでキャッシュからの読み取りを有効にする(最短時間)] を選択します。

        • パイプライン内のすべてのタスクのキャッシュを無効にして、タスクレベルのキャッシュ構成をオーバーライドするには、[すべてのステップでキャッシュからの読み取りを無効にする(最短時間)] を選択します。

    3. 省略可: パイプラインにパラメータがある場合は、[パイプライン パラメータ] で、パイプライン実行パラメータを指定します。

  2. パイプライン実行を作成するには、[送信] をクリックします。