CustomVariable
Constructor
CustomVariable(name: str)
Methods
build
Builds the object.
def build() -> dashboardv2beta1.CustomVariableKind
all_value
def all_value(all_value: str) -> typing.Self
allow_custom_value
def allow_custom_value(allow_custom_value: bool) -> typing.Self
current
def current(current: dashboardv2beta1.VariableOption) -> typing.Self
description
def description(description: str) -> typing.Self
hide
def hide(hide: dashboardv2beta1.VariableHide) -> typing.Self
include_all
def include_all(include_all: bool) -> typing.Self
label
def label(label: str) -> typing.Self
multi
def multi(multi: bool) -> typing.Self
name
def name(name: str) -> typing.Self
options
def options(options: list[dashboardv2beta1.VariableOption]) -> typing.Self
query
def query(query: str) -> typing.Self
skip_url_sync
def skip_url_sync(skip_url_sync: bool) -> typing.Self
spec
def spec(spec: dashboardv2beta1.CustomVariableSpec) -> typing.Self
def values_format(values_format: typing.Literal["csv", "json"]) -> typing.Self
See also