| ArtifactAsset | R Documentation |
The ArtifactAsset represent local or remote asset added to an
Artifact object but not yet uploaded
new()Creates a new ArtifactAsset object with provided parameters.
ArtifactAsset$new( logical_path, overwrite = FALSE, remote = FALSE, size = 0, link = NULL, local_path = NULL, metadata = NULL, asset_type = NULL )
logical_paththe logical file name.
overwriteIf TRUE will overwrite all existing assets with the same name.
remoteIs the asset a remote asset or not.
sizeThe size if the asset of a non-remote asset.
linkThe remote link if the asset is remote.
local_pathThe local file path if the asset is non-remote.
metadataThe metadata to be associated with the asset.
asset_typeThe type of asset.
get_local_path()Asset local path if the asset is non-remote
ArtifactAsset$get_local_path()
get_logical_path()Asset logical file name
ArtifactAsset$get_logical_path()
is_remote()Is the asset a remote asset or not
ArtifactAsset$is_remote()
has_overwrite()Is the asset will overwrite existing asset with the same name.
ArtifactAsset$has_overwrite()
get_size()Asset size if the asset is a non-remote asset
ArtifactAsset$get_size()
get_link()Asset remote link if the asset is remote or NULL
ArtifactAsset$get_link()
get_metadata()Asset metadata
ArtifactAsset$get_metadata()
get_asset_type()Asset type
ArtifactAsset$get_asset_type()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.