# Google Cloud Data Catalog V1 Client - Class ThriftSchema (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 ThriftSchema.

Schema in Thrift format.

Generated from protobuf message `google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema`

## Namespace

Google \\ Cloud \\ DataCatalog \\ V1 \\ PhysicalSchema

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ text` | `string` Thrift IDL source of the schema. |

### getText

Thrift IDL source of the schema.

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

### setText

Thrift IDL source of the schema.

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

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