V2Restrictions class

Describes the restrictions on the key.

Constructors

V2Restrictions({V2AndroidKeyRestrictions? androidKeyRestrictions, List<V2ApiTarget>? apiTargets, V2BrowserKeyRestrictions? browserKeyRestrictions, V2IosKeyRestrictions? iosKeyRestrictions, V2ServerKeyRestrictions? serverKeyRestrictions})
V2Restrictions.fromJson(Map json_)

Properties

androidKeyRestrictions V2AndroidKeyRestrictions?
The Android apps that are allowed to use the key.
getter/setter pair
apiTargets List<V2ApiTarget>?
A restriction for a specific service and optionally one or more specific methods.
getter/setter pair
browserKeyRestrictions V2BrowserKeyRestrictions?
The HTTP referrers (websites) that are allowed to use the key.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
iosKeyRestrictions V2IosKeyRestrictions?
The iOS apps that are allowed to use the key.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serverKeyRestrictions V2ServerKeyRestrictions?
The IP addresses of callers that are allowed to use the key.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited