Method: projects.locations.repositories.yumArtifacts.import

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

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.

HTTP request

POST https://artifactregistry.googleapis.com/v1beta2/{parent=projects/*/locations/*/repositories/*}/yumArtifacts:import

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

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
{
  "gcsSource": {
    object (ImportYumArtifactsGcsSource)
  }
}
Fields
gcsSource

object (ImportYumArtifactsGcsSource)

Google Cloud Storage location where input content is located.

Response body

If successful, the response body contains an instance of Operation.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

ImportYumArtifactsGcsSource

Google Cloud Storage location where the artifacts currently reside.

JSON representation
{
  "uris": [
    string
  ],
  "useWildcards": boolean
}
Fields
uris[]

string

Cloud Storage paths URI (e.g., gs://my_bucket//my_object).

useWildcards

boolean

Supports URI wildcards for matching multiple objects from a single URI.