Values.CreateUploadJobRequestSourceCreates an Upload job to ingest data for segment imports. The metadata is created for the job with the provided field mapping and unique key.
type nonrec t = {domainName : Name.t;The unique name of the domain. Domain should be exists for the upload job to be created.
*)displayName : String1To255.t;The unique name of the upload job. Could be a file name to identify the upload job.
*)fields : FieldMap.t;The mapping between CSV Columns and Profile Object attributes. A map of the name and ObjectType field.
*)uniqueKey : Text.t;The unique key columns for de-duping the profiles used to map data to the profile.
*)dataExpiry : ExpirationDaysInteger.t option;The expiry duration for the profiles ingested with the job. If not provided, the system default of 2 weeks is used.
*)}val make :
?dataExpiry:??? ->
domainName:Name.t ->
displayName:String1To255.t ->
fields:FieldMap.t ->
uniqueKey:Text.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Integer of ExpirationDaysInteger.t
| `Map of
([> `String of FieldName.t ]
* [> `Structure of
(string * [> `Enum of string | `String of Text.t ]) list ])
list
| `String of Name.t ])
list ]