GetAppSpecFunctionCorsAllowOrigins

data class GetAppSpecFunctionCorsAllowOrigins(val exact: String? = null, val prefix: String? = null, val regex: String? = null)

Constructors

Link copied to clipboard
constructor(exact: String? = null, prefix: String? = null, regex: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val exact: String? = null

The Access-Control-Allow-Origin header will be set to the client's origin only if the client's origin exactly matches the value you provide.

Link copied to clipboard
val prefix: String? = null

The Access-Control-Allow-Origin header will be set to the client's origin if the beginning of the client's origin matches the value you provide.

Link copied to clipboard
val regex: String? = null

The Access-Control-Allow-Origin header will be set to the client's origin if the client’s origin matches the regex you provide, in RE2 style syntax.