Google Cloud Gemini Data Analytics V1beta Client - Class LookerQuery (0.1.1)

Reference documentation and code samples for the Google Cloud Gemini Data Analytics V1beta Client class LookerQuery.

A query for retrieving data from a Looker explore. See https://cloud.google.com/looker/docs/reference/looker-api/latest/methods/Query/run_inline_query

Generated from protobuf message google.cloud.geminidataanalytics.v1beta.LookerQuery

Namespace

Google \ Cloud \ GeminiDataAnalytics \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ model string

Required. The LookML model used to generate the query.

↳ explore string

Required. The LookML explore used to generate the query.

↳ fields array

Optional. The fields to retrieve from the explore.

↳ filters array<LookerQuery\Filter>

Optional. The filters to apply to the explore.

↳ sorts array

Optional. The sorts to apply to the explore.

↳ limit string

Optional. Limit in the query.

getModel

Required. The LookML model used to generate the query.

Returns
Type Description
string

setModel

Required. The LookML model used to generate the query.

Parameter
Name Description
var string
Returns
Type Description
$this

getExplore

Required. The LookML explore used to generate the query.

Returns
Type Description
string

setExplore

Required. The LookML explore used to generate the query.

Parameter
Name Description
var string
Returns
Type Description
$this

getFields

Optional. The fields to retrieve from the explore.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setFields

Optional. The fields to retrieve from the explore.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getFilters

Optional. The filters to apply to the explore.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setFilters

Optional. The filters to apply to the explore.

Parameter
Name Description
var array<LookerQuery\Filter>
Returns
Type Description
$this

getSorts

Optional. The sorts to apply to the explore.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setSorts

Optional. The sorts to apply to the explore.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getLimit

Optional. Limit in the query.

Returns
Type Description
string

hasLimit

clearLimit

setLimit

Optional. Limit in the query.

Parameter
Name Description
var string
Returns
Type Description
$this