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

com.pulumi.gcp.dataflow.kotlin.outputs.PipelineWorkloadDataflowFlexTemplateRequest.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.dataflow.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property launchParameter Parameter to launch a job from a Flex Template.
 * https://cloud.google.com/dataflow/docs/reference/data-pipelines/rest/v1/projects.locations.pipelines#launchflextemplateparameter
 * Structure is documented below.
 * @property location The regional endpoint to which to direct the request. For example, us-central1, us-west1.
 * @property projectId The ID of the Cloud Platform project that the job belongs to.
 * @property validateOnly If true, the request is validated but not actually executed. Defaults to false.
 */
public data class PipelineWorkloadDataflowFlexTemplateRequest(
    public val launchParameter: PipelineWorkloadDataflowFlexTemplateRequestLaunchParameter,
    public val location: String,
    public val projectId: String,
    public val validateOnly: Boolean? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.dataflow.outputs.PipelineWorkloadDataflowFlexTemplateRequest): PipelineWorkloadDataflowFlexTemplateRequest = PipelineWorkloadDataflowFlexTemplateRequest(
            launchParameter = javaType.launchParameter().let({ args0 ->
                com.pulumi.gcp.dataflow.kotlin.outputs.PipelineWorkloadDataflowFlexTemplateRequestLaunchParameter.Companion.toKotlin(args0)
            }),
            location = javaType.location(),
            projectId = javaType.projectId(),
            validateOnly = javaType.validateOnly().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy