Reference documentation and code samples for the Google Cloud Data Catalog V1 Client class BigQueryDateShardedSpec.
Specification for a group of BigQuery tables with the [prefix]YYYYMMDD
name
pattern.
For more information, see Introduction to partitioned tables .
Generated from protobuf message google.cloud.datacatalog.v1.BigQueryDateShardedSpec
Namespace
Google \ Cloud \ DataCatalog \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ dataset
string
Output only. The Data Catalog resource name of the dataset entry the current table belongs to. For example: projects/{PROJECT_ID}/locations/{LOCATION}/entrygroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}
.
↳ table_prefix
string
Output only. The table name prefix of the shards. The name of any given shard is [table_prefix]YYYYMMDD
. For example, for the MyTable20180101
shard, the table_prefix
is MyTable
.
↳ shard_count
int|string
Output only. Total number of shards.
↳ latest_shard_resource
string
Output only. BigQuery resource name of the latest shard.
getDataset
Output only. The Data Catalog resource name of the dataset entry the
current table belongs to. For example: projects/{PROJECT_ID}/locations/{LOCATION}/entrygroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}
.
string
setDataset
Output only. The Data Catalog resource name of the dataset entry the
current table belongs to. For example: projects/{PROJECT_ID}/locations/{LOCATION}/entrygroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}
.
var
string
$this
getTablePrefix
Output only. The table name prefix of the shards.
The name of any given shard is [table_prefix]YYYYMMDD
.
For example, for the MyTable20180101
shard, the table_prefix
is MyTable
.
string
setTablePrefix
Output only. The table name prefix of the shards.
The name of any given shard is [table_prefix]YYYYMMDD
.
For example, for the MyTable20180101
shard, the table_prefix
is MyTable
.
var
string
$this
getShardCount
Output only. Total number of shards.
int|string
setShardCount
Output only. Total number of shards.
var
int|string
$this
getLatestShardResource
Output only. BigQuery resource name of the latest shard.
string
setLatestShardResource
Output only. BigQuery resource name of the latest shard.
var
string
$this