Class: Google::Cloud::ManagedKafka::SchemaRegistry::V1::SchemaSubject
- Inherits:
-
Object
- Object
- Google::Cloud::ManagedKafka::SchemaRegistry::V1::SchemaSubject
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/managedkafka/schemaregistry/v1/schema_registry_resources.rb
Overview
Subject defines the evolution scope of schemas as a holder of schema versions.
Instance Attribute Summary collapse
-
#name ⇒ ::String
The name of the subject.
-
#versions ⇒ ::Array<::String>
The versions of the subject.
Instance Attribute Details
#name ⇒ ::String
Returns The name of the subject. Structured like:
projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}
or
projects/{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~.
120 121 122 123 |
# File 'proto_docs/google/cloud/managedkafka/schemaregistry/v1/schema_registry_resources.rb', line 120 class SchemaSubject include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#versions ⇒ ::Array<::String>
Returns The versions of the subject.
120 121 122 123 |
# File 'proto_docs/google/cloud/managedkafka/schemaregistry/v1/schema_registry_resources.rb', line 120 class SchemaSubject include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |