class Google::Apis::ArtifactregistryV1beta1::Version

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.

Attributes

create_time[RW]

The time when the version was created. Corresponds to the JSON property `createTime` @return [String]

description[RW]

Optional. Description of the version, as specified in its metadata. Corresponds to the JSON property `description` @return [String]

name[RW]

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. Corresponds to the JSON property `name` @return [String]

update_time[RW]

The time when the version was last updated. Corresponds to the JSON property `updateTime` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/artifactregistry_v1beta1/classes.rb, line 1176
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/artifactregistry_v1beta1/classes.rb, line 1181
def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @description = args[:description] if args.key?(:description)
  @name = args[:name] if args.key?(:name)
  @related_tags = args[:related_tags] if args.key?(:related_tags)
  @update_time = args[:update_time] if args.key?(:update_time)
end