นโยบาย Identity and Access Management (IAM) ซึ่งระบุการควบคุมการเข้าถึงสำหรับทรัพยากร Google Cloud
Policy คือคอลเล็กชันของ bindingsbinding จะเชื่อมโยง members หรือผู้ใช้ อย่างน้อย 1 รายการกับ role รายการเดียว โดยหลักการแล้ว บัญชีผู้ใช้ บัญชีบริการ กลุ่ม Google และโดเมน (เช่น G Suite) จะใช้ได้ role คือรายการสิทธิ์ที่มีชื่อ โดยroleแต่ละรายการอาจเป็นบทบาทที่กำหนดไว้ล่วงหน้าของ IAM หรือบทบาทที่กำหนดเองซึ่งผู้ใช้สร้างขึ้น
สำหรับทรัพยากร Google Cloud บางประเภท binding ยังระบุ condition ได้ด้วย ซึ่งเป็นนิพจน์เชิงตรรกะที่อนุญาตให้เข้าถึงทรัพยากรได้ก็ต่อเมื่อนิพจน์ประเมินเป็น true เงื่อนไขสามารถเพิ่มข้อจำกัดตามแอตทริบิวต์ของคำขอ ทรัพยากร หรือทั้ง 2 อย่าง ดูว่าทรัพยากรใดรองรับเงื่อนไขในนโยบาย IAM ได้ที่เอกสารประกอบ IAM
[[["เข้าใจง่าย","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"]],["อัปเดตล่าสุด 2025-07-26 UTC"],[],["IAM policies manage Google Cloud resource access using `bindings`. Bindings link `members` (users, groups, etc.) to `roles` (permission lists). Some bindings include a `condition`, a logical expression restricting access based on request or resource attributes. Policies have a `version` (0, 1, or 3), with version 3 required for conditional bindings. The `etag` field, a base64-encoded string, ensures concurrent update safety; it is required for version 3.\n"]]