public sealed class SpecMetadata : IMessage<SpecMetadata>, IEquatable<SpecMetadata>, IDeepCloneable<SpecMetadata>, IBufferMessage, IMessageReference documentation and code samples for the API hub v1 API class SpecMetadata.
The metadata associated with a spec of the API version.
Implements
IMessageSpecMetadata, IEquatableSpecMetadata, IDeepCloneableSpecMetadata, IBufferMessage, IMessageNamespace
Google.Cloud.ApiHub.V1Assembly
Google.Cloud.ApiHub.V1.dll
Constructors
SpecMetadata()
public SpecMetadata()SpecMetadata(SpecMetadata)
public SpecMetadata(SpecMetadata other)| Parameter | |
|---|---|
| Name | Description |
other |
SpecMetadata |
Properties
OriginalCreateTime
public Timestamp OriginalCreateTime { get; set; }Optional. Timestamp indicating when the spec was created at the source.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|
OriginalId
public string OriginalId { get; set; }Optional. The unique identifier of the spec in the system where it was originally created.
| Property Value | |
|---|---|
| Type | Description |
string |
|
OriginalUpdateTime
public Timestamp OriginalUpdateTime { get; set; }Required. Timestamp indicating when the spec was last updated at the source.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|
Spec
public Spec Spec { get; set; }Required. The spec resource to be pushed to Hub's collect layer. The ID of the spec will be generated by Hub.
| Property Value | |
|---|---|
| Type | Description |
Spec |
|