public sealed class ServerKeyRestrictions : IMessage<ServerKeyRestrictions>, IEquatable<ServerKeyRestrictions>, IDeepCloneable<ServerKeyRestrictions>, IBufferMessage, IMessage
Reference documentation and code samples for the API Keys v2 API class ServerKeyRestrictions.
The IP addresses of callers that are allowed to use the key.
[[["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."],[[["\u003cp\u003eThis page provides reference documentation for the \u003ccode\u003eServerKeyRestrictions\u003c/code\u003e class within the API Keys v2 API for .NET.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eServerKeyRestrictions\u003c/code\u003e is a class that allows specifying the IP addresses permitted to use a specific API key.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class is located within the \u003ccode\u003eGoogle.Cloud.ApiKeys.V2\u003c/code\u003e namespace and is contained in the \u003ccode\u003eGoogle.Cloud.ApiKeys.V2.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAllowedIps\u003c/code\u003e property, a \u003ccode\u003eRepeatedField<string>\u003c/code\u003e, lists the IP addresses allowed to use the key.\u003c/p\u003e\n"]]],[],null,[]]