Generated from protobuf messagegoogle.cloud.datacatalog.v1.BigQueryDateShardedSpec
Namespace
Google \ Cloud \ DataCatalog \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
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 theMyTable20180101shard, thetable_prefixisMyTable.
↳ 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}.
Returns
Type
Description
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}.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getTablePrefix
Output only. The table name prefix of the shards.
The name of any given shard is[table_prefix]YYYYMMDD.
For example, for theMyTable20180101shard, thetable_prefixisMyTable.
Returns
Type
Description
string
setTablePrefix
Output only. The table name prefix of the shards.
The name of any given shard is[table_prefix]YYYYMMDD.
For example, for theMyTable20180101shard, thetable_prefixisMyTable.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getShardCount
Output only. Total number of shards.
Returns
Type
Description
int|string
setShardCount
Output only. Total number of shards.
Parameter
Name
Description
var
int|string
Returns
Type
Description
$this
getLatestShardResource
Output only. BigQuery resource name of the latest shard.
Returns
Type
Description
string
setLatestShardResource
Output only. BigQuery resource name of the latest shard.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Data Catalog V1 Client - Class BigQueryDateShardedSpec (2.3.2)\n\nVersion latestkeyboard_arrow_down\n\n- [2.3.2 (latest)](/php/docs/reference/cloud-data-catalog/latest/V1.BigQueryDateShardedSpec)\n- [2.3.1](/php/docs/reference/cloud-data-catalog/2.3.1/V1.BigQueryDateShardedSpec)\n- [2.2.4](/php/docs/reference/cloud-data-catalog/2.2.4/V1.BigQueryDateShardedSpec)\n- [2.1.0](/php/docs/reference/cloud-data-catalog/2.1.0/V1.BigQueryDateShardedSpec)\n- [2.0.2](/php/docs/reference/cloud-data-catalog/2.0.2/V1.BigQueryDateShardedSpec)\n- [1.10.3](/php/docs/reference/cloud-data-catalog/1.10.3/V1.BigQueryDateShardedSpec)\n- [1.9.1](/php/docs/reference/cloud-data-catalog/1.9.1/V1.BigQueryDateShardedSpec)\n- [1.8.2](/php/docs/reference/cloud-data-catalog/1.8.2/V1.BigQueryDateShardedSpec)\n- [1.7.1](/php/docs/reference/cloud-data-catalog/1.7.1/V1.BigQueryDateShardedSpec)\n- [1.6.0](/php/docs/reference/cloud-data-catalog/1.6.0/V1.BigQueryDateShardedSpec)\n- [1.5.1](/php/docs/reference/cloud-data-catalog/1.5.1/V1.BigQueryDateShardedSpec)\n- [1.4.2](/php/docs/reference/cloud-data-catalog/1.4.2/V1.BigQueryDateShardedSpec)\n- [1.3.9](/php/docs/reference/cloud-data-catalog/1.3.9/V1.BigQueryDateShardedSpec) \nReference documentation and code samples for the Google Cloud Data Catalog V1 Client class BigQueryDateShardedSpec.\n\nSpecification for a group of BigQuery tables with the `[prefix]YYYYMMDD` name\npattern.\n\nFor more information, see [Introduction to partitioned tables](https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).\n\nGenerated from protobuf message `google.cloud.datacatalog.v1.BigQueryDateShardedSpec`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ DataCatalog \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getDataset\n\nOutput only. The Data Catalog resource name of the dataset entry the\ncurrent table belongs to. For example:\n`projects/{PROJECT_ID}/locations/{LOCATION}/entrygroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}`.\n\n### setDataset\n\nOutput only. The Data Catalog resource name of the dataset entry the\ncurrent table belongs to. For example:\n`projects/{PROJECT_ID}/locations/{LOCATION}/entrygroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}`.\n\n### getTablePrefix\n\nOutput only. The table name prefix of the shards.\n\nThe name of any given shard is `[table_prefix]YYYYMMDD`.\nFor example, for the `MyTable20180101` shard, the\n`table_prefix` is `MyTable`.\n\n### setTablePrefix\n\nOutput only. The table name prefix of the shards.\n\nThe name of any given shard is `[table_prefix]YYYYMMDD`.\nFor example, for the `MyTable20180101` shard, the\n`table_prefix` is `MyTable`.\n\n### getShardCount\n\nOutput only. Total number of shards.\n\n### setShardCount\n\nOutput only. Total number of shards.\n\n### getLatestShardResource\n\nOutput only. BigQuery resource name of the latest shard.\n\n### setLatestShardResource\n\nOutput only. BigQuery resource name of the latest shard."]]