Class: Google::Apis::ManagedkafkaV1::UpdateSchemaModeRequest
- Inherits:
-
Object
- Object
- Google::Apis::ManagedkafkaV1::UpdateSchemaModeRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/managedkafka_v1/classes.rb,
lib/google/apis/managedkafka_v1/representations.rb,
lib/google/apis/managedkafka_v1/representations.rb
Overview
Request for updating schema registry or subject mode.
Instance Attribute Summary collapse
-
#mode ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UpdateSchemaModeRequest
constructor
A new instance of UpdateSchemaModeRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UpdateSchemaModeRequest
Returns a new instance of UpdateSchemaModeRequest.
2101 2102 2103 |
# File 'lib/google/apis/managedkafka_v1/classes.rb', line 2101 def initialize(**args) update!(**args) end |
Instance Attribute Details
#mode ⇒ String
Required. The mode type.
Corresponds to the JSON property mode
2099 2100 2101 |
# File 'lib/google/apis/managedkafka_v1/classes.rb', line 2099 def mode @mode end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2106 2107 2108 |
# File 'lib/google/apis/managedkafka_v1/classes.rb', line 2106 def update!(**args) @mode = args[:mode] if args.key?(:mode) end |