Class: Google::Api::PythonSettings::ExperimentalFeatures
- Inherits:
-
Object
- Object
- Google::Api::PythonSettings::ExperimentalFeatures
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/api/client.rb
Overview
Experimental features to be included during client library generation. These fields will be deprecated once the feature graduates and is enabled by default.
Instance Attribute Summary collapse
-
#protobuf_pythonic_types_enabled ⇒ ::Boolean
Enables generation of protobuf code using new types that are more Pythonic which are included in
protobuf>=5.29.x
. -
#rest_async_io_enabled ⇒ ::Boolean
Enables generation of asynchronous REST clients if
rest
transport is enabled. -
#unversioned_package_disabled ⇒ ::Boolean
Disables generation of an unversioned Python package for this client library.
Instance Attribute Details
#protobuf_pythonic_types_enabled ⇒ ::Boolean
Returns 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.
230 231 232 233 |
# File 'proto_docs/google/api/client.rb', line 230 class ExperimentalFeatures include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#rest_async_io_enabled ⇒ ::Boolean
Returns 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.
230 231 232 233 |
# File 'proto_docs/google/api/client.rb', line 230 class ExperimentalFeatures include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#unversioned_package_disabled ⇒ ::Boolean
Returns 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
.
230 231 232 233 |
# File 'proto_docs/google/api/client.rb', line 230 class ExperimentalFeatures include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |