Class: Google::Apis::PubsubV1::IngestionDataSourceSettings
- Inherits:
-
Object
- Object
- Google::Apis::PubsubV1::IngestionDataSourceSettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/pubsub_v1/classes.rb,
lib/google/apis/pubsub_v1/representations.rb,
lib/google/apis/pubsub_v1/representations.rb
Overview
Settings for an ingestion data source on a topic.
Instance Attribute Summary collapse
-
#aws_kinesis ⇒ Google::Apis::PubsubV1::AwsKinesis
Ingestion settings for Amazon Kinesis Data Streams.
-
#aws_msk ⇒ Google::Apis::PubsubV1::AwsMsk
Ingestion settings for Amazon MSK.
-
#azure_event_hubs ⇒ Google::Apis::PubsubV1::AzureEventHubs
Ingestion settings for Azure Event Hubs.
-
#cloud_storage ⇒ Google::Apis::PubsubV1::CloudStorage
Ingestion settings for Cloud Storage.
-
#confluent_cloud ⇒ Google::Apis::PubsubV1::ConfluentCloud
Ingestion settings for Confluent Cloud.
-
#platform_logs_settings ⇒ Google::Apis::PubsubV1::PlatformLogsSettings
Settings for Platform Logs produced by Pub/Sub.
Instance Method Summary collapse
-
#initialize(**args) ⇒ IngestionDataSourceSettings
constructor
A new instance of IngestionDataSourceSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ IngestionDataSourceSettings
Returns a new instance of IngestionDataSourceSettings.
918 919 920 |
# File 'lib/google/apis/pubsub_v1/classes.rb', line 918 def initialize(**args) update!(**args) end |
Instance Attribute Details
#aws_kinesis ⇒ Google::Apis::PubsubV1::AwsKinesis
Ingestion settings for Amazon Kinesis Data Streams.
Corresponds to the JSON property awsKinesis
891 892 893 |
# File 'lib/google/apis/pubsub_v1/classes.rb', line 891 def aws_kinesis @aws_kinesis end |
#aws_msk ⇒ Google::Apis::PubsubV1::AwsMsk
Ingestion settings for Amazon MSK.
Corresponds to the JSON property awsMsk
896 897 898 |
# File 'lib/google/apis/pubsub_v1/classes.rb', line 896 def aws_msk @aws_msk end |
#azure_event_hubs ⇒ Google::Apis::PubsubV1::AzureEventHubs
Ingestion settings for Azure Event Hubs.
Corresponds to the JSON property azureEventHubs
901 902 903 |
# File 'lib/google/apis/pubsub_v1/classes.rb', line 901 def azure_event_hubs @azure_event_hubs end |
#cloud_storage ⇒ Google::Apis::PubsubV1::CloudStorage
Ingestion settings for Cloud Storage.
Corresponds to the JSON property cloudStorage
906 907 908 |
# File 'lib/google/apis/pubsub_v1/classes.rb', line 906 def cloud_storage @cloud_storage end |
#confluent_cloud ⇒ Google::Apis::PubsubV1::ConfluentCloud
Ingestion settings for Confluent Cloud.
Corresponds to the JSON property confluentCloud
911 912 913 |
# File 'lib/google/apis/pubsub_v1/classes.rb', line 911 def confluent_cloud @confluent_cloud end |
#platform_logs_settings ⇒ Google::Apis::PubsubV1::PlatformLogsSettings
Settings for Platform Logs produced by Pub/Sub.
Corresponds to the JSON property platformLogsSettings
916 917 918 |
# File 'lib/google/apis/pubsub_v1/classes.rb', line 916 def platform_logs_settings @platform_logs_settings end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
923 924 925 926 927 928 929 930 |
# File 'lib/google/apis/pubsub_v1/classes.rb', line 923 def update!(**args) @aws_kinesis = args[:aws_kinesis] if args.key?(:aws_kinesis) @aws_msk = args[:aws_msk] if args.key?(:aws_msk) @azure_event_hubs = args[:azure_event_hubs] if args.key?(:azure_event_hubs) @cloud_storage = args[:cloud_storage] if args.key?(:cloud_storage) @confluent_cloud = args[:confluent_cloud] if args.key?(:confluent_cloud) @platform_logs_settings = args[:platform_logs_settings] if args.key?(:platform_logs_settings) end |