# Google API Common Protos Client - Class ExperimentalFeatures (4.14.0)

4.14.0 (latest) 4.13.0 4.12.5 4.11.0 4.10.0 4.9.0 4.8.3 Reference documentation and code samples for the Google API Common Protos Client class ExperimentalFeatures.

Experimental features to be included during client library generation.

These fields will be deprecated once the feature graduates and is enabled
by default.

Generated from protobuf message `google.api.PythonSettings.ExperimentalFeatures`

## Namespace

Google \\ Api \\ PythonSettings

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ rest_async_io_enabled` | `bool` Enables generation of asynchronous REST clients if `rest` transport is enabled. By default, asynchronous REST clients will not be generated. This feature will be enabled by default 1 month after launching the feature in preview packages. |
| `↳ protobuf_pythonic_types_enabled` | `bool` Enables generation of protobuf code using new types that are more Pythonic which are included in `protobuf>=5.29.x`. This feature will be enabled by default 1 month after launching the feature in preview packages. |
| `↳ unversioned_package_disabled` | `bool` Disables generation of an unversioned Python package for this client library. This means that the module names will need to be versioned in import statements. For example `import google.cloud.library_v2` instead of `import google.cloud.library`. |

### getRestAsyncIoEnabled

Enables generation of asynchronous REST clients if `rest` transport is
enabled. By default, asynchronous REST clients will not be generated.

This feature will be enabled by default 1 month after launching the
feature in preview packages.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setRestAsyncIoEnabled

Enables generation of asynchronous REST clients if `rest` transport is
enabled. By default, asynchronous REST clients will not be generated.

This feature will be enabled by default 1 month after launching the
feature in preview packages.

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

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

### getProtobufPythonicTypesEnabled

Enables generation of protobuf code using new types that are more
Pythonic which are included in `protobuf>=5.29.x`. This feature will be
enabled by default 1 month after launching the feature in preview
packages.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setProtobufPythonicTypesEnabled

Enables generation of protobuf code using new types that are more
Pythonic which are included in `protobuf>=5.29.x`. This feature will be
enabled by default 1 month after launching the feature in preview
packages.

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

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

### getUnversionedPackageDisabled

Disables generation of an unversioned Python package for this client
library. This means that the module names will need to be versioned in
import statements. For example `import google.cloud.library_v2` instead
of `import google.cloud.library`.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setUnversionedPackageDisabled

Disables generation of an unversioned Python package for this client
library. This means that the module names will need to be versioned in
import statements. For example `import google.cloud.library_v2` instead
of `import google.cloud.library`.

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

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