v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1340127143.5 KB
projects

Exports an artifact to a Cloud Storage bucket.

post/v1/{+repository}:exportArtifact

Path parameters

repositorystring required

Required. The repository of the artifact to export. Format: projects/{project}/locations/{location}/repositories/{repository}

Request body

sourceTagstring

The artifact tag to export. Format:projects/{project}/locations/{location}/repositories/{repository}/packages/{package}/tags/{tag}

sourceVersionstring

The artifact version to export. Format: projects/{project}/locations/{location}/repositories/{repository}/packages/{package}/versions/{version}

gcsPathstring

The Cloud Storage path to export the artifact to. Should start with the bucket name, and optionally have a directory path. Examples: dst_bucket, dst_bucket/sub_dir. Existing objects with the same path will be overwritten.

Response

Successful response