2.15.0 (latest) 2.14.0 2.13.0 2.12.0 2.11.0 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.1.0 1.0.0

    public sealed class ExportArtifactRequest : IMessage<ExportArtifactRequest>, IEquatable<ExportArtifactRequest>, IDeepCloneable<ExportArtifactRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Artifact Registry v1 API class ExportArtifactRequest.

The request for exporting an artifact to a destination.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> ExportArtifactRequest

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[ExportArtifactRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.ExportArtifactRequest.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ExportArtifactRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.ExportArtifactRequest.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[ExportArtifactRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.ExportArtifactRequest.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.ArtifactRegistry.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.md.txt)

## Assembly

Google.Cloud.ArtifactRegistry.V1.dll

## Constructors

### ExportArtifactRequest()

    public ExportArtifactRequest()

### ExportArtifactRequest(ExportArtifactRequest)

    public ExportArtifactRequest(ExportArtifactRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `ExportArtifactRequest` |

## Properties

### DestinationCase

    public ExportArtifactRequest.DestinationOneofCase DestinationCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `ExportArtifactRequestDestinationOneofCase` |   |

### GcsPath

    public string GcsPath { get; set; }

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.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### HasGcsPath

    public bool HasGcsPath { get; }

Gets whether the "gcs_path" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### HasSourceTag

    public bool HasSourceTag { get; }

Gets whether the "source_tag" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### HasSourceVersion

    public bool HasSourceVersion { get; }

Gets whether the "source_version" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### Repository

    public string Repository { get; set; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### RepositoryAsRepositoryName

    public RepositoryName RepositoryAsRepositoryName { get; set; }

[RepositoryName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.RepositoryName.md.txt)-typed view over the [Repository](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.ExportArtifactRequest.md.txt#Google_Cloud_ArtifactRegistry_V1_ExportArtifactRequest_Repository) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepositoryName` |   |

### SourceArtifactCase

    public ExportArtifactRequest.SourceArtifactOneofCase SourceArtifactCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `ExportArtifactRequestSourceArtifactOneofCase` |   |

### SourceTag

    public string SourceTag { get; set; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### SourceTagAsTagName

    public TagName SourceTagAsTagName { get; set; }

[TagName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.TagName.md.txt)-typed view over the [SourceTag](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.ExportArtifactRequest.md.txt#Google_Cloud_ArtifactRegistry_V1_ExportArtifactRequest_SourceTag) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `TagName` |   |

### SourceVersion

    public string SourceVersion { get; set; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### SourceVersionAsVersionName

    public VersionName SourceVersionAsVersionName { get; set; }

[VersionName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.VersionName.md.txt)-typed view over the [SourceVersion](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.ExportArtifactRequest.md.txt#Google_Cloud_ArtifactRegistry_V1_ExportArtifactRequest_SourceVersion) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `VersionName` |   |