class Google::Apis::ArtifactregistryV1beta1::AptArtifact

A detailed representation of an Apt artifact. Information in the record is derived from the archive's control file. See www.debian.org/doc/debian- policy/ch-controlfields.html

Attributes

architecture[RW]

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

component[RW]

Output only. Repository component of the artifact. Corresponds to the JSON property `component` @return [String]

control_file[RW]

Output only. Contents of the artifact's control metadata file. Corresponds to the JSON property `controlFile` NOTE: Values are automatically base64 encoded/decoded in the client library. @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 Apt 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_v1beta1/classes.rb, line 62
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 67
def update!(**args)
  @architecture = args[:architecture] if args.key?(:architecture)
  @component = args[:component] if args.key?(:component)
  @control_file = args[:control_file] if args.key?(:control_file)
  @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