Methods
Method new()
Initialize this content.
Arguments
connect
The Connect
instance.
content
The content data.
Method get_connect()
Returns the Connect
instance.
Returns the underlying content data.
Method get_content_remote()
Obtain the content data from the Connect server.
Return the set of content bundles.
Method bundle_download()
Download the source archive for a content bundle.
Arguments
bundle_id
The bundle identifer.
filename
Where to write the result.
overwrite
Overwrite an existing filename.
Method bundle_delete()
Delete a content bundle.
Arguments
bundle_id
The bundle identifer.
Method internal_content()
Get this (remote) content item.
Update this content item.
Method danger_delete()
Delete this content item.
Method get_url()
Return the URL for this content.
Method get_dashboard_url()
Return the URL for this content in the Posit Connect dashboard.
Arguments
pane
The pane in the dashboard to link to.
Method jobs()
Return the jobs for this content
Method job()
Return a single job for this content.
Method register_job_kill_order()
Terminate a single job for this content item.
Method variants()
Return the variants for this content.
Method tag_set()
Set a tag for this content.
Arguments
tag_id
The tag identifier.
Method tag_delete()
Remove a tag for this content.
Arguments
tag_id
The tag identifier.
The tags for this content.
Method permissions_add()
Add a principal to the ACL for this content.
Arguments
principal_guid
GUID for the target user or group.
principal_type
Acting on user or group.
role
The kind of content access.
Method permissions_update()
Alter a principal in the ACL for this content.
Arguments
id
The target identifier.
principal_guid
GUID for the target user or group.
principal_type
Acting on user or group.
role
The kind of content access.
Method permissions_delete()
Remove an entry from the ACL for this content.
Arguments
id
The target identifier.
Obtain some or all of the ACL for this content.
Arguments
id
The target identifier.
add_owner
Include the content owner in the result set.
Return the environment variables set for this content.
Method environment_set()
Adjust the environment variables set for this content.
Arguments
...
Environment variable names and values. Use NA
as the value
to unset variables.
Method environment_all()
Overwrite the environment variables set for this content.
Arguments
...
Environment variable names and values.
Deploy this content
Arguments
bundle_id
Target bundle identifier.
Method repo_enable()
Adjust Git polling.
Method repo_set()
Adjust Git repository
Arguments
repository
Git repository URL
branch
Git repository branch
subdirectory
Git repository directory
Method packages()
Get package dependencies
Method clone()
The objects of this class are cloneable with this method.
Arguments
deep
Whether to make a deep clone.