Google 會運用 AI 技術將內容翻譯成您偏好的語言,但可能會出錯。
透過使用者定義的訪客政策設定執行個體
透過集合功能整理內容
您可以依據偏好儲存及分類內容。
Container-Optimized OS 包含 OS 設定代理程式。您可以使用 OS Config 的訪客政策設定執行個體。Container-Optimized OS 不支援訪客政策的 packages 和 packageRepositories 功能。
如要啟用 OS Config 並建立訪客政策,請分別參閱「啟用 OS Config 代理程式」和「建立訪客政策」。
以下範例說明使用者如何使用訪客政策的 assignment 和 recipes 功能,在位於 us-central1-a 的執行個體上建立檔案。
assignment:
zones:
- us-central1-a
recipes:
- name: recipe-runscript
desiredState: INSTALLED
installSteps:
- scriptRun:
interpreter: SHELL
script: touch /tmp/TOUCH_FILE
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2026-12-04 (世界標準時間)。"],[],[]]