Managed Service for Apache Kafka V1 API - Class Google::Cloud::ManagedKafka::SchemaRegistry::V1::UpdateSchemaConfigRequest (v0.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

#compatibility=

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

#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.