
com.pulumi.gcp.cloudtasks.kotlin.outputs.QueueHttpTargetOidcToken.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.cloudtasks.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property audience Audience to be used when generating OIDC token. If not specified, the URI specified in target will be used.
* @property serviceAccountEmail Service account email to be used for generating OIDC token.
* The service account must be within the same project as the queue.
* The caller must have iam.serviceAccounts.actAs permission for the service account.
*/
public data class QueueHttpTargetOidcToken(
public val audience: String? = null,
public val serviceAccountEmail: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.cloudtasks.outputs.QueueHttpTargetOidcToken): QueueHttpTargetOidcToken = QueueHttpTargetOidcToken(
audience = javaType.audience().map({ args0 -> args0 }).orElse(null),
serviceAccountEmail = javaType.serviceAccountEmail(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy