1.6 KiB
1.6 KiB
title | description | menu | weight | ||||||
---|---|---|---|---|---|---|---|---|---|
bigtable.from() function | The `bigtable.from()` function retrieves data from a Google Cloud Bigtable data source. |
|
301 |
The bigtable.from()
function retrieves data from a Google Cloud Bigtable
data source.
Function type: Input
{{% warn %}}
The bigtable.from()
function is currently experimental and subject to change at any time.
By using this function, you accept the risks of experimental functions.
{{% /warn %}}
import "experimental/bigtable"
bigtable.from(
token: "mySuPeRseCretTokEn",
project: "exampleProjectID",
instance: "exampleInstanceID",
table: "example-table"
)
Parameters
token
The Google Cloud IAM token to use to access the Cloud Bigtable database.
For more information, see the following:
- Cloud Bigtable Access Control
- Google Cloud IAM How-to guides
- Setting Up Authentication for Server to Server Production Applications on Google Cloud
Data type: String
project
The project ID of the Cloud Bigtable project to retrieve data from.
Data type: String
instance
The instance ID of the Cloud Bigtable instance to retrieve data from.
Data type: String
table
The name of the Cloud Bigtable table to retrieve data from.
Data type: String