Variant | R Documentation |
Variant
Variant
An R6 class that represents a Variant
connectapi::Content
-> Variant
key
The variant key.
variant
The 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_connect()
connectapi::Content$get_content()
connectapi::Content$get_content_remote()
connectapi::Content$internal_content()
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$tag_delete()
connectapi::Content$tag_set()
connectapi::Content$tags()
connectapi::Content$update()
connectapi::Content$variants()
get_variant()
Get the underlying variant data.
Variant$get_variant()
get_variant_remote()
Get and store the (remote) variant data.
Variant$get_variant_remote()
new()
Initialize this variant.
Variant$new(connect, content, key)
connect
The Connect
instance.
content
The Content
instance.
key
The variant key.
send_mail()
Mail previously rendered content.
Variant$send_mail(to = c("me", "collaborators", "collaborators_viewers"))
to
Targeting.
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)
guid
User GUID.
add_subscribers()
Add named subscribers.
Variant$add_subscribers(guids)
guids
User 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)
key
The 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)
rev
Rendering identifier.
get_dashboard_url()
Return the URL for this variant in the Posit Connect dashboard.
Variant$get_dashboard_url(pane = "access")
pane
The 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)
deep
Whether 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.