Artifact Registry v1 API - Class ExportArtifactRequest (2.13.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 > ExportArtifactRequest

Namespace

Google.Cloud.ArtifactRegistry.V1

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-typed view over the 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-typed view over the 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-typed view over the SourceVersion resource name property.

Property Value
Type Description
VersionName