com.pulumi.googlenative.appengine.v1beta.kotlin.outputs.ApiConfigHandlerResponse.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.appengine.v1beta.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* Google Cloud Endpoints (https://cloud.google.com/endpoints) configuration for API handlers.
* @property authFailAction Action to take when users access resources that require authentication. Defaults to redirect.
* @property login Level of login required to access this resource. Defaults to optional.
* @property script Path to the script from the application root directory.
* @property securityLevel Security (HTTPS) enforcement for this URL.
* @property url URL to serve the endpoint at.
*/
public data class ApiConfigHandlerResponse(
public val authFailAction: String,
public val login: String,
public val script: String,
public val securityLevel: String,
public val url: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.googlenative.appengine.v1beta.outputs.ApiConfigHandlerResponse): ApiConfigHandlerResponse = ApiConfigHandlerResponse(
authFailAction = javaType.authFailAction(),
login = javaType.login(),
script = javaType.script(),
securityLevel = javaType.securityLevel(),
url = javaType.url(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy