Method: projects.locations.repositories.yumArtifacts.import

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


The URLs use 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
{

  // 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:
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.