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.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ bigquery_table_reference |
BigQueryTableReference
A reference to a BigQuery table. |
↳ studio_datasource_id |
string
A reference to a LookerStudio datasource. |
↳ looker_explore_reference |
LookerExploreReference
A reference to a Looker explore. |
↳ schema |
Schema
Optional. The schema of the datasource. |
getBigqueryTableReference
A reference to a BigQuery table.
Returns | |
---|---|
Type | Description |
BigQueryTableReference|null |
hasBigqueryTableReference
setBigqueryTableReference
A reference to a BigQuery table.
Parameter | |
---|---|
Name | Description |
var |
BigQueryTableReference
|
Returns | |
---|---|
Type | Description |
$this |
getStudioDatasourceId
A reference to a LookerStudio datasource.
Returns | |
---|---|
Type | Description |
string |
hasStudioDatasourceId
setStudioDatasourceId
A reference to a LookerStudio datasource.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getLookerExploreReference
A reference to a Looker explore.
Returns | |
---|---|
Type | Description |
LookerExploreReference|null |
hasLookerExploreReference
setLookerExploreReference
A reference to a Looker explore.
Parameter | |
---|---|
Name | Description |
var |
LookerExploreReference
|
Returns | |
---|---|
Type | Description |
$this |
getSchema
Optional. The schema of the datasource.
Returns | |
---|---|
Type | Description |
Schema|null |
hasSchema
clearSchema
setSchema
Optional. The schema of the datasource.
Parameter | |
---|---|
Name | Description |
var |
Schema
|
Returns | |
---|---|
Type | Description |
$this |
getReference
Returns | |
---|---|
Type | Description |
string |