| Variant | R Documentation |
Variant
Variant
An R6 class that represents a Variant
connectapi::Content -> Variant
keyThe variant key.
variantThe variant.
connectapi::Content$bundle_delete()connectapi::Content$bundle_download()connectapi::Content$danger_delete()connectapi::Content$deploy()connectapi::Content$environment()connectapi::Content$environment_all()connectapi::Content$environment_set()connectapi::Content$get_bundles()connectapi::Content$get_content_remote()connectapi::Content$packages()connectapi::Content$permissions()connectapi::Content$permissions_add()connectapi::Content$permissions_delete()connectapi::Content$permissions_update()connectapi::Content$register_job_kill_order()connectapi::Content$repo_enable()connectapi::Content$repo_set()connectapi::Content$repository()connectapi::Content$tag_delete()connectapi::Content$tag_set()connectapi::Content$tags()connectapi::Content$update()connectapi::Content$variants()get_variant_remote()Get the underlying variant data.
Get and store the (remote) variant data.
Variant$get_variant_remote()
new()Initialize this variant.
Variant$new(connect, content, key)
connectThe Connect instance.
contentThe Content instance.
keyThe variant key.
send_mail()Mail previously rendered content.
Variant$send_mail(to = c("me", "collaborators", "collaborators_viewers"))toTargeting.
get_schedule()Get the (remote) schedule data.
Variant$get_schedule()
get_schedule_remote()Get the (remote) schedule data.
Variant$get_schedule_remote()
get_subscribers()Get the subscribers.
Variant$get_subscribers()
remove_subscriber()Remove a named subscriber.
Variant$remove_subscriber(guid)
guidUser GUID.
add_subscribers()Add named subscribers.
Variant$add_subscribers(guids)
guidsUser GUIDs.
render()Render this variant.
Variant$render()
renderings()List the renderings of this variant.
Variant$renderings()
update_variant()Update this variant.
Variant$update_variant(...)
...Target fields and values.
jobs()Jobs for this variant.
Variant$jobs()
job()Return single job for this variant.
Variant$job(key)
keyThe job key.
get_url()Return the URL for this variant.
Variant$get_url()
get_url_rev()Return the URL associated with one rendering for this variant.
Variant$get_url_rev(rev)
revRendering identifier.
get_dashboard_url()Return the URL for this variant in the Posit Connect dashboard.
Variant$get_dashboard_url(pane = "access")
paneThe pane in the dashboard to link to.
print()Print this object.
Variant$print(...)
...Unused.
clone()The objects of this class are cloneable with this method.
Variant$clone(deep = FALSE)
deepWhether to make a deep clone.
Other R6 classes:
Bundle,
Content,
ContentTask,
Environment,
PositConnect,
Task,
Vanity,
VariantSchedule,
VariantTask
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.