com.pulumi.gcp.cloudscheduler.kotlin.outputs.JobHttpTargetOauthToken.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.cloudscheduler.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property scope OAuth scope to be used for generating OAuth access token. If not specified,
* "https://www.googleapis.com/auth/cloud-platform" will be used.
* @property serviceAccountEmail Service account email to be used for generating OAuth token.
* The service account must be within the same project as the job.
*/
public data class JobHttpTargetOauthToken(
public val scope: String? = null,
public val serviceAccountEmail: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.cloudscheduler.outputs.JobHttpTargetOauthToken): JobHttpTargetOauthToken = JobHttpTargetOauthToken(
scope = javaType.scope().map({ args0 -> args0 }).orElse(null),
serviceAccountEmail = javaType.serviceAccountEmail(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy