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-
(::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-
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.
-
(::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- (::String) — Required. The repository of the artifact to export. Format: projects/{project}/locations/{location}/repositories/{repository}
#repository=
def repository=(value) -> ::String- value (::String) — Required. The repository of the artifact to export. Format: projects/{project}/locations/{location}/repositories/{repository}
- (::String) — Required. The repository of the artifact to export. Format: projects/{project}/locations/{location}/repositories/{repository}
#source_tag
def source_tag() -> ::String-
(::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-
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.
-
(::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-
(::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-
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.
-
(::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.