DynamicField(mapping=None, *, ignore_unknown_fields=False, **kwargs)A dynamic field in Looker (Custom Dimension, Custom Measure, or Table Calculation).
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes |
|
|---|---|
| Name | Description |
category |
str
Optional. The type of dynamic field: dimension, measure, table_calculation. Looker can use the category type to specify the name of the dynamic field. However, Looker Conversational Analytics keeps the category separate from the name of the dynamic field. For more details, see https://docs.cloud.google.com/looker/docs/reference/param-lookml-dashboard-table-chart#dynamic_fields. This field is a member of oneof_ _category.
|
name |
str
Optional. The name of the dynamic field in LookML. This field is a member of oneof_ _name.
|
label |
str
Optional. The label defines the display name of the dynamic field. This field is a member of oneof_ _label.
|
based_on |
str
Optional. For custom measures, this identifies the measure the field is based on. This field is a member of oneof_ _based_on.
|
type_ |
str
Optional. For custom measures, this identifies the type of aggregation (e.g. sum). This field is a member of oneof_ _type.
|
description |
str
Optional. Description of the dynamic field. This field is a member of oneof_ _description.
|
expression |
str
Optional. Looker expression to create a table calculation. This field is a member of oneof_ _expression.
|
filter_expression |
str
Optional. Looker expression to filter a base measure. This field is a member of oneof_ _filter_expression.
|
value_format |
str
Optional. Value format for the dynamic field. This field is a member of oneof_ _value_format.
|
value_format_name |
str
Optional. Value format name for the dynamic field if using a default named format. This field is a member of oneof_ _value_format_name.
|
calculation_type |
str
Optional. Calculation type for table calculations. Refer to https://docs.cloud.google.com/looker/docs/reference/param-lookml-dashboard-table-chart#calculation_type for all possible values depending on the category of
dynamic field.
This field is a member of oneof_ _calculation_type.
|
args |
MutableSequence[str]
Optional. Arguments for custom groups, custom bins, or shortcut calculations. For more details, refer to https://docs.cloud.google.com/looker/docs/reference/param-lookml-dashboard-table-chart#args_for_custom_groups |
kind_hint |
str
Optional. Identifies whether the dynamic field returns a dimension or measure. This field is a member of oneof_ _kind_hint.
|
type_hint |
str
Optional. Identifies the data type the dynamic field's expression should produce. This field is a member of oneof_ _type_hint.
|
is_disabled |
bool
Optional. Whether the dynamic field is disabled. This field is a member of oneof_ _is_disabled.
|