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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Google API Common Protos Client - Class ExperimentalFeatures (4.12.3)\n\nVersion latestkeyboard_arrow_down\n\n- [4.12.3 (latest)](/php/docs/reference/common-protos/latest/Api.PythonSettings.ExperimentalFeatures)\n- [4.12.2](/php/docs/reference/common-protos/4.12.2/Api.PythonSettings.ExperimentalFeatures)\n- [4.11.0](/php/docs/reference/common-protos/4.11.0/Api.PythonSettings.ExperimentalFeatures)\n- [4.10.0](/php/docs/reference/common-protos/4.10.0/Api.PythonSettings.ExperimentalFeatures)\n- [4.9.0](/php/docs/reference/common-protos/4.9.0/Api.PythonSettings.ExperimentalFeatures)\n- [4.8.3](/php/docs/reference/common-protos/4.8.3/Api.PythonSettings.ExperimentalFeatures) \nReference documentation and code samples for the Google API Common Protos Client class ExperimentalFeatures.\n\nExperimental features to be included during client library generation.\n\nThese fields will be deprecated once the feature graduates and is enabled\nby default.\n\nGenerated from protobuf message `google.api.PythonSettings.ExperimentalFeatures`\n\nNamespace\n---------\n\nGoogle \\\\ Api \\\\ PythonSettings\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getRestAsyncIoEnabled\n\nEnables generation of asynchronous REST clients if `rest` transport is\nenabled. By default, asynchronous REST clients will not be generated.\n\nThis feature will be enabled by default 1 month after launching the\nfeature in preview packages.\n\n### setRestAsyncIoEnabled\n\nEnables generation of asynchronous REST clients if `rest` transport is\nenabled. By default, asynchronous REST clients will not be generated.\n\nThis feature will be enabled by default 1 month after launching the\nfeature in preview packages.\n\n### getProtobufPythonicTypesEnabled\n\nEnables generation of protobuf code using new types that are more\nPythonic which are included in `protobuf\u003e=5.29.x`. This feature will be\nenabled by default 1 month after launching the feature in preview\npackages.\n\n### setProtobufPythonicTypesEnabled\n\nEnables generation of protobuf code using new types that are more\nPythonic which are included in `protobuf\u003e=5.29.x`. This feature will be\nenabled by default 1 month after launching the feature in preview\npackages.\n\n### getUnversionedPackageDisabled\n\nDisables generation of an unversioned Python package for this client\nlibrary. This means that the module names will need to be versioned in\nimport statements. For example `import google.cloud.library_v2` instead\nof `import google.cloud.library`.\n\n### setUnversionedPackageDisabled\n\nDisables generation of an unversioned Python package for this client\nlibrary. This means that the module names will need to be versioned in\nimport statements. For example `import google.cloud.library_v2` instead\nof `import google.cloud.library`."]]