View Source GoogleApi.APIKeys.V2.Model.V2Restrictions (google_api_api_keys v0.7.0)
Describes the restrictions on the key.
Attributes
-
androidKeyRestrictions
(type:GoogleApi.APIKeys.V2.Model.V2AndroidKeyRestrictions.t
, default:nil
) - The Android apps that are allowed to use the key. -
apiTargets
(type:list(GoogleApi.APIKeys.V2.Model.V2ApiTarget.t)
, default:nil
) - A restriction for a specific service and optionally one or more specific methods. Requests are allowed if they match any of these restrictions. If no restrictions are specified, all targets are allowed. -
browserKeyRestrictions
(type:GoogleApi.APIKeys.V2.Model.V2BrowserKeyRestrictions.t
, default:nil
) - The HTTP referrers (websites) that are allowed to use the key. -
iosKeyRestrictions
(type:GoogleApi.APIKeys.V2.Model.V2IosKeyRestrictions.t
, default:nil
) - The iOS apps that are allowed to use the key. -
serverKeyRestrictions
(type:GoogleApi.APIKeys.V2.Model.V2ServerKeyRestrictions.t
, default:nil
) - The IP addresses of callers that are allowed to use the key.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.APIKeys.V2.Model.V2Restrictions{ androidKeyRestrictions: GoogleApi.APIKeys.V2.Model.V2AndroidKeyRestrictions.t() | nil, apiTargets: [GoogleApi.APIKeys.V2.Model.V2ApiTarget.t()] | nil, browserKeyRestrictions: GoogleApi.APIKeys.V2.Model.V2BrowserKeyRestrictions.t() | nil, iosKeyRestrictions: GoogleApi.APIKeys.V2.Model.V2IosKeyRestrictions.t() | nil, serverKeyRestrictions: GoogleApi.APIKeys.V2.Model.V2ServerKeyRestrictions.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.