Show / Hide Table of Contents

Class Schema

A schema resource.

Inheritance
object
Schema
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 Schema : IDirectResponseSchema

Properties

Definition

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.

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

ETag

The ETag of the item.

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

Name

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

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

RevisionCreateTime

object representation of RevisionCreateTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use RevisionCreateTimeDateTimeOffset instead.")]
public virtual object RevisionCreateTime { get; set; }
Property Value
Type Description
object

RevisionCreateTimeDateTimeOffset

DateTimeOffset representation of RevisionCreateTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? RevisionCreateTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

RevisionCreateTimeRaw

Output only. The timestamp that the revision was created.

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

RevisionId

Output only. Immutable. The revision ID of the schema.

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

Type

The type of the schema definition.

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

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX