Method: projects.locations.repositories.yumArtifacts.upload

Stay organized with collections Save and categorize content based on your preferences.

Directly uploads a Yum artifact. The returned Operation will complete once the resources are uploaded. Package, Version, and File resources are created based on the imported artifact. Imported artifacts that conflict with existing resources are ignored.

HTTP request

  • Upload URI, for media upload requests:
  • Metadata URI, for metadata-only requests:

The URL uses gRPC Transcoding syntax.

Path parameters



The name of the parent resource where the artifacts will be uploaded.

Authorization requires the following IAM permission on the specified resource parent:

  • artifactregistry.yumartifacts.create

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

The response to upload an artifact.

JSON representation
  "operation": {
    object (Operation)

object (Operation)

Operation to be returned to the user.

Authorization Scopes

Requires the following OAuth scope:


For more information, see the Authentication Overview.