com.pulumi.gcp.cloudbuild.kotlin.outputs.TriggerBuildArtifactsNpmPackage.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.cloudbuild.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property packagePath Path to the package.json. e.g. workspace/path/to/package
* @property repository Artifact Registry repository, in the form "https://$REGION-npm.pkg.dev/$PROJECT/$REPOSITORY"
* Npm package in the workspace specified by path will be zipped and uploaded to Artifact Registry with this location as a prefix.
*/
public data class TriggerBuildArtifactsNpmPackage(
public val packagePath: String? = null,
public val repository: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.cloudbuild.outputs.TriggerBuildArtifactsNpmPackage): TriggerBuildArtifactsNpmPackage = TriggerBuildArtifactsNpmPackage(
packagePath = javaType.packagePath().map({ args0 -> args0 }).orElse(null),
repository = javaType.repository().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy