Class SchemaSettings (3.1.0)

public sealed class SchemaSettings : IMessage<SchemaSettings>, IEquatable<SchemaSettings>, IDeepCloneable<SchemaSettings>, IBufferMessage, IMessage

Settings for validating messages published against a schema.

Inheritance

Object > SchemaSettings

Namespace

Google.Cloud.PubSub.V1

Assembly

Google.Cloud.PubSub.V1.dll

Constructors

SchemaSettings()

public SchemaSettings()

SchemaSettings(SchemaSettings)

public SchemaSettings(SchemaSettings other)
Parameter
NameDescription
otherSchemaSettings

Properties

Encoding

public Encoding Encoding { get; set; }

The encoding of messages validated against schema.

Property Value
TypeDescription
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
TypeDescription
String

SchemaAsSchemaName

public SchemaName SchemaAsSchemaName { get; set; }

SchemaName-typed view over the Schema resource name property.

Property Value
TypeDescription
SchemaName