create_connector | R Documentation |
Create a new connector of a supported type (among: "SQL", "FTP", "SFTP", "S3", "GCP"). If check_if_exist is enabled, the function will check if a connector with the same name already exists. If yes, it will return a message and the information of the existing connector instead of creating a new one.
create_connector( project_id, type, name, host, port, username, password, google_credentials = NULL, check_if_exist = FALSE )
project_id |
id of the project, can be obtained with get_projects(). |
type |
connector type. |
name |
connector name. |
host |
connector host. |
port |
connector port. |
username |
connector username. |
password |
connector password. |
google_credentials |
google credentials JSON (for GCP only). |
check_if_exist |
boolean (FALSE by default). If TRUE, makes extra checks to see if a connector with the same name is already existing. |
list - parsed content of the connector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.