Reference documentation and code samples for the Managed Service for Apache Kafka V1 API class Google::Cloud::ManagedKafka::SchemaRegistry::V1::SchemaConfig.
SchemaConfig represents configuration for a schema registry or a specific subject.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#alias
def alias() -> ::String
Returns
- (::String) — Optional. The subject to which this subject is an alias of. Only applicable for subject config.
#alias=
def alias=(value) -> ::String
Parameter
- value (::String) — Optional. The subject to which this subject is an alias of. Only applicable for subject config.
Returns
- (::String) — Optional. The subject to which this subject is an alias of. Only applicable for subject config.
#compatibility
def compatibility() -> ::Google::Cloud::ManagedKafka::SchemaRegistry::V1::SchemaConfig::CompatibilityType
Returns
- (::Google::Cloud::ManagedKafka::SchemaRegistry::V1::SchemaConfig::CompatibilityType) — Required. The compatibility type of the schema. The default value is BACKWARD. If unset in a SchemaSubject-level SchemaConfig, defaults to the global value. If unset in a SchemaRegistry-level SchemaConfig, reverts to the default value.
#compatibility=
def compatibility=(value) -> ::Google::Cloud::ManagedKafka::SchemaRegistry::V1::SchemaConfig::CompatibilityType
Parameter
- value (::Google::Cloud::ManagedKafka::SchemaRegistry::V1::SchemaConfig::CompatibilityType) — Required. The compatibility type of the schema. The default value is BACKWARD. If unset in a SchemaSubject-level SchemaConfig, defaults to the global value. If unset in a SchemaRegistry-level SchemaConfig, reverts to the default value.
Returns
- (::Google::Cloud::ManagedKafka::SchemaRegistry::V1::SchemaConfig::CompatibilityType) — Required. The compatibility type of the schema. The default value is BACKWARD. If unset in a SchemaSubject-level SchemaConfig, defaults to the global value. If unset in a SchemaRegistry-level SchemaConfig, reverts to the default value.
#normalize
def normalize() -> ::Boolean
Returns
- (::Boolean) — Optional. If true, the schema will be normalized before being stored or looked up. The default is false. If unset in a SchemaSubject-level SchemaConfig, the global value will be used. If unset in a SchemaRegistry-level SchemaConfig, reverts to the default value.
#normalize=
def normalize=(value) -> ::Boolean
Parameter
- value (::Boolean) — Optional. If true, the schema will be normalized before being stored or looked up. The default is false. If unset in a SchemaSubject-level SchemaConfig, the global value will be used. If unset in a SchemaRegistry-level SchemaConfig, reverts to the default value.
Returns
- (::Boolean) — Optional. If true, the schema will be normalized before being stored or looked up. The default is false. If unset in a SchemaSubject-level SchemaConfig, the global value will be used. If unset in a SchemaRegistry-level SchemaConfig, reverts to the default value.