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"]],[["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-03-21 UTC."],[[["The `ServerKeyRestrictions` class, part of the Google Cloud API Keys v2, defines restrictions for server keys, particularly regarding allowed caller IP addresses."],["This class implements multiple interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, enabling it to interact with protocol buffer messages and support various operations."],["The `AllowedIps` property, of type `RepeatedField\u003cstring\u003e`, stores the list of IP addresses authorized to use the associated API key."],["The class offers two constructors: a default constructor and one that accepts another `ServerKeyRestrictions` instance for copying, allowing for flexible instantiation."]]],[]]