data-governance data-contract dataset expectation patch
qlik data-governance data-contract dataset expectation patch
Update dataset expectations
Synopsis
Updates, activates or deactivates the dataset’s expectations in a single call. The request body groups update items by category key (trustScore, dataProfile, schema, field); items are processed independently (partial success): valid items are applied, failures are reported per item, and the response is 200. Activating at least one expectation creates the data contract when none exists. schema (structure) and field items are experimental and processed only while schema compliance is enabled for the tenant. Activation, re-evaluation and per-category rules are on UpdateExpectationsByCategory and its item schemas.
qlik data-governance data-contract dataset expectation patch <datasetId> [flags]Options
--expectations-dataProfile-max int New upper bound (inclusive). Absent = unchanged, null = remove the bound, value = set. --expectations-dataProfile-min int New lower bound (inclusive). Absent = unchanged, null = remove the bound, value = set. --expectations-dataProfile-name string The name of the volume expectation. Currently only "volume" is supported (case-insensitive). Unknown names produce per-item errors (not 400). --expectations-dataProfile-status string Activation status of an expectation. ˋACTIVATEDˋ means the expectation is enforced, ˋDEACTIVATEDˋ means it was explicitly turned off, and ˋNOT_ACTIVATEDˋ means it has never been activated. Allowed values: "ACTIVATED", "DEACTIVATED", "NOT_ACTIVATED" --expectations-trustScore-name string The name of the trust score dimension. One of: global, validity, completeness, accuracy, diversity, discoverability, usage, timeliness. Matched case-insensitively. Unknown names produce a per-item error in the response. --expectations-trustScore-status string Activation status of an expectation. ˋACTIVATEDˋ means the expectation is enforced, ˋDEACTIVATEDˋ means it was explicitly turned off, and ˋNOT_ACTIVATEDˋ means it has never been activated. Allowed values: "ACTIVATED", "DEACTIVATED", "NOT_ACTIVATED" --expectations-trustScore-threshold int New failure threshold value (0-100 inclusive). --expectations-trustScore-warning int New warning range value (0-100 inclusive). Must be strictly greater than the effective threshold. Absent means no change. Set to null to remove. -f, --file file Read request body from the specified file -h, --help help for patch --interval int Duration in seconds to wait between retries, at least 1 (default 1) -q, --quiet Return only IDs from the command --raw Return original response from server without any processing --retry int Number of retries to do before failing, max 10Options inherited from parent commands
-c, --config string path/to/config.yml where parameters can be set instead of on the command line --context string Name of the context used when connecting to Qlik Associative Engine --headers stringToString HTTP headers to use when connecting to Qlik Associative Engine (default []) --insecure Allow connecting to hosts with self-signed certificates --json Returns output in JSON format, if possible. Disables verbose and traffic output -s, --server string URL to Qlik Cloud or directly to a Qlik Associative Engine --server-type string The type of server you are using: cloud, Windows (Enterprise on Windows) or engine -v, --verbose Log extra information