# Managed Service for Apache Kafka V1 API - Class Google::Cloud::ManagedKafka::SchemaRegistry::V1::UpdateSchemaConfigRequest (v0.5.0)

0.5.0 (latest) 0.4.0 0.3.0 0.2.1 0.1.0 Reference documentation and code samples for the Managed Service for Apache Kafka V1 API class Google::Cloud::ManagedKafka::SchemaRegistry::V1::UpdateSchemaConfigRequest.

Request for updating schema config.
On a SchemaSubject-level SchemaConfig, an unset field will be removed from
the SchemaConfig.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #compatibility

    def compatibility() -> ::Google::Cloud::ManagedKafka::SchemaRegistry::V1::SchemaConfig::CompatibilityType

**Returns**

- ([::Google::Cloud::ManagedKafka::SchemaRegistry::V1::SchemaConfig::CompatibilityType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-managed_kafka-schema_registry-v1/latest/Google-Cloud-ManagedKafka-SchemaRegistry-V1-SchemaConfig-CompatibilityType)) --- Required. The compatibility type of the schemas. Cannot be unset for a SchemaRegistry-level SchemaConfig. If unset on a SchemaSubject-level SchemaConfig, removes the compatibility field for the SchemaConfig.

### #compatibility=

    def compatibility=(value) -> ::Google::Cloud::ManagedKafka::SchemaRegistry::V1::SchemaConfig::CompatibilityType

**Parameter**

- **value** ([::Google::Cloud::ManagedKafka::SchemaRegistry::V1::SchemaConfig::CompatibilityType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-managed_kafka-schema_registry-v1/latest/Google-Cloud-ManagedKafka-SchemaRegistry-V1-SchemaConfig-CompatibilityType)) --- Required. The compatibility type of the schemas. Cannot be unset for a SchemaRegistry-level SchemaConfig. If unset on a SchemaSubject-level SchemaConfig, removes the compatibility field for the SchemaConfig.
**Returns**

- ([::Google::Cloud::ManagedKafka::SchemaRegistry::V1::SchemaConfig::CompatibilityType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-managed_kafka-schema_registry-v1/latest/Google-Cloud-ManagedKafka-SchemaRegistry-V1-SchemaConfig-CompatibilityType)) --- Required. The compatibility type of the schemas. Cannot be unset for a SchemaRegistry-level SchemaConfig. If unset on a SchemaSubject-level SchemaConfig, removes the compatibility field for the SchemaConfig.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Required. The resource name to update the config for. It can be either of
  following:

  - projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/config: Update config at global level.
  - projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/config/{subject}: Update config for a specific subject.

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) ---

  Required. The resource name to update the config for. It can be either of
  following:
  - projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/config: Update config at global level.
  - projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/config/{subject}: Update config for a specific subject.
**Returns**

- (::String) --- Required. The resource name to update the config for. It can be either of
  following:

  - projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/config: Update config at global level.
  - projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/config/{subject}: Update config for a specific subject.

### #normalize

    def normalize() -> ::Boolean

**Returns**

- (::Boolean) --- Optional. If true, the schema will be normalized before being stored or looked up. The default is false. Cannot be unset for a SchemaRegistry-level SchemaConfig. If unset on a SchemaSubject-level SchemaConfig, removes the normalize field for the SchemaConfig.

### #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. Cannot be unset for a SchemaRegistry-level SchemaConfig. If unset on a SchemaSubject-level SchemaConfig, removes the normalize field for the SchemaConfig.
**Returns**

- (::Boolean) --- Optional. If true, the schema will be normalized before being stored or looked up. The default is false. Cannot be unset for a SchemaRegistry-level SchemaConfig. If unset on a SchemaSubject-level SchemaConfig, removes the normalize field for the SchemaConfig.