Class SpecMetadata (0.7.2)

SpecMetadata(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The metadata associated with a spec of the API version.

Attributes

Name Description
spec google.cloud.apihub_v1.types.Spec
Required. The spec resource to be pushed to Hub's collect layer. The ID of the spec will be generated by Hub.
original_id str
Optional. The unique identifier of the spec in the system where it was originally created.
original_create_time google.protobuf.timestamp_pb2.Timestamp
Optional. Timestamp indicating when the spec was created at the source.
original_update_time google.protobuf.timestamp_pb2.Timestamp
Required. Timestamp indicating when the spec was last updated at the source.
deployment_resource_uris MutableSequence[str]
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.