Google Cloud Discovery Engine V1 Client - Class RealtimeSyncConfig (1.17.0)

Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class RealtimeSyncConfig.

The configuration for realtime sync to store additional params for realtime sync.

Generated from protobuf message google.cloud.discoveryengine.v1.DataConnector.RealtimeSyncConfig

Namespace

Google \ Cloud \ DiscoveryEngine \ V1 \ DataConnector

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ webhook_uri string

Optional. Webhook url for the connector to specify additional params for realtime sync.

↳ realtime_sync_secret string

Optional. The ID of the Secret Manager secret used for webhook secret.

↳ streaming_error RealtimeSyncConfig\StreamingError

Optional. Streaming error details.

getWebhookUri

Optional. Webhook url for the connector to specify additional params for realtime sync.

Returns
Type Description
string

setWebhookUri

Optional. Webhook url for the connector to specify additional params for realtime sync.

Parameter
Name Description
var string
Returns
Type Description
$this

getRealtimeSyncSecret

Optional. The ID of the Secret Manager secret used for webhook secret.

Returns
Type Description
string

setRealtimeSyncSecret

Optional. The ID of the Secret Manager secret used for webhook secret.

Parameter
Name Description
var string
Returns
Type Description
$this

getStreamingError

Optional. Streaming error details.

Returns
Type Description
RealtimeSyncConfig\StreamingError|null

hasStreamingError

clearStreamingError

setStreamingError

Optional. Streaming error details.

Parameter
Name Description
var RealtimeSyncConfig\StreamingError
Returns
Type Description
$this