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

Request to create a schema registry instance.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #parent

    def parent() -> ::String

**Returns**

- (::String) --- Required. The parent whose schema registry instance is to be created. Structured like: `projects/{project}/locations/{location}`

### #parent=

    def parent=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The parent whose schema registry instance is to be created. Structured like: `projects/{project}/locations/{location}`
**Returns**

- (::String) --- Required. The parent whose schema registry instance is to be created. Structured like: `projects/{project}/locations/{location}`

### #schema_registry

    def schema_registry() -> ::Google::Cloud::ManagedKafka::SchemaRegistry::V1::SchemaRegistry

**Returns**

- ([::Google::Cloud::ManagedKafka::SchemaRegistry::V1::SchemaRegistry](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-managed_kafka-schema_registry-v1/latest/Google-Cloud-ManagedKafka-SchemaRegistry-V1-SchemaRegistry)) --- Required. The schema registry instance to create. The name field is ignored.

### #schema_registry=

    def schema_registry=(value) -> ::Google::Cloud::ManagedKafka::SchemaRegistry::V1::SchemaRegistry

**Parameter**

- **value** ([::Google::Cloud::ManagedKafka::SchemaRegistry::V1::SchemaRegistry](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-managed_kafka-schema_registry-v1/latest/Google-Cloud-ManagedKafka-SchemaRegistry-V1-SchemaRegistry)) --- Required. The schema registry instance to create. The name field is ignored.
**Returns**

- ([::Google::Cloud::ManagedKafka::SchemaRegistry::V1::SchemaRegistry](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-managed_kafka-schema_registry-v1/latest/Google-Cloud-ManagedKafka-SchemaRegistry-V1-SchemaRegistry)) --- Required. The schema registry instance to create. The name field is ignored.

### #schema_registry_id

    def schema_registry_id() -> ::String

**Returns**

- (::String) --- Required. The schema registry instance ID to use for this schema registry. The ID must contain only letters (a-z, A-Z), numbers (0-9), and underscores (-). The maximum length is 63 characters. The ID must not start with a number.

### #schema_registry_id=

    def schema_registry_id=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The schema registry instance ID to use for this schema registry. The ID must contain only letters (a-z, A-Z), numbers (0-9), and underscores (-). The maximum length is 63 characters. The ID must not start with a number.
**Returns**

- (::String) --- Required. The schema registry instance ID to use for this schema registry. The ID must contain only letters (a-z, A-Z), numbers (0-9), and underscores (-). The maximum length is 63 characters. The ID must not start with a number.