V2RestrictionsArgs

data class V2RestrictionsArgs(val androidKeyRestrictions: Output<V2AndroidKeyRestrictionsArgs>? = null, val apiTargets: Output<List<V2ApiTargetArgs>>? = null, val browserKeyRestrictions: Output<V2BrowserKeyRestrictionsArgs>? = null, val iosKeyRestrictions: Output<V2IosKeyRestrictionsArgs>? = null, val serverKeyRestrictions: Output<V2ServerKeyRestrictionsArgs>? = null) : ConvertibleToJava<V2RestrictionsArgs>

Describes the restrictions on the key.

Constructors

Link copied to clipboard
fun V2RestrictionsArgs(androidKeyRestrictions: Output<V2AndroidKeyRestrictionsArgs>? = null, apiTargets: Output<List<V2ApiTargetArgs>>? = null, browserKeyRestrictions: Output<V2BrowserKeyRestrictionsArgs>? = null, iosKeyRestrictions: Output<V2IosKeyRestrictionsArgs>? = null, serverKeyRestrictions: Output<V2ServerKeyRestrictionsArgs>? = null)

Functions

Link copied to clipboard
open override fun toJava(): V2RestrictionsArgs

Properties

Link copied to clipboard

The Android apps that are allowed to use the key.

Link copied to clipboard
val apiTargets: Output<List<V2ApiTargetArgs>>? = null

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.

Link copied to clipboard

The HTTP referrers (websites) that are allowed to use the key.

Link copied to clipboard

The iOS apps that are allowed to use the key.

Link copied to clipboard

The IP addresses of callers that are allowed to use the key.