[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Google Cloud Policy Troubleshooter V1 Client - Class AccessState (2.0.5)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.5 (latest)](/php/docs/reference/cloud-policy-troubleshooter/latest/V1.AccessState)\n- [2.0.4](/php/docs/reference/cloud-policy-troubleshooter/2.0.4/V1.AccessState)\n- [1.3.4](/php/docs/reference/cloud-policy-troubleshooter/1.3.4/V1.AccessState)\n- [1.2.1](/php/docs/reference/cloud-policy-troubleshooter/1.2.1/V1.AccessState)\n- [1.1.2](/php/docs/reference/cloud-policy-troubleshooter/1.1.2/V1.AccessState)\n- [1.0.4](/php/docs/reference/cloud-policy-troubleshooter/1.0.4/V1.AccessState) \nReference documentation and code samples for the Google Cloud Policy Troubleshooter V1 Client class AccessState.\n\nWhether a principal has a permission for a resource.\n\nProtobuf type `google.cloud.policytroubleshooter.v1.AccessState`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ PolicyTroubleshooter \\\\ V1\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### ACCESS_STATE_UNSPECIFIED\n\n Value: 0\n\nDefault value. This value is unused.\n\nGenerated from protobuf enum `ACCESS_STATE_UNSPECIFIED = 0;`\n\n### GRANTED\n\n Value: 1\n\nThe principal has the permission.\n\nGenerated from protobuf enum `GRANTED = 1;`\n\n### NOT_GRANTED\n\n Value: 2\n\nThe principal does not have the permission.\n\nGenerated from protobuf enum `NOT_GRANTED = 2;`\n\n### UNKNOWN_CONDITIONAL\n\n Value: 3\n\nThe principal has the permission only if a condition expression evaluates\nto `true`.\n\nGenerated from protobuf enum `UNKNOWN_CONDITIONAL = 3;`\n\n### UNKNOWN_INFO_DENIED\n\n Value: 4\n\nThe sender of the request does not have access to all of the policies that\nPolicy Troubleshooter needs to evaluate.\n\nGenerated from protobuf enum `UNKNOWN_INFO_DENIED = 4;`"]]