[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-09-04 (世界標準時間)。"],[[["\u003cp\u003eAccess levels utilize attributes to filter resource requests, and when using the \u003ccode\u003egcloud\u003c/code\u003e tool, these attributes are defined in YAML format.\u003c/p\u003e\n"],["\u003cp\u003eAttributes like \u003ccode\u003eipSubnetworks\u003c/code\u003e, \u003ccode\u003eregions\u003c/code\u003e, and \u003ccode\u003erequiredAccessLevels\u003c/code\u003e allow for filtering requests based on IP ranges, geographical location, and compliance with other access levels, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eprincipals\u003c/code\u003e attribute enables request filtering by specific user or service account emails, using the format \u003ccode\u003euser:\u003c/code\u003e or \u003ccode\u003eserviceAccount:\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003edevicePolicy\u003c/code\u003e attribute filters requests based on device information and features, including requirements for screen lock, storage encryption, admin approval, corporate ownership, and specified OS policies.\u003c/p\u003e\n"],["\u003cp\u003eDevice policy attributes such as \u003ccode\u003erequireScreenlock\u003c/code\u003e, \u003ccode\u003eallowedEncryptionStatuses\u003c/code\u003e, \u003ccode\u003erequireAdminApproval\u003c/code\u003e, \u003ccode\u003erequireCorpOwned\u003c/code\u003e and \u003ccode\u003eosConstraints\u003c/code\u003e are used to enforce specific device security settings before granting access.\u003c/p\u003e\n"]]],[],null,["# Access level attributes\n\nAccess levels define various attributes that are used to filter\nrequests made to certain resources. The following table lists the\nattributes supported by access levels and provides additional details\nabout each attribute.\n\nWhen you create or modify an access level using the `gcloud` command-line tool, you must format\nthe attributes in YAML. This table includes the YAML syntax for each attribute,\nand the valid values. Links to the REST and RPC reference information for each\nattribute are also included.\n\nFor more information about access levels and YAML,\nrefer to the [example YAML for an access level](/access-context-manager/docs/example-yaml-file).\n\nYou can include the following attributes in your access level:\n\n- [IP subnetworks](#ip-subnetworks)\n\n- [Regions](#regions)\n\n- [Access level dependency](#access-level-dependency)\n\n- [Principals](#members)\n\n- [Device policy](#device-policy)"]]