Class: Google::Apis::ManagedkafkaV1::CreateSchemaRegistryRequest
- Inherits:
-
Object
- Object
- Google::Apis::ManagedkafkaV1::CreateSchemaRegistryRequest
- 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
Request to create a schema registry instance.
Instance Attribute Summary collapse
-
#schema_registry ⇒ Google::Apis::ManagedkafkaV1::SchemaRegistry
SchemaRegistry is a schema registry instance.
-
#schema_registry_id ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CreateSchemaRegistryRequest
constructor
A new instance of CreateSchemaRegistryRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CreateSchemaRegistryRequest
Returns a new instance of CreateSchemaRegistryRequest.
801 802 803 |
# File 'lib/google/apis/managedkafka_v1/classes.rb', line 801 def initialize(**args) update!(**args) end |
Instance Attribute Details
#schema_registry ⇒ Google::Apis::ManagedkafkaV1::SchemaRegistry
SchemaRegistry is a schema registry instance.
Corresponds to the JSON property schemaRegistry
792 793 794 |
# File 'lib/google/apis/managedkafka_v1/classes.rb', line 792 def schema_registry @schema_registry end |
#schema_registry_id ⇒ String
Required. The schema registry instance ID to use for this schema registry. The
ID must contain only letters (a-z, A-Z), numbers (0-9), and underscores (-).
The maximum length is 63 characters. The ID must not start with a number.
Corresponds to the JSON property schemaRegistryId
799 800 801 |
# File 'lib/google/apis/managedkafka_v1/classes.rb', line 799 def schema_registry_id @schema_registry_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
806 807 808 809 |
# File 'lib/google/apis/managedkafka_v1/classes.rb', line 806 def update!(**args) @schema_registry = args[:schema_registry] if args.key?(:schema_registry) @schema_registry_id = args[:schema_registry_id] if args.key?(:schema_registry_id) end |