# Google Cloud Data Catalog V1 Client - Class TableSpec (2.4.2)

2.4.2 (latest) 2.4.1 2.3.2 2.2.4 2.1.0 2.0.2 1.10.3 1.9.1 1.8.2 1.7.1 1.6.0 1.5.1 1.4.2 1.3.9 Reference documentation and code samples for the Google Cloud Data Catalog V1 Client class TableSpec.

Normal BigQuery table specification.

Generated from protobuf message `google.cloud.datacatalog.v1.TableSpec`

## Namespace

Google \\ Cloud \\ DataCatalog \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ grouped_entry` | `string` Output only. If the table is date-sharded, that is, it matches the `[prefix]YYYYMMDD` name pattern, this field is the Data Catalog resource name of the date-sharded grouped entry. For example: `projects/{PROJECT_ID}/locations/{LOCATION}/entrygroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}`. Otherwise, `grouped_entry` is empty. |

### getGroupedEntry

Output only. If the table is date-sharded, that is, it matches the
`[prefix]YYYYMMDD` name pattern, this field is the Data Catalog resource
name of the date-sharded grouped entry. For example:
`projects/{PROJECT_ID}/locations/{LOCATION}/entrygroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}`.

Otherwise, `grouped_entry` is empty.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setGroupedEntry

Output only. If the table is date-sharded, that is, it matches the
`[prefix]YYYYMMDD` name pattern, this field is the Data Catalog resource
name of the date-sharded grouped entry. For example:
`projects/{PROJECT_ID}/locations/{LOCATION}/entrygroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}`.

Otherwise, `grouped_entry` is empty.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |