com.pulumi.googlenative.clouddeploy.v1.kotlin.outputs.GetReleaseResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.clouddeploy.v1.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map
/**
*
* @property abandoned Indicates whether this is an abandoned release.
* @property annotations User annotations. These attributes can only be set and used by the user, and not by Google Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
* @property buildArtifacts List of artifacts to pass through to Skaffold command.
* @property condition Information around the state of the Release.
* @property createTime Time at which the `Release` was created.
* @property deliveryPipelineSnapshot Snapshot of the parent pipeline taken at release creation time.
* @property description Description of the `Release`. Max length is 255 characters.
* @property etag This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
* @property labels Labels are attributes that can be set and used by both the user and by Google Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.
* @property name Optional. Name of the `Release`. Format is projects/{project}/ locations/{location}/deliveryPipelines/{deliveryPipeline}/ releases/a-z{0,62}.
* @property renderEndTime Time at which the render completed.
* @property renderStartTime Time at which the render began.
* @property renderState Current state of the render operation.
* @property skaffoldConfigPath Filepath of the Skaffold config inside of the config URI.
* @property skaffoldConfigUri Cloud Storage URI of tar.gz archive containing Skaffold configuration.
* @property skaffoldVersion The Skaffold version to use when operating on this release, such as "1.20.0". Not all versions are valid; Google Cloud Deploy supports a specific set of versions. If unset, the most recent supported Skaffold version will be used.
* @property targetArtifacts Map from target ID to the target artifacts created during the render operation.
* @property targetRenders Map from target ID to details of the render operation for that target.
* @property targetSnapshots Snapshot of the targets taken at release creation time.
* @property uid Unique identifier of the `Release`.
*/
public data class GetReleaseResult(
public val abandoned: Boolean,
public val annotations: Map,
public val buildArtifacts: List,
public val condition: ReleaseConditionResponse,
public val createTime: String,
public val deliveryPipelineSnapshot: DeliveryPipelineResponse,
public val description: String,
public val etag: String,
public val labels: Map,
public val name: String,
public val renderEndTime: String,
public val renderStartTime: String,
public val renderState: String,
public val skaffoldConfigPath: String,
public val skaffoldConfigUri: String,
public val skaffoldVersion: String,
public val targetArtifacts: Map,
public val targetRenders: Map,
public val targetSnapshots: List,
public val uid: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.googlenative.clouddeploy.v1.outputs.GetReleaseResult): GetReleaseResult = GetReleaseResult(
abandoned = javaType.abandoned(),
annotations = javaType.annotations().map({ args0 -> args0.key.to(args0.value) }).toMap(),
buildArtifacts = javaType.buildArtifacts().map({ args0 ->
args0.let({ args0 ->
com.pulumi.googlenative.clouddeploy.v1.kotlin.outputs.BuildArtifactResponse.Companion.toKotlin(args0)
})
}),
condition = javaType.condition().let({ args0 ->
com.pulumi.googlenative.clouddeploy.v1.kotlin.outputs.ReleaseConditionResponse.Companion.toKotlin(args0)
}),
createTime = javaType.createTime(),
deliveryPipelineSnapshot = javaType.deliveryPipelineSnapshot().let({ args0 ->
com.pulumi.googlenative.clouddeploy.v1.kotlin.outputs.DeliveryPipelineResponse.Companion.toKotlin(args0)
}),
description = javaType.description(),
etag = javaType.etag(),
labels = javaType.labels().map({ args0 -> args0.key.to(args0.value) }).toMap(),
name = javaType.name(),
renderEndTime = javaType.renderEndTime(),
renderStartTime = javaType.renderStartTime(),
renderState = javaType.renderState(),
skaffoldConfigPath = javaType.skaffoldConfigPath(),
skaffoldConfigUri = javaType.skaffoldConfigUri(),
skaffoldVersion = javaType.skaffoldVersion(),
targetArtifacts = javaType.targetArtifacts().map({ args0 -> args0.key.to(args0.value) }).toMap(),
targetRenders = javaType.targetRenders().map({ args0 -> args0.key.to(args0.value) }).toMap(),
targetSnapshots = javaType.targetSnapshots().map({ args0 ->
args0.let({ args0 ->
com.pulumi.googlenative.clouddeploy.v1.kotlin.outputs.TargetResponse.Companion.toKotlin(args0)
})
}),
uid = javaType.uid(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy