GetProjectVariablesVariable

data class GetProjectVariablesVariable(val description: String, val environmentScope: String, val key: String, val masked: Boolean, val project: String, val protected: Boolean, val raw: Boolean, val value: String, val variableType: String)

Constructors

Link copied to clipboard
constructor(description: String, environmentScope: String, key: String, masked: Boolean, project: String, protected: Boolean, raw: Boolean, value: String, variableType: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The description of the variable.

Link copied to clipboard

The environment scope of the variable. Defaults to all environment (*). Note that in Community Editions of Gitlab, values other than * will cause inconsistent plans.

Link copied to clipboard
val key: String

The name of the variable.

Link copied to clipboard

If set to true, the value of the variable will be hidden in job logs. The value must meet the masking requirements. Defaults to false.

Link copied to clipboard

The name or id of the project.

Link copied to clipboard

If set to true, the variable will be passed only to pipelines running on protected branches and tags. Defaults to false.

Link copied to clipboard

Whether the variable is treated as a raw string. Default: false. When true, variables in the value are not expanded.

Link copied to clipboard

The value of the variable.

Link copied to clipboard

The type of a variable. Valid values are: env_var, file. Default is env_var.