Reference documentation and code samples for the Google Cloud Managed Kafka Schema Registry V1 Client class Context.
Context represents an independent schema grouping in a schema registry instance.
Generated from protobuf message google.cloud.managedkafka.schemaregistry.v1.Context
Namespace
Google \ Cloud \ ManagedKafka \ SchemaRegistry \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
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
array
Optional. The subjects of the context.
getName
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~
.
string
setName
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~
.
var
string
$this
getSubjects
Optional. The subjects of the context.
setSubjects
Optional. The subjects of the context.
var
string[]
$this