public sealed class SchemaSettings : IMessage<SchemaSettings>, IEquatable<SchemaSettings>, IDeepCloneable<SchemaSettings>, IBufferMessage, IMessageSettings for validating messages published against a schema.
Inheritance
System.Object > SchemaSettingsImplements
Google.Protobuf.IMessage<SchemaSettings>, System.IEquatable<SchemaSettings>, Google.Protobuf.IDeepCloneable<SchemaSettings>, Google.Protobuf.IBufferMessage, Google.Protobuf.IMessageNamespace
Google.Cloud.PubSub.V1Assembly
Google.Cloud.PubSub.V1.dll
Constructors
SchemaSettings()
public SchemaSettings()SchemaSettings(SchemaSettings)
public SchemaSettings(SchemaSettings other)| Parameter | |
|---|---|
| Name | Description |
other |
SchemaSettings |
Properties
Encoding
public Encoding Encoding { get; set; }The encoding of messages validated against schema.
| Property Value | |
|---|---|
| Type | Description |
Encoding |
|
Schema
public string Schema { get; set; }Required. The name of the schema that messages published should be
validated against. Format is projects/{project}/schemas/{schema}. The
value of this field will be _deleted-schema_ if the schema has been
deleted.
| Property Value | |
|---|---|
| Type | Description |
System.String |
|
SchemaAsSchemaName
public SchemaName SchemaAsSchemaName { get; set; }SchemaName-typed view over the Schema resource name property.
| Property Value | |
|---|---|
| Type | Description |
SchemaName |
|