# Artifact Registry V1 API - Class Google::Cloud::ArtifactRegistry::V1::ExportArtifactRequest (v1.14.0)

1.14.0 (latest) 1.13.0 1.12.0 1.11.0 1.10.0 1.9.0 1.8.0 1.7.1 1.6.0 1.5.0 1.4.1 1.3.0 1.2.0 1.1.0 1.0.1 0.13.0 0.12.2 0.11.0 0.10.0 0.9.1 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.2 Reference documentation and code samples for the Artifact Registry V1 API class Google::Cloud::ArtifactRegistry::V1::ExportArtifactRequest.

The request for exporting an artifact to a destination.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #gcs_path

    def gcs_path() -> ::String

**Returns**

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

### #gcs_path=

    def gcs_path=(value) -> ::String

**Parameter**

- **value** (::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.
**Returns**

- (::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

    def repository() -> ::String

**Returns**

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

### #repository=

    def repository=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The repository of the artifact to export. Format: projects/{project}/locations/{location}/repositories/{repository}
**Returns**

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

### #source_tag

    def source_tag() -> ::String

**Returns**

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

  Note: The following fields are mutually exclusive: `source_tag`, `source_version`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #source_tag=

    def source_tag=(value) -> ::String

**Parameter**

- **value** (::String) --- The artifact tag to export. Format:projects/{project}/locations/{location}/repositories/{repository}/packages/{package}/tags/{tag}


  Note: The following fields are mutually exclusive: `source_tag`, `source_version`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

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

  Note: The following fields are mutually exclusive: `source_tag`, `source_version`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #source_version

    def source_version() -> ::String

**Returns**

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

  Note: The following fields are mutually exclusive: `source_version`, `source_tag`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #source_version=

    def source_version=(value) -> ::String

**Parameter**

- **value** (::String) --- The artifact version to export. Format: projects/{project}/locations/{location}/repositories/{repository}/packages/{package}/versions/{version}


  Note: The following fields are mutually exclusive: `source_version`, `source_tag`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

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

  Note: The following fields are mutually exclusive: `source_version`, `source_tag`. If a field in that set is populated, all other fields in the set will automatically be cleared.