pub struct Version {
pub annotations: Option<HashMap<String, String>>,
pub create_time: Option<DateTime<Utc>>,
pub description: Option<String>,
pub metadata: Option<HashMap<String, Value>>,
pub name: Option<String>,
pub related_tags: Option<Vec<Tag>>,
pub update_time: Option<DateTime<Utc>>,
}Expand description
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.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- locations repositories packages versions get projects (response)
- locations repositories packages versions patch projects (request|response)
Fields§
§annotations: Option<HashMap<String, String>>Optional. Client specified annotations.
create_time: Option<DateTime<Utc>>The time when the version was created.
description: Option<String>Optional. Description of the version, as specified in its metadata.
metadata: Option<HashMap<String, Value>>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: DockerImage MavenArtifact
name: Option<String>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.
Output only. A list of related tags. Will contain up to 100 tags that reference this version.
update_time: Option<DateTime<Utc>>The time when the version was last updated.