Show / Hide Table of Contents

Class SchemaSettings

Settings for validating messages published against a schema.

Inheritance
object
SchemaSettings
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Pubsub.v1.Data
Assembly: Google.Apis.Pubsub.v1.dll
Syntax
public class SchemaSettings : IDirectResponseSchema

Properties

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Encoding

Optional. The encoding of messages validated against schema.

Declaration
[JsonProperty("encoding")]
public virtual string Encoding { get; set; }
Property Value
Type Description
string

FirstRevisionId

Optional. The minimum (inclusive) revision allowed for validating messages. If empty or not present, allow any revision to be validated against last_revision or any revision created before.

Declaration
[JsonProperty("firstRevisionId")]
public virtual string FirstRevisionId { get; set; }
Property Value
Type Description
string

LastRevisionId

Optional. The maximum (inclusive) revision allowed for validating messages. If empty or not present, allow any revision to be validated against first_revision or any revision created after.

Declaration
[JsonProperty("lastRevisionId")]
public virtual string LastRevisionId { get; set; }
Property Value
Type Description
string

Schema

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.

Declaration
[JsonProperty("schema")]
public virtual string Schema { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX