All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.cloudscheduler.kotlin.outputs.JobHttpTargetOidcToken.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.12.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.cloudscheduler.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 OAuth token.
 * The service account must be within the same project as the job.
 */
public data class JobHttpTargetOidcToken(
    public val audience: String? = null,
    public val serviceAccountEmail: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.cloudscheduler.outputs.JobHttpTargetOidcToken): JobHttpTargetOidcToken = JobHttpTargetOidcToken(
            audience = javaType.audience().map({ args0 -> args0 }).orElse(null),
            serviceAccountEmail = javaType.serviceAccountEmail(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy