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

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.