[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Google Cloud Policy Simulator V1 Client - Class AccessState (1.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.0 (latest)](/php/docs/reference/cloud-policysimulator/latest/V1.AccessState)\n- [1.1.1](/php/docs/reference/cloud-policysimulator/1.1.1/V1.AccessState)\n- [1.0.3](/php/docs/reference/cloud-policysimulator/1.0.3/V1.AccessState)\n- [0.2.5](/php/docs/reference/cloud-policysimulator/0.2.5/V1.AccessState)\n- [0.1.1](/php/docs/reference/cloud-policysimulator/0.1.1/V1.AccessState) \nReference documentation and code samples for the Google Cloud Policy Simulator V1 Client class AccessState.\n\nWhether a principal has a permission for a resource.\n\nProtobuf type `google.cloud.policysimulator.v1.AccessState`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ PolicySimulator \\\\ 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 user who created the\n[Replay](/php/docs/reference/cloud-policysimulator/latest/V1.Replay) does not have\naccess to all of the policies that Policy Simulator needs to evaluate.\n\nGenerated from protobuf enum `UNKNOWN_INFO_DENIED = 4;`"]]