0.16.0 (latest) 0.15.0 0.14.1 0.11.1 0.10.0 0.9.0 0.8.0 0.7.1 0.6.0 0.5.0 0.4.0 0.3.1 0.2.0 0.1.1

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

Reference documentation and code samples for the Google Cloud Gemini Data Analytics V1beta Client class DatabaseTableReference.

Message representing a table including its schema.

Generated from protobuf message `google.cloud.geminidataanalytics.v1beta.DatabaseTableReference`

## Namespace

Google \\ Cloud \\ GeminiDataAnalytics \\ V1beta

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ table_id` | `string` Required. The name of the table as defined in the database. Note: The precise rules for table naming, including valid characters, length limits, and case sensitivity, are determined by the specific database system. Requirements: - Exact Match: The provided name must be identical to the name stored in the database. - Case Sensitivity: Respect the case sensitivity rules of the specific database system and how the table was created. For example, "Orders" and "orders" may be distinct table names. - Special Characters/Keywords: If the table name includes spaces, special characters, or is a database reserved keyword, provide the literal name as it is stored. Do not add any database-specific identifier quoting characters (e.g., ", \`, \[\]). Examples: - Simple name: "orders", "UserActivity" - Case sensitive: "MyTable" - Name with spaces: "Order Details" - Name with other special characters: "user/data", "order-items" - Name that is a keyword: "Group", "Order" Permissions: The caller's credentials must have the necessary database permissions to access the table's schema and data. |
| `↳ schema` | `https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1beta.Schema` Optional. The schema of the table. |

### getTableId

Required. The name of the table as defined in the database.

Note: The precise rules for table naming, including valid characters,
length limits, and case sensitivity, are determined by the specific
database system.
Requirements:

- Exact Match: The provided name must be identical to the name stored in the database.
- Case Sensitivity: Respect the case sensitivity rules of the specific database system and how the table was created. For example, "Orders" and "orders" may be distinct table names.
- Special Characters/Keywords: If the table name includes spaces, special characters, or is a database reserved keyword, provide the literal name as it is stored. Do not add any database-specific identifier quoting characters (e.g., ", \`, \[\]). Examples:
  - Simple name: "orders", "UserActivity"
  - Case sensitive: "MyTable"
  - Name with spaces: "Order Details"
  - Name with other special characters: "user/data", "order-items"
  - Name that is a keyword: "Group", "Order" Permissions: The caller's credentials must have the necessary database permissions to access the table's schema and data.

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

### setTableId

Required. The name of the table as defined in the database.

Note: The precise rules for table naming, including valid characters,
length limits, and case sensitivity, are determined by the specific
database system.
Requirements:

- Exact Match: The provided name must be identical to the name stored in the database.
- Case Sensitivity: Respect the case sensitivity rules of the specific database system and how the table was created. For example, "Orders" and "orders" may be distinct table names.
- Special Characters/Keywords: If the table name includes spaces, special characters, or is a database reserved keyword, provide the literal name as it is stored. Do not add any database-specific identifier quoting characters (e.g., ", \`, \[\]). Examples:
  - Simple name: "orders", "UserActivity"
  - Case sensitive: "MyTable"
  - Name with spaces: "Order Details"
  - Name with other special characters: "user/data", "order-items"
  - Name that is a keyword: "Group", "Order" Permissions: The caller's credentials must have the necessary database permissions to access the table's schema and data.

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

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

### getSchema

Optional. The schema of the table.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1beta.Schema|null` |   |

### hasSchema

### clearSchema

### setSchema

Optional. The schema of the table.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1beta.Schema` |

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