Skip to content

Checks_UpdateAutomaticCheckPolicy_Account

PATCH
/v1/accounts/{account}/checkPolicies/{checkPolicy}
curl --request PATCH \
--url https://api.qualia.dev/v1/accounts/example/checkPolicies/example \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <X-API-Key>' \
--data '{ "name": "example", "heuristic": "SETTING_UNSPECIFIED", "graph": "SETTING_UNSPECIFIED" }'

Updates only the selected halves; an inherit value removes that override.

account
required
string

The account id.

checkPolicy
required
string

The checkPolicy id.

updateMask
string format: field-mask

The halves to change: heuristic, graph, or both. Omitted halves stay put. A selected field set to SETTING_UNSPECIFIED clears its override.

Media type application/json

Automatic checks policy is per scheduler half, not per catalog check id. Inheritance never queues or replays a run: only a new upload is checked. Only the paid graph half has a setting: the free checks run on every upload.

object
name

The automatic policy under an org, workspace or dataset.

string
heuristicEnabled

Deprecated: the free checks run on every upload. Always true.

boolean
heuristicSource

Deprecated: the free checks have no setting. Always “platform”.

string
graphEnabled

Whether the scheduler runs the paid graph half.

boolean
graphSource

Which level supplied the graph setting: platform, org, workspace or dataset.

string
heuristic

Deprecated: the free checks run on every upload and cannot be turned off. Always read SETTING_UNSPECIFIED; an update that sets DISABLED is refused with INVALID_ARGUMENT, any other value changes nothing.

string format: enum
Allowed values: SETTING_UNSPECIFIED ENABLED DISABLED
graph

The graph override at this level; SETTING_UNSPECIFIED clears it.

string format: enum
Allowed values: SETTING_UNSPECIFIED ENABLED DISABLED

OK

Media type application/json

Automatic checks policy is per scheduler half, not per catalog check id. Inheritance never queues or replays a run: only a new upload is checked. Only the paid graph half has a setting: the free checks run on every upload.

object
name

The automatic policy under an org, workspace or dataset.

string
heuristicEnabled

Deprecated: the free checks run on every upload. Always true.

boolean
heuristicSource

Deprecated: the free checks have no setting. Always “platform”.

string
graphEnabled

Whether the scheduler runs the paid graph half.

boolean
graphSource

Which level supplied the graph setting: platform, org, workspace or dataset.

string
heuristic

Deprecated: the free checks run on every upload and cannot be turned off. Always read SETTING_UNSPECIFIED; an update that sets DISABLED is refused with INVALID_ARGUMENT, any other value changes nothing.

string format: enum
Allowed values: SETTING_UNSPECIFIED ENABLED DISABLED
graph

The graph override at this level; SETTING_UNSPECIFIED clears it.

string format: enum
Allowed values: SETTING_UNSPECIFIED ENABLED DISABLED
Example
{
"heuristic": "SETTING_UNSPECIFIED",
"graph": "SETTING_UNSPECIFIED"
}

Default error response

Media type application/json
One of:
API error

A refusal from the API itself.

object
code
required

The gRPC code name in upper case, e.g. NOT_FOUND.

string
message
required
string
retryable
required

Whether the same call may succeed if retried.

boolean
details
required

Empty, except when a dataset copy or move is refused: then one google.rpc.ErrorInfo with the refusal’s reason code, its domain and, in metadata, the datasets it names.

Array<object>
object
Example generated
{
"code": "example",
"message": "example",
"retryable": true,
"details": [
{}
]
}