Create Variable
frauddetector_create_variable | R Documentation |
Creates a variable¶
Description¶
Creates a variable.
Usage¶
frauddetector_create_variable(name, dataType, dataSource, defaultValue,
description, variableType, tags)
Arguments¶
name |
[required] The name of the variable. |
dataType |
[required] The data type of the variable. |
dataSource |
[required] The source of the data. |
defaultValue |
[required] The default value for the variable when no value is received. |
description |
The description. |
variableType |
The variable type. For more information see Variable types. Valid Values:
|
tags |
A collection of key and value pairs. |
Value¶
An empty list.
Request syntax¶
svc$create_variable(
name = "string",
dataType = "STRING"|"INTEGER"|"FLOAT"|"BOOLEAN"|"DATETIME",
dataSource = "EVENT"|"MODEL_SCORE"|"EXTERNAL_MODEL_SCORE",
defaultValue = "string",
description = "string",
variableType = "string",
tags = list(
list(
key = "string",
value = "string"
)
)
)