class Google::Apis::ArtifactregistryV1::YumArtifact

A detailed representation of a Yum artifact.

Attributes

architecture[RW]

Output only. Operating system architecture of the artifact. Corresponds to the JSON property `architecture` @return [String]

name[RW]

Output only. The Artifact Registry resource name of the artifact. Corresponds to the JSON property `name` @return [String]

package_name[RW]

Output only. The yum package name of the artifact. Corresponds to the JSON property `packageName` @return [String]

package_type[RW]

Output only. An artifact is a binary or source package. Corresponds to the JSON property `packageType` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/artifactregistry_v1/classes.rb, line 687
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_v1/classes.rb, line 692
def update!(**args)
  @architecture = args[:architecture] if args.key?(:architecture)
  @name = args[:name] if args.key?(:name)
  @package_name = args[:package_name] if args.key?(:package_name)
  @package_type = args[:package_type] if args.key?(:package_type)
end