# Artifact Registry V1beta2 API - Class Google::Cloud::ArtifactRegistry::V1beta2::AptArtifact (v0.20.0)

0.20.0 (latest) 0.19.0 0.18.0 0.17.1 0.16.0 0.15.0 0.14.1 0.13.0 0.12.1 0.11.2 0.10.0 0.9.1 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.6 Reference documentation and code samples for the Artifact Registry V1beta2 API class Google::Cloud::ArtifactRegistry::V1beta2::AptArtifact.

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

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #architecture

    def architecture() -> ::String

**Returns**

- (::String) --- Output only. Operating system architecture of the artifact.

### #component

    def component() -> ::String

**Returns**

- (::String) --- Output only. Repository component of the artifact.

### #control_file

    def control_file() -> ::String

**Returns**

- (::String) --- Output only. Contents of the artifact's control metadata file.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Output only. The Artifact Registry resource name of the artifact.

### #package_name

    def package_name() -> ::String

**Returns**

- (::String) --- Output only. The Apt package name of the artifact.

### #package_type

    def package_type() -> ::Google::Cloud::ArtifactRegistry::V1beta2::AptArtifact::PackageType

**Returns**

- ([::Google::Cloud::ArtifactRegistry::V1beta2::AptArtifact::PackageType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1beta2/latest/Google-Cloud-ArtifactRegistry-V1beta2-AptArtifact-PackageType)) --- Output only. An artifact is a binary or source package.