Imports Yum (RPM) 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.yumartifacts.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 (ImportYumArtifactsGcsSource)}// 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 Yum (RPM) artifacts, creating Package, Version, and File resources from them, while ignoring conflicts with existing resources.\u003c/p\u003e\n"],["\u003cp\u003eThe API uses gRPC Transcoding syntax for URLs and requires authorization via the \u003ccode\u003eartifactregistry.yumartifacts.create\u003c/code\u003e IAM permission on the parent resource.\u003c/p\u003e\n"],["\u003cp\u003eThe request body accepts data, with the source of the package binaries located either as \u003ccode\u003egcsSource\u003c/code\u003e using Google Cloud Storage, as well as parameters which are passed in the URI.\u003c/p\u003e\n"],["\u003cp\u003eThe response is an \u003ccode\u003eOperation\u003c/code\u003e instance, indicating a long-running process that completes once the resources are imported.\u003c/p\u003e\n"],["\u003cp\u003eThe API requires the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope for authorization.\u003c/p\u003e\n"]]],[],null,[]]