public sealed class APIMetadata : IMessage<APIMetadata>, IEquatable<APIMetadata>, IDeepCloneable<APIMetadata>, IBufferMessage, IMessage
Reference documentation and code samples for the API hub v1 API class APIMetadata.
The API metadata.
Implements
IMessageAPIMetadata, IEquatableAPIMetadata, IDeepCloneableAPIMetadata, IBufferMessage, IMessageNamespace
Google.Cloud.ApiHub.V1Assembly
Google.Cloud.ApiHub.V1.dll
Constructors
APIMetadata()
public APIMetadata()
APIMetadata(APIMetadata)
public APIMetadata(APIMetadata other)
Parameter | |
---|---|
Name | Description |
other |
APIMetadata |
Properties
Api
public Api Api { get; set; }
Required. The API resource to be pushed to Hub's collect layer. The ID of the API resource will be generated by Hub to ensure uniqueness across all APIs across systems.
Property Value | |
---|---|
Type | Description |
Api |
OriginalCreateTime
public Timestamp OriginalCreateTime { get; set; }
Optional. Timestamp indicating when the API was created at the source.
Property Value | |
---|---|
Type | Description |
Timestamp |
OriginalId
public string OriginalId { get; set; }
Optional. The unique identifier of the API in the system where it was originally created.
Property Value | |
---|---|
Type | Description |
string |
OriginalUpdateTime
public Timestamp OriginalUpdateTime { get; set; }
Required. Timestamp indicating when the API was last updated at the source.
Property Value | |
---|---|
Type | Description |
Timestamp |
Versions
public RepeatedField<VersionMetadata> Versions { get; }
Optional. The list of versions present in an API resource.
Property Value | |
---|---|
Type | Description |
RepeatedFieldVersionMetadata |