Skip to content

AnnotationQuery🔗

Constructor🔗

AnnotationQuery()

Methods🔗

build🔗

Builds the object.

def build() -> dashboardv2beta1.AnnotationQueryKind

built_in🔗

def built_in(built_in: bool) -> typing.Self

enable🔗

def enable(enable: bool) -> typing.Self

filter_val🔗

def filter_val(filter_val: cogbuilder.Builder[dashboardv2beta1.AnnotationPanelFilter]) -> typing.Self

hide🔗

def hide(hide: bool) -> typing.Self

icon_color🔗

def icon_color(icon_color: str) -> typing.Self

legacy_options🔗

Catch-all field for datasource-specific properties. Should not be available in as code tooling.

def legacy_options(legacy_options: dict[str, object]) -> typing.Self

mappings🔗

Mappings define how to convert data frame fields to annotation event fields.

def mappings(mappings: dict[str, cogbuilder.Builder[dashboardv2beta1.AnnotationEventFieldMapping]]) -> typing.Self

name🔗

def name(name: str) -> typing.Self

placement🔗

Placement can be used to display the annotation query somewhere else on the dashboard other than the default location.

def placement(placement: str) -> typing.Self

query🔗

def query(query: cogbuilder.Builder[dashboardv2beta1.DataQueryKind]) -> typing.Self

spec🔗

def spec(spec: cogbuilder.Builder[dashboardv2beta1.AnnotationQuerySpec]) -> typing.Self

See also🔗