API hub v1 API - Class Schema (1.0.0-beta01)

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

Reference documentation and code samples for the API hub v1 API class Schema.

The schema details derived from the spec. Currently, this entity is supported for OpenAPI spec only. For OpenAPI spec, this maps to the schema defined in the definitions section for OpenAPI 2.0 version and in components.schemas section for OpenAPI 3.0 and 3.1 version.

Inheritance

object > Schema

Namespace

Google.Cloud.ApiHub.V1

Assembly

Google.Cloud.ApiHub.V1.dll

Constructors

Schema()

public Schema()

Schema(Schema)

public Schema(Schema other)
Parameter
Name Description
other Schema

Properties

DisplayName

public string DisplayName { get; set; }

Output only. The display name of the schema. This will map to the name of the schema in the spec.

Property Value
Type Description
string

RawValue

public ByteString RawValue { get; set; }

Output only. The raw value of the schema definition corresponding to the schema name in the spec.

Property Value
Type Description
ByteString