Managed Service for Apache Kafka V1 API - Class Google::Cloud::ManagedKafka::SchemaRegistry::V1::Context (v0.1.0)

Reference documentation and code samples for the Managed Service for Apache Kafka V1 API class Google::Cloud::ManagedKafka::SchemaRegistry::V1::Context.

Context represents an independent schema grouping in a schema registry instance.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#name

def name() -> ::String
Returns
  • (::String) —

    Identifier. The name of the context. Structured like: projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context} The context name {context} can contain the following:

    • Up to 255 characters.
    • Allowed characters: letters (uppercase or lowercase), numbers, and the following special characters: ., -, _, +, %, and ~.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) —

    Identifier. The name of the context. Structured like: projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context} The context name {context} can contain the following:

    • Up to 255 characters.
    • Allowed characters: letters (uppercase or lowercase), numbers, and the following special characters: ., -, _, +, %, and ~.
Returns
  • (::String) —

    Identifier. The name of the context. Structured like: projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context} The context name {context} can contain the following:

    • Up to 255 characters.
    • Allowed characters: letters (uppercase or lowercase), numbers, and the following special characters: ., -, _, +, %, and ~.

#subjects

def subjects() -> ::Array<::String>
Returns
  • (::Array<::String>) — Optional. The subjects of the context.

#subjects=

def subjects=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Optional. The subjects of the context.
Returns
  • (::Array<::String>) — Optional. The subjects of the context.