Enables the creation of a new tag and applies the new tag to the passed component
Usage
tags_add(
company_id = Sys.getenv("AW_COMPANY_ID"),
componentId = NULL,
componentType = NULL,
tagNames = NULL,
overwrite = FALSE,
debug = FALSE
)Arguments
- company_id
Company ID. If an environment variable called
AW_COMPANY_IDexists in.Renvironor elsewhere and nocompany_idargument is provided, then theAW_COMPANY_IDvalue will be used. Useget_meto get a list of availablecompany_idvalues.- componentId
The component id being requested. Default is
NULL- componentType
The component type being requested. Options include segment, dashboard, bookmark, calculatedMetric, project, dateRange, metric, dimension, virtualReportSuite, scheduledJob, alert, classification. Default is NULL
- tagNames
Comma separated vector of tag names.
- overwrite
Overwrite the existing tag names on a component. To append a new tag name use FALSE (default). To overwrite the existing tags on a component use TRUE.
- debug
Include the output and input of the api call in the console for debugging. Default is FALSE
