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 \ PythonSettingsMethods
__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 |
↳ protobuf_pythonic_types_enabled |
bool
Enables generation of protobuf code using new types that are more Pythonic which are included in |
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 |