Reference documentation and code samples for the Google Cloud Managed Kafka Schema Registry V1 Client class SchemaRegistry.
SchemaRegistry is a schema registry instance.
Generated from protobuf message google.cloud.managedkafka.schemaregistry.v1.SchemaRegistry
Namespace
Google \ Cloud \ ManagedKafka \ SchemaRegistry \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Identifier. The name of the schema registry instance. Structured like: |
↳ contexts |
array
Output only. The contexts of the schema registry instance. |
getName
Identifier. The name of the schema registry instance. Structured like:
projects/{project}/locations/{location}/schemaRegistries/{schema_registry}
The instance name {schema_registry} can contain the following:
Up to 255 characters.
Letters (uppercase or lowercase), numbers, and underscores.
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Identifier. The name of the schema registry instance. Structured like:
projects/{project}/locations/{location}/schemaRegistries/{schema_registry}
The instance name {schema_registry} can contain the following:
Up to 255 characters.
Letters (uppercase or lowercase), numbers, and underscores.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getContexts
Output only. The contexts of the schema registry instance.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setContexts
Output only. The contexts of the schema registry instance.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|