public sealed class VersionMetadata : IMessage<VersionMetadata>, IEquatable<VersionMetadata>, IDeepCloneable<VersionMetadata>, IBufferMessage, IMessage
Reference documentation and code samples for the API hub v1 API class VersionMetadata.
The metadata associated with a version of the API resource.
Implements
IMessageVersionMetadata, IEquatableVersionMetadata, IDeepCloneableVersionMetadata, IBufferMessage, IMessageNamespace
Google.Cloud.ApiHub.V1Assembly
Google.Cloud.ApiHub.V1.dll
Constructors
VersionMetadata()
public VersionMetadata()
VersionMetadata(VersionMetadata)
public VersionMetadata(VersionMetadata other)
Parameter | |
---|---|
Name | Description |
other |
VersionMetadata |
Properties
Deployments
public RepeatedField<DeploymentMetadata> Deployments { get; }
Optional. The deployments linked to this API version. Note: A particular API version could be deployed to multiple deployments (for dev deployment, UAT deployment, etc.)
Property Value | |
---|---|
Type | Description |
RepeatedFieldDeploymentMetadata |
OriginalCreateTime
public Timestamp OriginalCreateTime { get; set; }
Optional. Timestamp indicating when the version was created at the source.
Property Value | |
---|---|
Type | Description |
Timestamp |
OriginalId
public string OriginalId { get; set; }
Optional. The unique identifier of the version in the system where it was originally created.
Property Value | |
---|---|
Type | Description |
string |
OriginalUpdateTime
public Timestamp OriginalUpdateTime { get; set; }
Required. Timestamp indicating when the version was last updated at the source.
Property Value | |
---|---|
Type | Description |
Timestamp |
Specs
public RepeatedField<SpecMetadata> Specs { get; }
Optional. The specs associated with this version. Note that an API version can be associated with multiple specs.
Property Value | |
---|---|
Type | Description |
RepeatedFieldSpecMetadata |
Version
public Version Version { get; set; }
Required. Represents a version of the API resource in API hub. The ID of the version will be generated by Hub.
Property Value | |
---|---|
Type | Description |
Version |