# Class LookerQuery (0.13.1)

0.13.1 (latest) 0.13.0 0.12.0 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0

    LookerQuery(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Looker Query Object `Looker API
documentation <https://cloud.google.com/looker/docs/reference/looker-api/latest/methods/Query/run_inline_query>`__.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `model` | `str` Required. The LookML model used to generate the query. |
| `explore` | `str` Required. The LookML explore used to generate the query. |
| `fields` | `MutableSequence[str]` Optional. The fields to retrieve from the explore. |
| `filters` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/google-cloud-geminidataanalytics/latest/google.cloud.geminidataanalytics_v1.types.LookerQuery.Filter]` Optional. The filters to apply to the explore. |
| `sorts` | `MutableSequence[str]` Optional. The sorts to apply to the explore. |
| `limit` | `str` Optional. Limit in the query. This field is a member of `oneof`_ `_limit`. |
| `query_id` | `str` Optional. The primary identifier for the query resource in Looker, used for API operations. Maps to `id` (or `slug`) in the Looker API `Query` resource. This field is a member of `oneof`_ `_query_id`. |
| `client_id` | `str` Optional. The short alphanumeric identifier for the query, used for share links and Explore URLs (e.g., in the `qid` parameter). Maps to `client_id` in the Looker API `Query` resource. This field is a member of `oneof`_ `_client_id`. |

## Classes

### Filter

    Filter(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A Looker query filter.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>