SDK reference / Models

Models.Packages namespace

Types

TypeKindDescription
ApplyRetentionResponseclassWhat a retention run did.
FeedPackageclassOne package in a feed.
FeedPackageVersionclassOne file of one version of a package.
FeedTokenclassA feed token: one feed, `read` or `publish`, expiring, revocable. Only its hash is stored.
FeedTokenCreateclassA feed token: one feed, `read` or `publish`, expiring, revocable. Only its hash is stored.
FeedTokenCreatedclassA feed token as the call that creates it returns it: with the token itself, shown this once and never again.
PackageFeedclassA private package feed (`projects/{p}/locations/{l}/packageFeeds/{f}`): one ecosystem, private only, versions immutable unless switched off.The same row as a registry repository of the same ID; deleting it deletes both.
PackageFeedUpdateclassThe fields of a feed an update may change (immutability off needs `roles/owner`, and a reason).
PackageFeedUsageclassThe feed's use of its limits.
PackageFeed_annotationsclassAt most 256 KiB in all; never policy input.
PackageFeed_ecosystemenumNUGET, NPM or PYPI. Fixed at creation.
PackageFeed_labelsclassAt most 64.
PackageRetentionclassWhich non-release versions retention removes. A release version is never removed by retention (ADR-0786 item 8).
PackageUpstreamclassThe one public registry a feed may pull through from (ADR-0786 item 9): the host is fixed by the feed's ecosystem and never customer-supplied.