Imports Apt artifacts. The returned Operation will complete once the resources are imported. Package, Version, and File resources are created based on the imported artifacts. Imported artifacts that conflict with existing resources are ignored.
The name of the parent resource where the artifacts will be imported.
Authorization requires the following IAM permission on the specified resource parent:
artifactregistry.aptartifacts.create
Request body
The request body contains data with the following structure:
JSON representation
{// Union field source can be only one of the following:"gcsSource": {object (ImportAptArtifactsGcsSource)}// End of list of possible types for union field source.}
Fields
Union field source. The source location of the package binaries. source can be only one of the following:
[[["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-06-13 UTC."],[[["\u003cp\u003eThis API imports Apt artifacts, creating Package, Version, and File resources, while ignoring conflicting artifacts.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request uses gRPC Transcoding syntax and requires specifying a location among the available options listed.\u003c/p\u003e\n"],["\u003cp\u003eThe request must include a \u003ccode\u003eparent\u003c/code\u003e path parameter, which needs the \u003ccode\u003eartifactregistry.aptartifacts.create\u003c/code\u003e IAM permission for authorization.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must include a union field \u003ccode\u003esource\u003c/code\u003e, which currently can only be of the \u003ccode\u003egcsSource\u003c/code\u003e type, indicating the Google Cloud Storage location of the artifacts.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful requests will receive an \u003ccode\u003eOperation\u003c/code\u003e instance in the response body and require \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope for authorization.\u003c/p\u003e\n"]]],[],null,[]]