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

Request for LookupVersion.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #deleted

    def deleted() -> ::Boolean

**Returns**

- (::Boolean) --- Optional. If true, soft-deleted versions will be included in lookup, no matter if the subject is active or soft-deleted. If false, soft-deleted versions will be excluded. The default is false.

### #deleted=

    def deleted=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Optional. If true, soft-deleted versions will be included in lookup, no matter if the subject is active or soft-deleted. If false, soft-deleted versions will be excluded. The default is false.
**Returns**

- (::Boolean) --- Optional. If true, soft-deleted versions will be included in lookup, no matter if the subject is active or soft-deleted. If false, soft-deleted versions will be excluded. The default is false.

### #normalize

    def normalize() -> ::Boolean

**Returns**

- (::Boolean) --- Optional. If true, the schema will be normalized before being looked up. The default is false.

### #normalize=

    def normalize=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Optional. If true, the schema will be normalized before being looked up. The default is false.
**Returns**

- (::Boolean) --- Optional. If true, the schema will be normalized before being looked up. The default is false.

### #parent

    def parent() -> ::String

**Returns**

- (::String) --- Required. The subject to lookup the schema in. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}` or `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}`

### #parent=

    def parent=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The subject to lookup the schema in. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}` or `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}`
**Returns**

- (::String) --- Required. The subject to lookup the schema in. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}` or `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}`

### #references

    def references() -> ::Array<::Google::Cloud::ManagedKafka::SchemaRegistry::V1::Schema::SchemaReference>

**Returns**

- (::Array\<[::Google::Cloud::ManagedKafka::SchemaRegistry::V1::Schema::SchemaReference](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-managed_kafka-schema_registry-v1/latest/Google-Cloud-ManagedKafka-SchemaRegistry-V1-Schema-SchemaReference)\>) --- Optional. The schema references used by the schema.

### #references=

    def references=(value) -> ::Array<::Google::Cloud::ManagedKafka::SchemaRegistry::V1::Schema::SchemaReference>

**Parameter**

- **value** (::Array\<[::Google::Cloud::ManagedKafka::SchemaRegistry::V1::Schema::SchemaReference](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-managed_kafka-schema_registry-v1/latest/Google-Cloud-ManagedKafka-SchemaRegistry-V1-Schema-SchemaReference)\>) --- Optional. The schema references used by the schema.
**Returns**

- (::Array\<[::Google::Cloud::ManagedKafka::SchemaRegistry::V1::Schema::SchemaReference](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-managed_kafka-schema_registry-v1/latest/Google-Cloud-ManagedKafka-SchemaRegistry-V1-Schema-SchemaReference)\>) --- Optional. The schema references used by the schema.

### #schema

    def schema() -> ::String

**Returns**

- (::String) --- Required. The schema payload

### #schema=

    def schema=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The schema payload
**Returns**

- (::String) --- Required. The schema payload

### #schema_type

    def schema_type() -> ::Google::Cloud::ManagedKafka::SchemaRegistry::V1::Schema::SchemaType

**Returns**

- ([::Google::Cloud::ManagedKafka::SchemaRegistry::V1::Schema::SchemaType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-managed_kafka-schema_registry-v1/latest/Google-Cloud-ManagedKafka-SchemaRegistry-V1-Schema-SchemaType)) --- Optional. The schema type of the schema.

### #schema_type=

    def schema_type=(value) -> ::Google::Cloud::ManagedKafka::SchemaRegistry::V1::Schema::SchemaType

**Parameter**

- **value** ([::Google::Cloud::ManagedKafka::SchemaRegistry::V1::Schema::SchemaType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-managed_kafka-schema_registry-v1/latest/Google-Cloud-ManagedKafka-SchemaRegistry-V1-Schema-SchemaType)) --- Optional. The schema type of the schema.
**Returns**

- ([::Google::Cloud::ManagedKafka::SchemaRegistry::V1::Schema::SchemaType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-managed_kafka-schema_registry-v1/latest/Google-Cloud-ManagedKafka-SchemaRegistry-V1-Schema-SchemaType)) --- Optional. The schema type of the schema.