
Google Cloud TableMetadata
CertifiedGet BigQuery table metadata
Google Cloud TableMetadata
Get BigQuery table metadata
Retrieves metadata for a table or partition. Can return empty output instead of failing when the table is missing.
type: io.kestra.plugin.gcp.bigquery.TableMetadataExamples
id: gcp_bq_table_metadata
namespace: company.team
tasks:
- id: table_metadata
type: io.kestra.plugin.gcp.bigquery.TableMetadata
projectId: my-project
dataset: my-dataset
table: my-table
Properties
dataset *Requiredstring
Dataset ID
Target dataset name
table *Requiredstring
Table ID
Target table name
ifNotExists string
ERRORERRORSKIPMissing table policy
ERROR by default. Use SKIP to return an empty output when the table does not exist.
impersonatedServiceAccount string
The GCP service account to impersonate
location string
Dataset location
Optional BigQuery location for created or targeted resources. Experimental and may change; see BigQuery dataset location documentation.
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
projectId string
The GCP project ID
retryAuto Non-dynamic
Automatic BigQuery retry policy
Optional custom retry policy for retryable BigQuery errors. If unset, uses an exponential backoff starting at 5s (per-attempt interval capped at 60m), with a total duration of up to 15m and a maximum of 10 attempts.
Constant retry
Retry with a fixed delay between attempts.
durationRETRY_FAILED_TASKRETRY_FAILED_TASKCREATE_NEW_EXECUTION>= 1durationfalseExponential retry
Retry with exponentially increasing delays between attempts.
durationdurationRETRY_FAILED_TASKRETRY_FAILED_TASKCREATE_NEW_EXECUTION>= 1durationfalseRandom retry
Retry with a random delay within a configurable range between attempts.
durationdurationRETRY_FAILED_TASKRETRY_FAILED_TASKCREATE_NEW_EXECUTION>= 1durationfalseretryMessages array
["due to concurrent update","Retrying the job may solve the problem","Retrying may solve the problem"]Retry message substrings
Case-insensitive substrings that, if found in the error message, trigger an automatic retry
retryReasons array
["rateLimitExceeded","jobBackendError","backendError","internalError","jobInternalError"]Retry reasons
BigQuery error reasons that trigger an automatic retry; evaluated against error reason strings
scopes array
["https://www.googleapis.com/auth/cloud-platform"]The GCP scopes to be used
serviceAccount string
The GCP service account
Outputs
creationTime string
date-timeCreation time
datasetId string
Dataset ID
definition
Table definition
io.kestra.plugin.gcp.bigquery.models.TableDefinition-Output
io.kestra.plugin.gcp.bigquery.models.ExternalTableDefinition-Output
CSVJSONBIGTABLEDATASTORE_BACKUPAVROGOOGLE_SHEETSPARQUETORCio.kestra.plugin.gcp.bigquery.models.MaterializedViewDefinition-Output
date-timedurationio.kestra.plugin.gcp.bigquery.models.Schema-Output
io.kestra.plugin.gcp.bigquery.models.Field-Output
NULLABLEREQUIREDREPEATEDBOOLINT64FLOAT64NUMERICBIGNUMERICSTRINGBYTESSTRUCTARRAYTIMESTAMPDATETIMEDATETIMEGEOGRAPHYJSONINTERVALRANGEio.kestra.plugin.gcp.bigquery.models.StandardTableDefinition-Output
io.kestra.plugin.gcp.bigquery.models.RangePartitioning-Output
com.google.cloud.bigquery.StandardTableDefinition-StreamingBuffer
io.kestra.plugin.gcp.bigquery.models.TimePartitioning-Output
durationDAYHOURMONTHYEARTABLEVIEWMATERIALIZED_VIEWEXTERNALMODELio.kestra.plugin.gcp.bigquery.models.ViewDefinition-Output
io.kestra.plugin.gcp.bigquery.models.UserDefinedFunction-Output
INLINEFROM_URIdescription string
Description
encryptionConfiguration
Encryption configuration
io.kestra.plugin.gcp.bigquery.models.EncryptionConfiguration-Output
etag string
Table etag
expirationTime string
date-timeExpiration time
If absent, the table persists indefinitely; expired tables are deleted
friendlyName string
Friendly name
generatedId string
Service-generated table id
labels object
Labels
lastModifiedTime string
date-timeLast modified time
numBytes integer
Size in bytes
numLongTermBytes integer
Long-term storage bytes
Bytes billed at long-term storage rates
numRows integer
Row count
projectId string
Project ID
requirePartitionFilter boolean
Require partition filter
True when queries must specify a partition filter for partition elimination
selfLink string
Self link URL
API URL for get or update requests
table string
Table name