Skip to main content
POST
Update a BigQuery connection, streamed

Authorizations

Authorization
string
header
required

Organization API key (sl_…).

Headers

If-Match
string | null
x-tenant-id
string
required

The organization ID the request is scoped to.

Path Parameters

bigquery_connection_id
string
required

Body

application/json

A merge-patch update to an existing BigQuery connection: an omitted field is left unchanged, and null clears it.

Every field mirrors its BigQueryConnectionCreate counterpart. is_doit cannot be changed once the connection is added, so it has no counterpart here.

name
string | null

Display name for the connection, as shown throughout SELECT.

gcp_project_id
string | null

The GCP project to read BigQuery usage and spend from. 6-30 characters, starting with a lowercase letter, made up of lowercase letters, digits and hyphens, and not ending in a hyphen.

Pattern: ^[a-z][a-z0-9-]{4,28}[a-z0-9]$
bigquery_dataset_id
string | null

The BigQuery dataset holding the project's billing and pricing exports. Letters, digits and underscores only. Must be omitted on a DoiT-managed connection, and cannot be cleared with null on any other.

Pattern: ^[a-zA-Z0-9_]{1,1024}$
billing_account_id
string | null

The Cloud Billing account the exports belong to, in XXXXXX-XXXXXX-XXXXXX form, case-insensitive. Must be omitted on a DoiT-managed connection, and cannot be cleared with null on any other.

Pattern: ^[0-9A-Fa-f]{6}-[0-9A-Fa-f]{6}-[0-9A-Fa-f]{6}$
service_account
string | null

The GCP service account SELECT impersonates to reach the project, in [email protected] form.

Pattern: ^[a-z][a-z0-9-]{4,28}[a-z0-9]@[a-z][a-z0-9-]{4,28}[a-z0-9]\.iam\.gserviceaccount\.com$
sync_enabled
boolean | null

Whether SELECT syncs data for this connection.

query_sanitization_enabled
boolean | null

Whether query text is sanitized before SELECT stores it.

Response

A stream of Server-Sent Events.

One check transitioning through its lifecycle, as it happens.

id
enum<string>
required

Identifies which check this is.

Available options:
connectivity,
project_access,
regions,
jobs,
billing_export,
pricing_export,
bucket_write,
organization
label
string
required

Short human-readable name for the check.

status
enum<string>
required

The check's current state.

Available options:
running,
passed,
failed,
skipped
event
string
default:check
Allowed value: "check"
message
string | null

What to change if the check has failed, or why it was skipped. Null otherwise.

Link to the setup documentation covering what the check found. Null when no page addresses it specifically.