Cloud PubSub V1 Client - Class IngestionDataSourceSettings (2.9.0)

Reference documentation and code samples for the Cloud PubSub V1 Client class IngestionDataSourceSettings.

Settings for an ingestion data source on a topic.

Generated from protobuf message google.pubsub.v1.IngestionDataSourceSettings

Namespace

Google \ Cloud \ PubSub \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ aws_kinesis IngestionDataSourceSettings\AwsKinesis

Optional. Amazon Kinesis Data Streams.

↳ cloud_storage IngestionDataSourceSettings\CloudStorage

Optional. Cloud Storage.

↳ azure_event_hubs IngestionDataSourceSettings\AzureEventHubs

Optional. Azure Event Hubs.

↳ aws_msk IngestionDataSourceSettings\AwsMsk

Optional. Amazon MSK.

↳ confluent_cloud IngestionDataSourceSettings\ConfluentCloud

Optional. Confluent Cloud.

↳ platform_logs_settings PlatformLogsSettings

Optional. Platform Logs settings. If unset, no Platform Logs will be generated.

getAwsKinesis

Optional. Amazon Kinesis Data Streams.

Returns
Type Description
IngestionDataSourceSettings\AwsKinesis|null

hasAwsKinesis

setAwsKinesis

Optional. Amazon Kinesis Data Streams.

Parameter
Name Description
var IngestionDataSourceSettings\AwsKinesis
Returns
Type Description
$this

getCloudStorage

Optional. Cloud Storage.

Returns
Type Description
IngestionDataSourceSettings\CloudStorage|null

hasCloudStorage

setCloudStorage

Optional. Cloud Storage.

Parameter
Name Description
var IngestionDataSourceSettings\CloudStorage
Returns
Type Description
$this

getAzureEventHubs

Optional. Azure Event Hubs.

Returns
Type Description
IngestionDataSourceSettings\AzureEventHubs|null

hasAzureEventHubs

setAzureEventHubs

Optional. Azure Event Hubs.

Parameter
Name Description
var IngestionDataSourceSettings\AzureEventHubs
Returns
Type Description
$this

getAwsMsk

Optional. Amazon MSK.

Returns
Type Description
IngestionDataSourceSettings\AwsMsk|null

hasAwsMsk

setAwsMsk

Optional. Amazon MSK.

Parameter
Name Description
var IngestionDataSourceSettings\AwsMsk
Returns
Type Description
$this

getConfluentCloud

Optional. Confluent Cloud.

Returns
Type Description
IngestionDataSourceSettings\ConfluentCloud|null

hasConfluentCloud

setConfluentCloud

Optional. Confluent Cloud.

Parameter
Name Description
var IngestionDataSourceSettings\ConfluentCloud
Returns
Type Description
$this

getPlatformLogsSettings

Optional. Platform Logs settings. If unset, no Platform Logs will be generated.

Returns
Type Description
PlatformLogsSettings|null

hasPlatformLogsSettings

clearPlatformLogsSettings

setPlatformLogsSettings

Optional. Platform Logs settings. If unset, no Platform Logs will be generated.

Parameter
Name Description
var PlatformLogsSettings
Returns
Type Description
$this

getSource

Returns
Type Description
string