Reference documentation and code samples for the Google Cloud Artifact Registry V1 Client class ExportArtifactRequest.
The request for exporting an artifact to a destination.
Generated from protobuf message google.devtools.artifactregistry.v1.ExportArtifactRequest
Namespace
Google \ Cloud \ ArtifactRegistry \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ source_version
string
The artifact version to export. Format: projects/{project}/locations/{location}/repositories/{repository}/packages/{package}/versions/{version}
↳ source_tag
string
The artifact tag to export. Format:projects/{project}/locations/{location}/repositories/{repository}/packages/{package}/tags/{tag}
↳ gcs_path
string
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.
↳ repository
string
Required. The repository of the artifact to export. Format: projects/{project}/locations/{location}/repositories/{repository}
getSourceVersion
The artifact version to export.
Format: projects/{project}/locations/{location}/repositories/{repository}/packages/{package}/versions/{version}
string
hasSourceVersion
setSourceVersion
The artifact version to export.
Format: projects/{project}/locations/{location}/repositories/{repository}/packages/{package}/versions/{version}
var
string
$this
getSourceTag
The artifact tag to export.
Format:projects/{project}/locations/{location}/repositories/{repository}/packages/{package}/tags/{tag}
string
hasSourceTag
setSourceTag
The artifact tag to export.
Format:projects/{project}/locations/{location}/repositories/{repository}/packages/{package}/tags/{tag}
var
string
$this
getGcsPath
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.
string
hasGcsPath
setGcsPath
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.
var
string
$this
getRepository
Required. The repository of the artifact to export.
Format: projects/{project}/locations/{location}/repositories/{repository}
string
setRepository
Required. The repository of the artifact to export.
Format: projects/{project}/locations/{location}/repositories/{repository}
var
string
$this
getSourceArtifact
string
getDestination
string

