Class: Google::Api::PythonSettings
- Inherits:
-
Object
- Object
- Google::Api::PythonSettings
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/api/client.rb
Overview
Settings for Python client libraries.
Defined Under Namespace
Classes: ExperimentalFeatures
Instance Attribute Summary collapse
-
#common ⇒ ::Google::Api::CommonLanguageSettings
Some settings.
-
#experimental_features ⇒ ::Google::Api::PythonSettings::ExperimentalFeatures
Experimental features to be included during client library generation.
Instance Attribute Details
#common ⇒ ::Google::Api::CommonLanguageSettings
Returns Some settings.
222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 |
# File 'proto_docs/google/api/client.rb', line 222 class PythonSettings include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Experimental features to be included during client library generation. # These fields will be deprecated once the feature graduates and is enabled # by default. # @!attribute [rw] rest_async_io_enabled # @return [::Boolean] # 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. # @!attribute [rw] protobuf_pythonic_types_enabled # @return [::Boolean] # 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. # @!attribute [rw] unversioned_package_disabled # @return [::Boolean] # 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`. class ExperimentalFeatures include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#experimental_features ⇒ ::Google::Api::PythonSettings::ExperimentalFeatures
Returns Experimental features to be included during client library generation.
222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 |
# File 'proto_docs/google/api/client.rb', line 222 class PythonSettings include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Experimental features to be included during client library generation. # These fields will be deprecated once the feature graduates and is enabled # by default. # @!attribute [rw] rest_async_io_enabled # @return [::Boolean] # 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. # @!attribute [rw] protobuf_pythonic_types_enabled # @return [::Boolean] # 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. # @!attribute [rw] unversioned_package_disabled # @return [::Boolean] # 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`. class ExperimentalFeatures include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |