Google Cloud Api Keys V2 Client - Class ServerKeyRestrictions (1.1.2)Stay organized with collectionsSave and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Api Keys V2 Client class ServerKeyRestrictions.
The IP addresses of callers that are allowed to use the key.
Generated from protobuf messagegoogle.api.apikeys.v2.ServerKeyRestrictions
Namespace
Google \ Cloud \ ApiKeys \ V2
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ allowed_ips
string[]
A list of the caller IP addresses that are allowed to make API calls with this key.
getAllowedIps
A list of the caller IP addresses that are allowed to make API calls
with this key.
[[["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 2026-03-19 UTC."],[],[]]