| LoggedArtifactAsset | R Documentation | 
The LoggedArtifactAsset represent local or remote asset already logged with
particular Artifact to the Comet.
cometr::ArtifactAsset -> LoggedArtifactAsset
new()Creates a new LoggedArtifactAsset object with provided parameters.
LoggedArtifactAsset$new( logical_path, remote, size, metadata, asset_type, id, artifact_version_id, artifact_id, experiment_key, link = NULL )
logical_paththe logical file name.
remoteIs the asset a remote asset or not.
sizeThe size if the asset of a non-remote asset.
metadataThe metadata to be associated with the asset.
asset_typeThe type of asset.
idThe ID of the asset
artifact_version_idThe ID of Artifact Version associated with this asset.
artifact_idThe ID of Artifact associated with this asset.
experiment_keyThe experiment key of the experiment that logged this asset.
linkThe remote link if the asset is remote.
get_id()Asset unique ID
LoggedArtifactAsset$get_id()
get_artifact_version_id()The ID of Artifact Version associated with this asset
LoggedArtifactAsset$get_artifact_version_id()
get_artifact_id()The ID of Artifact associated with this asset
LoggedArtifactAsset$get_artifact_id()
download()Download the asset to a given full path or directory.
LoggedArtifactAsset$download( local_path = NULL, logical_path = NULL, overwrite_strategy = FALSE )
local_pathThe root folder to which to download. If NULL, will
download to a tmp path, otherwise will be either a root local path or a full local path.
logical_pathThe path relative to the root local_path to use
If NULL and local_path==NULL then no relative path is used, file would
just be a tmp path on local disk.
If NULL and local_path!=NULL then the local_path will be treated
as a root path, and the asset's logical_path will be appended to the
root path to form a full local path.
overwrite_strategycan be FALSE, "FAIL", "PRESERVE" or "OVERWRITE"
and follows the same semantics for overwrite strategy as artifact.download()
ArtifactAsset holding information about downloaded asset data file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.