public sealed class Schema : IMessage<Schema>, IEquatable<Schema>, IDeepCloneable<Schema>, IBufferMessage, IMessageReference documentation and code samples for the Cloud Pub/Sub v1 API class Schema.
A schema resource.
Namespace
Google.Cloud.PubSub.V1Assembly
Google.Cloud.PubSub.V1.dll
Constructors
Schema()
public Schema()Schema(Schema)
public Schema(Schema other)| Parameter | |
|---|---|
| Name | Description |
other |
Schema |
Properties
CompiledProtoSchema
public CompiledProtoSchema CompiledProtoSchema { get; set; }Optional. Configuration for a schema provided as a pre-compiled Protocol
Buffer FileDescriptorSet. The type field above must be set to
PROTOCOL_BUFFER.
| Property Value | |
|---|---|
| Type | Description |
CompiledProtoSchema |
|
ConfigurationCase
public Schema.ConfigurationOneofCase ConfigurationCase { get; }| Property Value | |
|---|---|
| Type | Description |
SchemaConfigurationOneofCase |
|
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 | |
|---|---|
| Type | Description |
string |
|
Name
public string Name { get; set; }Required. Name of the schema.
Format is projects/{project}/schemas/{schema}.
| Property Value | |
|---|---|
| Type | Description |
string |
|
RevisionCreateTime
public Timestamp RevisionCreateTime { get; set; }Output only. The timestamp that the revision was created.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|
RevisionId
public string RevisionId { get; set; }Output only. Immutable. The revision ID of the schema.
| Property Value | |
|---|---|
| Type | Description |
string |
|
SchemaName
public SchemaName SchemaName { get; set; }SchemaName-typed view over the Name resource name property.
| Property Value | |
|---|---|
| Type | Description |
SchemaName |
|
Type
public Schema.Types.Type Type { get; set; }The type of the schema definition.
| Property Value | |
|---|---|
| Type | Description |
SchemaTypesType |
|