Reference documentation and code samples for the Managed Service for Apache Kafka V1 API class Google::Cloud::ManagedKafka::SchemaRegistry::V1::Schema.
Schema for a Kafka message.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#references
def references() -> ::Array<::Google::Cloud::ManagedKafka::SchemaRegistry::V1::Schema::SchemaReference>
Returns
- (::Array<::Google::Cloud::ManagedKafka::SchemaRegistry::V1::Schema::SchemaReference>) — Optional. The schema references used by the schema.
#references=
def references=(value) -> ::Array<::Google::Cloud::ManagedKafka::SchemaRegistry::V1::Schema::SchemaReference>
Parameter
- value (::Array<::Google::Cloud::ManagedKafka::SchemaRegistry::V1::Schema::SchemaReference>) — Optional. The schema references used by the schema.
Returns
- (::Array<::Google::Cloud::ManagedKafka::SchemaRegistry::V1::Schema::SchemaReference>) — Optional. The schema references used by the schema.
#schema_payload
def schema_payload() -> ::String
Returns
- (::String) — The schema payload.
#schema_payload=
def schema_payload=(value) -> ::String
Parameter
- value (::String) — The schema payload.
Returns
- (::String) — The schema payload.
#schema_type
def schema_type() -> ::Google::Cloud::ManagedKafka::SchemaRegistry::V1::Schema::SchemaType
Returns
- (::Google::Cloud::ManagedKafka::SchemaRegistry::V1::Schema::SchemaType) — Optional. The schema type of the schema.
#schema_type=
def schema_type=(value) -> ::Google::Cloud::ManagedKafka::SchemaRegistry::V1::Schema::SchemaType
Parameter
- value (::Google::Cloud::ManagedKafka::SchemaRegistry::V1::Schema::SchemaType) — Optional. The schema type of the schema.
Returns
- (::Google::Cloud::ManagedKafka::SchemaRegistry::V1::Schema::SchemaType) — Optional. The schema type of the schema.