Reference documentation and code samples for the Managed Service for Apache Kafka V1 API class Google::Cloud::ManagedKafka::SchemaRegistry::V1::SchemaSubject.
Subject defines the evolution scope of schemas as a holder of schema versions.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#name
def name() -> ::String
-
(::String) —
The name of the subject. Structured like:
projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}
orprojects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}
Subject name {subject} can contain the following:
- Up to 255 UTF-8 bytes.
- Allowed characters: letters (uppercase or lowercase), numbers, and the
following special characters:
.
,-
,_
,+
,%
, and~
.
#name=
def name=(value) -> ::String
-
value (::String) —
The name of the subject. Structured like:
projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}
orprojects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}
Subject name {subject} can contain the following:
- Up to 255 UTF-8 bytes.
- Allowed characters: letters (uppercase or lowercase), numbers, and the
following special characters:
.
,-
,_
,+
,%
, and~
.
-
(::String) —
The name of the subject. Structured like:
projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}
orprojects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}
Subject name {subject} can contain the following:
- Up to 255 UTF-8 bytes.
- Allowed characters: letters (uppercase or lowercase), numbers, and the
following special characters:
.
,-
,_
,+
,%
, and~
.
#versions
def versions() -> ::Array<::String>
- (::Array<::String>) — The versions of the subject.
#versions=
def versions=(value) -> ::Array<::String>
- value (::Array<::String>) — The versions of the subject.
- (::Array<::String>) — The versions of the subject.