# Google Cloud Data Catalog V1BETA1 API - Class Google::Cloud::DataCatalog::V1beta1::BigQueryDateShardedSpec (v0.13.0)

0.13.0 (latest) 0.12.0 0.11.0 0.10.1 0.9.1 0.8.4 0.7.0 0.6.0 0.5.2 0.4.0 0.3.2 0.2.1 0.1.1 Reference documentation and code samples for the Google Cloud Data Catalog V1BETA1 API class Google::Cloud::DataCatalog::V1beta1::BigQueryDateShardedSpec.

Spec for a group of BigQuery tables with name pattern `[prefix]YYYYMMDD`.
Context:
<https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding>

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #dataset

    def dataset() -> ::String

**Returns**

- (::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}`.

### #shard_count

    def shard_count() -> ::Integer

**Returns**

- (::Integer) --- Output only. Total number of shards.

### #table_prefix

    def table_prefix() -> ::String

**Returns**

- (::String) --- Output only. The table name prefix of the shards. The name of any given shard is `[table_prefix]YYYYMMDD`, for example, for shard `MyTable20180101`, the `table_prefix` is `MyTable`.