Google Cloud Artifact Registry V1 Client - Class ExportArtifactRequest (1.7.1)

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 \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
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}

Returns
Type
Description
string

hasSourceVersion

setSourceVersion

The artifact version to export.

Format: projects/{project}/locations/{location}/repositories/{repository}/packages/{package}/versions/{version}

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getSourceTag

The artifact tag to export.

Format:projects/{project}/locations/{location}/repositories/{repository}/packages/{package}/tags/{tag}

Returns
Type
Description
string

hasSourceTag

setSourceTag

The artifact tag to export.

Format:projects/{project}/locations/{location}/repositories/{repository}/packages/{package}/tags/{tag}

Parameter
Name
Description
var
string
Returns
Type
Description
$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.

Returns
Type
Description
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.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getRepository

Required. The repository of the artifact to export.

Format: projects/{project}/locations/{location}/repositories/{repository}

Returns
Type
Description
string

setRepository

Required. The repository of the artifact to export.

Format: projects/{project}/locations/{location}/repositories/{repository}

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getSourceArtifact

Returns
Type
Description
string

getDestination

Returns
Type
Description
string
Design a Mobile Site
View Site in Mobile | Classic
Share by: