Class: Google::Apis::ServicenetworkingV1::ExperimentalFeatures
- Inherits:
-
Object
- Object
- Google::Apis::ServicenetworkingV1::ExperimentalFeatures
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/servicenetworking_v1/classes.rb,
lib/google/apis/servicenetworking_v1/representations.rb,
lib/google/apis/servicenetworking_v1/representations.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
-
#rest_async_io_enabled ⇒ Boolean
(also: #rest_async_io_enabled?)
Enables generation of asynchronous REST clients if
rest
transport is enabled.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ExperimentalFeatures
constructor
A new instance of ExperimentalFeatures.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ExperimentalFeatures
Returns a new instance of ExperimentalFeatures.
1982 1983 1984 |
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 1982 def initialize(**args) update!(**args) end |
Instance Attribute Details
#rest_async_io_enabled ⇒ Boolean Also known as: rest_async_io_enabled?
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.
Corresponds to the JSON property restAsyncIoEnabled
1979 1980 1981 |
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 1979 def rest_async_io_enabled @rest_async_io_enabled end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1987 1988 1989 |
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 1987 def update!(**args) @rest_async_io_enabled = args[:rest_async_io_enabled] if args.key?(:rest_async_io_enabled) end |