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

com.pulumi.googlenative.appengine.v1beta.kotlin.outputs.DeploymentResponse.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.

The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.googlenative.appengine.v1beta.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map

/**
 * Code and application artifacts used to deploy a version to App Engine.
 * @property build Google Cloud Build build information. Only applicable for instances running in the App Engine flexible environment.
 * @property cloudBuildOptions Options for any Google Cloud Build builds created as a part of this deployment.These options will only be used if a new build is created, such as when deploying to the App Engine flexible environment using files or zip.
 * @property container The Docker image for the container that runs the version. Only applicable for instances running in the App Engine flexible environment.
 * @property files Manifest of the files stored in Google Cloud Storage that are included as part of this version. All files must be readable using the credentials supplied with this call.
 * @property zip The zip file for this deployment, if this is a zip deployment.
 */
public data class DeploymentResponse(
    public val build: BuildInfoResponse,
    public val cloudBuildOptions: CloudBuildOptionsResponse,
    public val container: ContainerInfoResponse,
    public val files: Map,
    public val zip: ZipInfoResponse,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.googlenative.appengine.v1beta.outputs.DeploymentResponse): DeploymentResponse = DeploymentResponse(
            build = javaType.build().let({ args0 ->
                com.pulumi.googlenative.appengine.v1beta.kotlin.outputs.BuildInfoResponse.Companion.toKotlin(args0)
            }),
            cloudBuildOptions = javaType.cloudBuildOptions().let({ args0 ->
                com.pulumi.googlenative.appengine.v1beta.kotlin.outputs.CloudBuildOptionsResponse.Companion.toKotlin(args0)
            }),
            container = javaType.container().let({ args0 ->
                com.pulumi.googlenative.appengine.v1beta.kotlin.outputs.ContainerInfoResponse.Companion.toKotlin(args0)
            }),
            files = javaType.files().map({ args0 -> args0.key.to(args0.value) }).toMap(),
            zip = javaType.zip().let({ args0 ->
                com.pulumi.googlenative.appengine.v1beta.kotlin.outputs.ZipInfoResponse.Companion.toKotlin(args0)
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy