[[["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-04 UTC."],[],[],null,["# Google Cloud Api Keys V2 Client - Class ServerKeyRestrictions (1.0.5)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.5 (latest)](/php/docs/reference/cloud-api-keys/latest/V2.ServerKeyRestrictions)\n- [1.0.4](/php/docs/reference/cloud-api-keys/1.0.4/V2.ServerKeyRestrictions)\n- [0.4.5](/php/docs/reference/cloud-api-keys/0.4.5/V2.ServerKeyRestrictions)\n- [0.3.3](/php/docs/reference/cloud-api-keys/0.3.3/V2.ServerKeyRestrictions)\n- [0.2.2](/php/docs/reference/cloud-api-keys/0.2.2/V2.ServerKeyRestrictions)\n- [0.1.7](/php/docs/reference/cloud-api-keys/0.1.7/V2.ServerKeyRestrictions) \nReference documentation and code samples for the Google Cloud Api Keys V2 Client class ServerKeyRestrictions.\n\nThe IP addresses of callers that are allowed to use the key.\n\nGenerated from protobuf message `google.api.apikeys.v2.ServerKeyRestrictions`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ ApiKeys \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getAllowedIps\n\nA list of the caller IP addresses that are allowed to make API calls\nwith this key.\n\n### setAllowedIps\n\nA list of the caller IP addresses that are allowed to make API calls\nwith this key."]]