Class SchemaSettings (2.3.0)

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

Settings for validating messages published against a schema.

Inheritance

System.Object > SchemaSettings

Implements

Google.Protobuf.IMessage<SchemaSettings>, System.IEquatable<SchemaSettings>, Google.Protobuf.IDeepCloneable<SchemaSettings>, Google.Protobuf.IBufferMessage, Google.Protobuf.IMessage

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
System.String

SchemaAsSchemaName

public SchemaName SchemaAsSchemaName { get; set; }

SchemaName-typed view over the Schema resource name property.

Property Value
TypeDescription
SchemaName