class Google::Apis::ArtifactregistryV1beta2::Package
Packages are named collections of versions.
Attributes
create_time[RW]
The time when the package was created. Corresponds to the JSON property `createTime` @return [String]
display_name[RW]
The display name of the package. Corresponds to the JSON property `displayName` @return [String]
name[RW]
The name of the package, for example: “projects/p1/locations/us-central1/ repositories/repo1/packages/pkg1”. If the package ID part contains slashes, the slashes are escaped. Corresponds to the JSON property `name` @return [String]
update_time[RW]
The time when the package was last updated. This includes publishing a new version of the package. Corresponds to the JSON property `updateTime` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/artifactregistry_v1beta2/classes.rb, line 787 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_v1beta2/classes.rb, line 792 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @display_name = args[:display_name] if args.key?(:display_name) @name = args[:name] if args.key?(:name) @update_time = args[:update_time] if args.key?(:update_time) end