v1

latestOpenAPI 3.0.32026-07-232011984.8 KB
pub/sub source

put pub/sub source

put updates a pubsub source

put/log-sources/pubsub/{id}

Path parameters

idstring required

ID of the pubsub source to update

ID of the pubsub source to update

Request body

credentialsstring

The GCP credentials JSON content (service account key or WIF config). Required on create, optional on update.

credentialsType'service_account' | 'wif' required

The type of credentials being used: service_account or wif (Workload Identity Federation).

integrationLabelstring required

The integration label (name)

logStreamType'Auto' | 'JSON' | 'JsonArray' | 'Lines' | 'XML' required

The log stream type. Supported log stream types: Auto, JSON, JsonArray, Lines, XML

logTypesstring[] required

The log types for parsing ingested data

projectIdstring

The GCP project ID. Optional for service_account credentials (derived from the keyfile). Required for WIF.

regionalEndpointstring

Optional regional endpoint override (e.g. europe-west3). If not set, the global endpoint is used.

subscriptionIdstring required

The GCP Pub/Sub subscription ID

Response

OK response.

credentialsstring

The GCP credentials JSON content (service account key or WIF config). Required on create, optional on update.

credentialsType'service_account' | 'wif'

The type of credentials being used: service_account or wif (Workload Identity Federation).

integrationIdstring

The id of the pubsub source

integrationLabelstring

The integration label (name)

logStreamType'Auto' | 'JSON' | 'JsonArray' | 'Lines' | 'XML'

The log stream type. Supported log stream types: Auto, JSON, JsonArray, Lines, XML

logTypesstring[]

The log types for parsing ingested data

projectIdstring

The GCP project ID. Optional for service_account credentials (derived from the keyfile). Required for WIF.

regionalEndpointstring

Optional regional endpoint override (e.g. europe-west3). If not set, the global endpoint is used.

subscriptionIdstring

The GCP Pub/Sub subscription ID