/segment-functions | Type: Application | PCID required: Yes
Tools
segment_functions_create_cloud_source_regulation
Create Cloud Source Regulation Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
sourceId | string | Yes | — | Source Id |
collection | string | Yes | — | The Cloud Source collection to regulate. |
regulationType | string | Yes | — | The regulation type to create. |
subjectIds | string[] | Yes | — | The list of userId or objectId values of the subjects to regulate. Config API note: equal to parent but allows an array. |
subjectType | string | Yes | — | The subject type. Must be objectId for Cloud Sources. |
segment_functions_create_function
Create Function Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
code | string | Yes | — | The Function code. |
description | string | No | — | A description for this Function. |
displayName | string | Yes | — | A display name for this Function. Note that Destination Functions append the Workspace to the display name. |
logoUrl | string | No | — | The URL of the logo for this Function. |
resourceType | string | Yes | — | The Function type. Config API note: equal to type. |
settings | object[] | No | — | The list of settings for this Function. |
segment_functions_create_function_deployment
Create Function Deployment Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
functionId | string | Yes | — | Function Id |
segment_functions_create_insert_function_instance
Create Insert Function Instance Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
enabled | boolean | No | — | Whether this insert Function instance should be enabled for the Destination. |
functionId | string | Yes | — | Insert Function id to which this instance is associated. Note: Remove the ifnd_/ifns_ prefix from the id. |
integrationId | string | Yes | — | The Source or Destination id to be connected. |
name | string | Yes | — | Defines the display name of the insert Function instance. |
settings | object | Yes | — | An object that contains settings for this insert Function instance based on the settings present in the insert Function class. |
segment_functions_create_live_plugin
Create Live Plugin Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
sourceId | string | Yes | — | Source Id |
code | string | Yes | — | The Live Plugin code to be uploaded. |
segment_functions_create_source_regulation
Create Source Regulation Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
sourceId | string | Yes | — | Source Id |
regulationType | string | Yes | — | The regulation type to create. Please note that DELETE_ARCHIVE_ONLY is only supported for limited Workspaces for Source-scoped regulations. |
subjectIds | string[] | Yes | — | The list of userId or objectId or anonymousId values of the subjects to regulate. Config API note: equal to parent but allows an array. |
subjectType | string | Yes | — | The subject type. Note: ANONYMOUS_ID is only supported for limited Workspaces for Source-scoped regulations. ANONYMOUS_ID is only supported when regulationType is DELETE_ARCHIVE_ONLY. |
segment_functions_create_workspace_regulation
Create Workspace Regulation Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
regulationType | string | Yes | — | The regulation type to create. |
subjectIds | string[] | Yes | — | The list of userId or objectId values of the subjects to regulate. Config API note: equal to parent but allows an array. |
subjectType | string | Yes | — | The subject type. Use objectId for Cloud Source regulations. |
segment_functions_delete_function
Delete Function Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
functionId | string | Yes | — | Function Id |
segment_functions_delete_insert_function_instance
Delete Insert Function Instance Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
instanceId | string | Yes | — | Instance Id |
segment_functions_delete_live_plugin_code
Delete Live Plugin Code Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
sourceId | string | Yes | — | Source Id |
segment_functions_get_daily_per_source_apicalls_usage
Get Daily Per Source API Calls Usage Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
period | string | Yes | — | The start of the usage month in the ISO-8601 format. This parameter exists in v1. |
pagination | object | No | — | Pagination input for per Source API calls counts. This parameter exists in v1. |
segment_functions_get_daily_per_source_mtuusage
Get Daily Per Source MTU Usage Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
period | string | Yes | — | The start of the usage month, in the ISO-8601 format. This parameter exists in v1. |
pagination | object | No | — | Pagination input for per Source MTU counts. This parameter exists in v1. |
segment_functions_get_daily_workspace_apicalls_usage
Get Daily Workspace API Calls Usage Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
period | string | Yes | — | The start of the usage month in the ISO-8601 format. This parameter exists in v1. |
pagination | object | No | — | Pagination input for Workspace API call counts. This parameter exists in v1. |
segment_functions_get_daily_workspace_mtuusage
Get Daily Workspace MTU Usage Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
period | string | Yes | — | The start of the usage month, in the ISO-8601 format. This parameter exists in v1. |
pagination | object | No | — | Pagination input for Workspace MTU counts. This parameter exists in v1. |
segment_functions_get_function
Get Function Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
functionId | string | Yes | — | Function Id |
segment_functions_get_function_version
Get Function Version Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
functionId | string | Yes | — | Function Id |
versionId | string | Yes | — | Version Id |
segment_functions_get_insert_function_instance
Get Insert Function Instance Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
instanceId | string | Yes | — | Instance Id |
segment_functions_get_latest_from_live_plugins
Get Latest from Live Plugins Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
sourceId | string | Yes | — | Source Id |
segment_functions_get_regulation
Get Regulation Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
regulateId | string | Yes | — | Regulate Id |
segment_functions_list_audit_events
List Audit Events Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
startTime | string | No | — | Filter response to events that happened after this time. This parameter exists in v1. |
endTime | string | No | — | Filter response to events that happened before this time. Defaults to the current time, or the end time from the pagination cursor. This parameter exists in v1. |
resourceId | string | No | — | Filter response to events that affect a specific resource, for example, a single Source. This parameter exists in v1. |
resourceType | string | No | — | Filter response to events that affect a specific type, for example, Sources, Warehouses, and Tracking Plans. This parameter exists in v1. |
pagination | object | No | — | Defines the pagination parameters. This parameter exists in v1. |
segment_functions_list_function_versions
List Function Versions Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
functionId | string | Yes | — | Function Id |
pagination | object | No | — | Pagination parameters. This parameter exists in alpha. |
segment_functions_list_functions
List Functions Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
pagination | object | No | — | Pagination parameters. This parameter exists in v1. |
resourceType | string | Yes | — | The Function type. Config API note: equal to type. This parameter exists in v1. |
segment_functions_list_insert_function_instances
List Insert Function Instances Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
pagination | object | No | — | Pagination parameters. This parameter exists in alpha. |
functionId | string | Yes | — | The insert Function class id to lookup. This parameter exists in alpha. |
segment_functions_list_regulations_from_source
List Regulations from Source Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
sourceId | string | Yes | — | Source Id |
status | string | No | — | The status on which to filter returned regulations. This parameter exists in v1. |
regulationTypes | string[] | No | — | The regulation types on which to filter returned regulations. This parameter exists in v1. |
pagination | object | No | — | Pagination parameters. This parameter exists in v1. |
segment_functions_list_suppressions
List Suppressions Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
pagination | object | No | — | Pagination parameters. This parameter exists in v1. |
segment_functions_list_workspace_regulations
List Workspace Regulations Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
status | string | No | — | The status on which to filter the returned regulations. This parameter exists in v1. |
regulationTypes | string[] | No | — | The regulation types on which to filter returned regulations. This parameter exists in v1. |
pagination | object | No | — | Pagination parameters. This parameter exists in v1. |
segment_functions_restore_function_version
Restore Function Version Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
functionId | string | Yes | — | Function Id |
versionId | string | Yes | — | An identifier for this version. |
segment_functions_update_function
Update Function Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
functionId | string | Yes | — | Function Id |
code | string | No | — | The Function code. |
description | string | No | — | A description for this Function. |
displayName | string | No | — | A display name for this Function. |
logoUrl | string | No | — | A logo for this Function. |
settings | object[] | No | — | The list of settings for this Function. |
segment_functions_update_insert_function_instance
Update Insert Function Instance Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
instanceId | string | Yes | — | Instance Id |
enabled | boolean | No | — | Whether this insert Function instance should be enabled for the Destination. |
name | string | No | — | Defines the display name of the insert Function instance. |
settings | object | No | — | An object that contains settings for this insert Function instance based on the settings present in the insert Function class. |

