Class: Google::Apis::ManagedkafkaV1::SchemaRegistry
- Inherits:
-
Object
- Object
- Google::Apis::ManagedkafkaV1::SchemaRegistry
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/managedkafka_v1/classes.rb,
lib/google/apis/managedkafka_v1/representations.rb,
lib/google/apis/managedkafka_v1/representations.rb
Overview
SchemaRegistry is a schema registry instance.
Instance Attribute Summary collapse
-
#contexts ⇒ Array<String>
Output only.
-
#name ⇒ String
Identifier.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SchemaRegistry
constructor
A new instance of SchemaRegistry.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SchemaRegistry
Returns a new instance of SchemaRegistry.
1739 1740 1741 |
# File 'lib/google/apis/managedkafka_v1/classes.rb', line 1739 def initialize(**args) update!(**args) end |
Instance Attribute Details
#contexts ⇒ Array<String>
Output only. The contexts of the schema registry instance.
Corresponds to the JSON property contexts
1729 1730 1731 |
# File 'lib/google/apis/managedkafka_v1/classes.rb', line 1729 def contexts @contexts end |
#name ⇒ String
Identifier. The name of the schema registry instance. Structured like:
projects/project/locations/location/schemaRegistries/schema_registry`
The instance nameschema_registrycan contain the following: * Up to 255
characters. * Letters (uppercase or lowercase), numbers, and underscores.
Corresponds to the JSON propertyname`
1737 1738 1739 |
# File 'lib/google/apis/managedkafka_v1/classes.rb', line 1737 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1744 1745 1746 1747 |
# File 'lib/google/apis/managedkafka_v1/classes.rb', line 1744 def update!(**args) @contexts = args[:contexts] if args.key?(:contexts) @name = args[:name] if args.key?(:name) end |