Reference documentation and code samples for the Google Cloud Gemini Data Analytics V1beta Client class Datasource.
A datasource that can be used to answer questions.
Generated from protobuf message google.cloud.geminidataanalytics.v1beta.Datasource
Namespace
Google \ Cloud \ GeminiDataAnalytics \ V1betaMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ bigquery_table_reference
↳ studio_datasource_id
string
A reference to a Looker Studio datasource.
↳ looker_explore_reference
↳ schema
↳ struct_schema
Google\Protobuf\Struct
Optional. A struct representation of the schema. This is populated for datasources with schemas that cannot be fully represented by the strongly-typed schema
field. For Looker datasources, this maps to the LookmlModelExplore type: https://cloud.google.com/looker/docs/reference/looker-api/latest/types/LookmlModelExplore
getBigqueryTableReference
A reference to a BigQuery table.
hasBigqueryTableReference
setBigqueryTableReference
A reference to a BigQuery table.
$this
getStudioDatasourceId
A reference to a Looker Studio datasource.
string
hasStudioDatasourceId
setStudioDatasourceId
A reference to a Looker Studio datasource.
var
string
$this
getLookerExploreReference
A reference to a Looker explore.
hasLookerExploreReference
setLookerExploreReference
A reference to a Looker explore.
$this
getSchema
Optional. The schema of the datasource.
hasSchema
clearSchema
setSchema
Optional. The schema of the datasource.
$this
getStructSchema
Optional. A struct representation of the schema.
This is populated for datasources with schemas that cannot be
fully represented by the strongly-typed schema
field.
For Looker datasources, this maps to the LookmlModelExplore type: https://cloud.google.com/looker/docs/reference/looker-api/latest/types/LookmlModelExplore
hasStructSchema
clearStructSchema
setStructSchema
Optional. A struct representation of the schema.
This is populated for datasources with schemas that cannot be
fully represented by the strongly-typed schema
field.
For Looker datasources, this maps to the LookmlModelExplore type: https://cloud.google.com/looker/docs/reference/looker-api/latest/types/LookmlModelExplore
$this
getReference
string

