
com.pulumi.googlenative.clouddeploy.v1.kotlin.outputs.ExecutionConfigResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-google-native-kotlin Show documentation
Show all versions of pulumi-google-native-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.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.clouddeploy.v1.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* Configuration of the environment to use when calling Skaffold.
* @property artifactStorage Optional. Cloud Storage location in which to store execution outputs. This can either be a bucket ("gs://my-bucket") or a path within a bucket ("gs://my-bucket/my-dir"). If unspecified, a default bucket located in the same region will be used.
* @property defaultPool Optional. Use default Cloud Build pool.
* @property executionTimeout Optional. Execution timeout for a Cloud Build Execution. This must be between 10m and 24h in seconds format. If unspecified, a default timeout of 1h is used.
* @property privatePool Optional. Use private Cloud Build pool.
* @property serviceAccount Optional. Google service account to use for execution. If unspecified, the project execution service account ([email protected]) is used.
* @property usages Usages when this configuration should be applied.
* @property workerPool Optional. The resource name of the `WorkerPool`, with the format `projects/{project}/locations/{location}/workerPools/{worker_pool}`. If this optional field is unspecified, the default Cloud Build pool will be used.
*/
public data class ExecutionConfigResponse(
public val artifactStorage: String,
public val defaultPool: DefaultPoolResponse,
public val executionTimeout: String,
public val privatePool: PrivatePoolResponse,
public val serviceAccount: String,
public val usages: List,
public val workerPool: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.googlenative.clouddeploy.v1.outputs.ExecutionConfigResponse): ExecutionConfigResponse = ExecutionConfigResponse(
artifactStorage = javaType.artifactStorage(),
defaultPool = javaType.defaultPool().let({ args0 ->
com.pulumi.googlenative.clouddeploy.v1.kotlin.outputs.DefaultPoolResponse.Companion.toKotlin(args0)
}),
executionTimeout = javaType.executionTimeout(),
privatePool = javaType.privatePool().let({ args0 ->
com.pulumi.googlenative.clouddeploy.v1.kotlin.outputs.PrivatePoolResponse.Companion.toKotlin(args0)
}),
serviceAccount = javaType.serviceAccount(),
usages = javaType.usages().map({ args0 -> args0 }),
workerPool = javaType.workerPool(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy