The body of a version resource. A version resource represents a collection of components, such as files and other data. This may correspond to a version in many package management schemes.
The name of the version, for example: projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1. If the package or version ID parts contain slashes, the slashes are escaped.
description
string
Optional. Description of the version, as specified in its metadata.
Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".
Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".
Output only. Repository-specific Metadata stored against this version. The fields returned are defined by the underlying repository-specific resource. Currently, the resources could be: DockerImageMavenArtifact
annotations
map (key: string, value: string)
Optional. Client specified annotations.
An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-13 UTC."],[[["\u003cp\u003eA version resource represents a collection of components, like files and data, within a package management system.\u003c/p\u003e\n"],["\u003cp\u003eThe JSON representation of a version includes fields like \u003ccode\u003ename\u003c/code\u003e, \u003ccode\u003edescription\u003c/code\u003e, \u003ccode\u003ecreateTime\u003c/code\u003e, \u003ccode\u003eupdateTime\u003c/code\u003e, \u003ccode\u003erelatedTags\u003c/code\u003e, \u003ccode\u003emetadata\u003c/code\u003e, and \u003ccode\u003eannotations\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ename\u003c/code\u003e field uniquely identifies a version within a specific project, location, repository, and package, and handles escaped slashes.\u003c/p\u003e\n"],["\u003cp\u003eVersions can be managed through methods like \u003ccode\u003ebatchDelete\u003c/code\u003e, \u003ccode\u003edelete\u003c/code\u003e, \u003ccode\u003eget\u003c/code\u003e, \u003ccode\u003elist\u003c/code\u003e, and \u003ccode\u003epatch\u003c/code\u003e, which enable actions such as deleting, retrieving, and updating versions.\u003c/p\u003e\n"],["\u003cp\u003eThe version resource optionally contains \u003ccode\u003edescription\u003c/code\u003e and \u003ccode\u003eannotations\u003c/code\u003e fields that allow users to describe and annotate the resource with relevant information.\u003c/p\u003e\n"]]],[],null,[]]