Class Schema (2.3.0)

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

A schema resource.

Inheritance

System.Object > Schema

Implements

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

Namespace

Google.Cloud.PubSub.V1

Assembly

Google.Cloud.PubSub.V1.dll

Constructors

Schema()

public Schema()

Schema(Schema)

public Schema(Schema other)
Parameter
NameDescription
otherSchema

Properties

Definition

public string Definition { get; set; }

The definition of the schema. This should contain a string representing the full definition of the schema that is a valid schema definition of the type specified in type.

Property Value
TypeDescription
System.String

Name

public string Name { get; set; }

Required. Name of the schema. Format is projects/{project}/schemas/{schema}.

Property Value
TypeDescription
System.String

SchemaName

public SchemaName SchemaName { get; set; }

SchemaName-typed view over the Name resource name property.

Property Value
TypeDescription
SchemaName

Type

public Schema.Types.Type Type { get; set; }

The type of the schema definition.

Property Value
TypeDescription
Schema.Types.Type