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

com.pulumi.gcp.cloudscheduler.kotlin.outputs.JobHttpTargetOauthToken.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.10.0.0
Show newest version
@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