Google 會運用 AI 技術將內容翻譯成你偏好的語言,但可能會出錯。
刪除 Gemini Enterprise Agent Platform 上的 Ray 叢集
在 Gemini Enterprise Agent Platform 上開發 Ray 叢集的應用程式後,請刪除叢集,以免產生不必要的費用。
控制台
前往 Cloud de Confiance 控制台的「Ray on Agent Platform」頁面。
前往 Ray 頁面
選取要刪除的 Gemini Enterprise Agent Platform Ray 叢集。
點選「刪除」。
在您透過 Gemini Enterprise Agent Platform 連線至 Ray 叢集的相同 Python 環境中,執行下列指令:
# Shut down the Ray on Agent Platform if currently connected
ray.shutdown()
# Delete cluster
vertex_ray.delete_ray_cluster(CLUSTER_RESOURCE_NAME)
其中:
- CLUSTER_RESOURCE_NAME: CLUSTER_RESOURCE_NAME='projects/{}/locations/{}/persistentResources/{}'.format(PROJECT_ID, LOCATION, CLUSTER_NAME).
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2026-10-15 (世界標準時間)。
[[["容易理解","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"]],["上次更新時間:2026-10-15 (世界標準時間)。"],[],[]]