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.
Implements
IMessageServerKeyRestrictions, IEquatableServerKeyRestrictions, IDeepCloneableServerKeyRestrictions, IBufferMessage, IMessageNamespace
Google.Cloud.ApiKeys.V2Assembly
Google.Cloud.ApiKeys.V2.dll
Constructors
ServerKeyRestrictions()
public ServerKeyRestrictions()
ServerKeyRestrictions(ServerKeyRestrictions)
public ServerKeyRestrictions(ServerKeyRestrictions other)
Parameter | |
---|---|
Name | Description |
other | ServerKeyRestrictions |
Properties
AllowedIps
public RepeatedField<string> AllowedIps { get; }
A list of the caller IP addresses that are allowed to make API calls with this key.
Property Value | |
---|---|
Type | Description |
RepeatedFieldstring |