API hub v1 API - Class SpecMetadata (1.3.0)

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

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

The metadata associated with a spec of the API version.

Inheritance

object > SpecMetadata

Namespace

Google.Cloud.ApiHub.V1

Assembly

Google.Cloud.ApiHub.V1.dll

Constructors

SpecMetadata()

public SpecMetadata()

SpecMetadata(SpecMetadata)

public SpecMetadata(SpecMetadata other)
Parameter
Name Description
other SpecMetadata

Properties

DeploymentResourceUris

public RepeatedField<string> DeploymentResourceUris { get; }

Optional. The gateway-side URIs of deployments that serve this spec. If provided, the API Hub service creates links between this spec and the deployments identified by these URIs. URIs that don't match any known deployment are ignored; a subsequent ingestion cycle that includes the missing deployment will re-establish the link. The maximum number of URIs allowed is 100.

Property Value
Type Description
RepeatedFieldstring

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