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 \ V1Methods
__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. |
↳ 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 |
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 |