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 in the API Keys v2 API allows for defining restrictions on which IP addresses can use a specific API key."],["This class implements several interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, enhancing its functionality and compatibility."],["`ServerKeyRestrictions` inherits from the base `object` class, providing core functionality."],["The `AllowedIps` property is used to specify a list of IP addresses that are permitted to make API calls with the associated key, and it uses the `RepeatedField` type."],["There are two constructors available for creating instances of the `ServerKeyRestrictions` class: one default constructor, and one that takes another `ServerKeyRestrictions` instance as an argument."]]],[]]