VersionArgs

data class VersionArgs(val epoch: Output<Int>? = null, val fullName: Output<String>? = null, val inclusive: Output<Boolean>? = null, val kind: Output<VersionKind>, val name: Output<String>? = null, val revision: Output<String>? = null) : ConvertibleToJava<VersionArgs>

Version contains structured information about the version of a package.

Constructors

Link copied to clipboard
fun VersionArgs(epoch: Output<Int>? = null, fullName: Output<String>? = null, inclusive: Output<Boolean>? = null, kind: Output<VersionKind>, name: Output<String>? = null, revision: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): VersionArgs

Properties

Link copied to clipboard
val epoch: Output<Int>? = null

Used to correct mistakes in the version numbering scheme.

Link copied to clipboard
val fullName: Output<String>? = null

Human readable version string. This string is of the form :- and is only set when kind is NORMAL.

Link copied to clipboard
val inclusive: Output<Boolean>? = null

Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.

Link copied to clipboard
val kind: Output<VersionKind>

Distinguishes between sentinel MIN/MAX versions and normal versions.

Link copied to clipboard
val name: Output<String>? = null

Required only when version kind is NORMAL. The main part of the version name.

Link copied to clipboard
val revision: Output<String>? = null

The iteration of the package build from the above version.