Class: Google::Api::PythonSettings

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#common::Google::Api::CommonLanguageSettings



205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
# File 'proto_docs/google/api/client.rb', line 205

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



205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
# File 'proto_docs/google/api/client.rb', line 205

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