Class: Google::Cloud::ManagedKafka::SchemaRegistry::V1::SchemaSubject

Inherits:
Object
  • Object
show all
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

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 ~.

Returns:

  • (::String)

    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.

Returns:

  • (::Array<::String>)

    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