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

Request for getting config.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #default_to_global

    def default_to_global() -> ::Boolean

**Returns**

- (::Boolean) --- Optional. If true, the config will fall back to the config at the global level if no subject level config is found.

### #default_to_global=

    def default_to_global=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Optional. If true, the config will fall back to the config at the global level if no subject level config is found.
**Returns**

- (::Boolean) --- Optional. If true, the config will fall back to the config at the global level if no subject level config is found.

### #name

    def name() -> ::String

**Returns**

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

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

### #name=

    def name=(value) -> ::String

**Parameter**

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

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

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

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