Google Cloud Datastream V1 Client - Class ServiceNowSourceConfig (2.7.0)

Reference documentation and code samples for the Google Cloud Datastream V1 Client class ServiceNowSourceConfig.

Configuration for syncing data from a ServiceNow source.

Generated from protobuf message google.cloud.datastream.v1.ServiceNowSourceConfig

Namespace

Google \ Cloud \ Datastream \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ include_objects SourceCatalog

Optional. The objects to retrieve from the source.

↳ exclude_objects SourceCatalog

Optional. The objects to exclude from the stream.

↳ polling_interval Google\Protobuf\Duration

Required. Incremental sync polling interval for all objects. If not set, a default value of 5 minutes is used. The duration must be from 5 minutes to 24 hours, inclusive.

getIncludeObjects

Optional. The objects to retrieve from the source.

Returns
Type Description
SourceCatalog|null

hasIncludeObjects

clearIncludeObjects

setIncludeObjects

Optional. The objects to retrieve from the source.

Parameter
Name Description
var SourceCatalog
Returns
Type Description
$this

getExcludeObjects

Optional. The objects to exclude from the stream.

Returns
Type Description
SourceCatalog|null

hasExcludeObjects

clearExcludeObjects

setExcludeObjects

Optional. The objects to exclude from the stream.

Parameter
Name Description
var SourceCatalog
Returns
Type Description
$this

getPollingInterval

Required. Incremental sync polling interval for all objects. If not set, a default value of 5 minutes is used. The duration must be from 5 minutes to 24 hours, inclusive.

Returns
Type Description
Google\Protobuf\Duration|null

hasPollingInterval

clearPollingInterval

setPollingInterval

Required. Incremental sync polling interval for all objects. If not set, a default value of 5 minutes is used. The duration must be from 5 minutes to 24 hours, inclusive.

Parameter
Name Description
var Google\Protobuf\Duration
Returns
Type Description
$this