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 latest version of the `ServerKeyRestrictions` class in the API Keys v2 API is 1.4.0, with older versions available from 1.0.0 onward."],["`ServerKeyRestrictions` is a class within the `Google.Cloud.ApiKeys.V2` namespace that implements interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["This class manages restrictions for API keys, specifically defining the allowed IP addresses from which API calls can be made."],["The class inherits from `object` and includes inherited members such as `GetHashCode()`, `GetType()`, and `ToString()`."],["`ServerKeyRestrictions` includes a property called `AllowedIps` which holds a list of strings that represent the caller IP addresses that are allowed to use the key."]]],[]]