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

com.pulumi.gcp.dataplex.kotlin.outputs.TaskNotebook.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.dataplex.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property archiveUris Cloud Storage URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.
 * @property fileUris Cloud Storage URIs of files to be placed in the working directory of each executor.
 * @property infrastructureSpec Infrastructure specification for the execution.
 * Structure is documented below.
 * @property notebook Path to input notebook. This can be the Cloud Storage URI of the notebook file or the path to a Notebook Content. The execution args are accessible as environment variables (TASK_key=value).
 */
public data class TaskNotebook(
    public val archiveUris: List? = null,
    public val fileUris: List? = null,
    public val infrastructureSpec: TaskNotebookInfrastructureSpec? = null,
    public val notebook: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.dataplex.outputs.TaskNotebook): TaskNotebook =
            TaskNotebook(
                archiveUris = javaType.archiveUris().map({ args0 -> args0 }),
                fileUris = javaType.fileUris().map({ args0 -> args0 }),
                infrastructureSpec = javaType.infrastructureSpec().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.gcp.dataplex.kotlin.outputs.TaskNotebookInfrastructureSpec.Companion.toKotlin(args0)
                    })
                }).orElse(null),
                notebook = javaType.notebook(),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy