Cloud PubSub V1 Client - Class IngestionDataSourceSettings (2.7.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 Google\Cloud\PubSub\V1\IngestionDataSourceSettings\AwsKinesis

Optional. Amazon Kinesis Data Streams.

↳ cloud_storage Google\Cloud\PubSub\V1\IngestionDataSourceSettings\CloudStorage

Optional. Cloud Storage.

↳ platform_logs_settings Google\Cloud\PubSub\V1\PlatformLogsSettings

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

getAwsKinesis

Optional. Amazon Kinesis Data Streams.

Returns
Type Description
Google\Cloud\PubSub\V1\IngestionDataSourceSettings\AwsKinesis|null

hasAwsKinesis

setAwsKinesis

Optional. Amazon Kinesis Data Streams.

Parameter
Name Description
var Google\Cloud\PubSub\V1\IngestionDataSourceSettings\AwsKinesis
Returns
Type Description
$this

getCloudStorage

Optional. Cloud Storage.

Returns
Type Description
Google\Cloud\PubSub\V1\IngestionDataSourceSettings\CloudStorage|null

hasCloudStorage

setCloudStorage

Optional. Cloud Storage.

Parameter
Name Description
var Google\Cloud\PubSub\V1\IngestionDataSourceSettings\CloudStorage
Returns
Type Description
$this

getPlatformLogsSettings

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

Returns
Type Description
Google\Cloud\PubSub\V1\PlatformLogsSettings|null

hasPlatformLogsSettings

clearPlatformLogsSettings

setPlatformLogsSettings

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

Parameter
Name Description
var Google\Cloud\PubSub\V1\PlatformLogsSettings
Returns
Type Description
$this

getSource

Returns
Type Description
string