[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Artifact Registry V1 Client - Class AptArtifact (1.2.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.1 (latest)](/php/docs/reference/cloud-artifact-registry/latest/V1.AptArtifact)\n- [1.2.0](/php/docs/reference/cloud-artifact-registry/1.2.0/V1.AptArtifact)\n- [1.1.3](/php/docs/reference/cloud-artifact-registry/1.1.3/V1.AptArtifact)\n- [1.0.0](/php/docs/reference/cloud-artifact-registry/1.0.0/V1.AptArtifact)\n- [0.6.5](/php/docs/reference/cloud-artifact-registry/0.6.5/V1.AptArtifact)\n- [0.5.1](/php/docs/reference/cloud-artifact-registry/0.5.1/V1.AptArtifact)\n- [0.4.4](/php/docs/reference/cloud-artifact-registry/0.4.4/V1.AptArtifact)\n- [0.3.13](/php/docs/reference/cloud-artifact-registry/0.3.13/V1.AptArtifact) \nReference documentation and code samples for the Google Cloud Artifact Registry V1 Client class AptArtifact.\n\nA detailed representation of an Apt artifact. Information in the record\nis derived from the archive's control file.\n\nSee \u003chttps://www.debian.org/doc/debian-policy/ch-controlfields.html\u003e\n\nGenerated from protobuf message `google.devtools.artifactregistry.v1.AptArtifact`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ ArtifactRegistry \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nOutput only. The Artifact Registry resource name of the artifact.\n\n### setName\n\nOutput only. The Artifact Registry resource name of the artifact.\n\n### getPackageName\n\nOutput only. The Apt package name of the artifact.\n\n### setPackageName\n\nOutput only. The Apt package name of the artifact.\n\n### getPackageType\n\nOutput only. An artifact is a binary or source package.\n\n### setPackageType\n\nOutput only. An artifact is a binary or source package.\n\n### getArchitecture\n\nOutput only. Operating system architecture of the artifact.\n\n### setArchitecture\n\nOutput only. Operating system architecture of the artifact.\n\n### getComponent\n\nOutput only. Repository component of the artifact.\n\n### setComponent\n\nOutput only. Repository component of the artifact.\n\n### getControlFile\n\nOutput only. Contents of the artifact's control metadata file.\n\n### setControlFile\n\nOutput only. Contents of the artifact's control metadata file."]]