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

SchemaRegistry is a schema registry instance.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #contexts

    def contexts() -> ::Array<::String>

**Returns**

- (::Array\<::String\>) --- Output only. The contexts of the schema registry instance.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Identifier. The name of the schema registry instance. Structured like:
  `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}`
  The instance name {schema_registry} can contain the following:

  - Up to 255 characters.
  - Letters (uppercase or lowercase), numbers, and underscores.

### #name=

    def name=(value) -> ::String

**Parameter**

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

  Identifier. The name of the schema registry instance. Structured like:
  `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}`
  The instance name {schema_registry} can contain the following:
  - Up to 255 characters.
  - Letters (uppercase or lowercase), numbers, and underscores.
**Returns**

- (::String) --- Identifier. The name of the schema registry instance. Structured like:
  `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}`
  The instance name {schema_registry} can contain the following:

  - Up to 255 characters.
  - Letters (uppercase or lowercase), numbers, and underscores.