Google Cloud Gemini Data Analytics V1 Client - Class LookerQuery (0.11.0)

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

Looker Query Object Looker API documentation .

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

Namespace

Google \ Cloud \ GeminiDataAnalytics \ V1

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
string[]

Optional. The fields to retrieve from the explore.

↳ filters
array< LookerQuery\Filter >

Optional. The filters to apply to the explore.

↳ sorts
string[]

Optional. The sorts to apply to the explore.

↳ limit
string

Optional. Limit in the query.

↳ query_id
string

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.

↳ client_id
string

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.

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

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

setFilters

Optional. The filters to apply to the explore.

Parameter
Name
Description
var
Returns
Type
Description
$this

getSorts

Optional. The sorts to apply to the explore.

Returns
Type
Description

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

getQueryId

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.

Returns
Type
Description
string

hasQueryId

clearQueryId

setQueryId

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.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getClientId

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.

Returns
Type
Description
string

hasClientId

clearClientId

setClientId

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.

Parameter
Name
Description
var
string
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: