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.
-
#cloud_storage ⇒ Google::Apis::PubsubV1::CloudStorage
Ingestion settings for Cloud Storage.
-
#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.
733 734 735 |
# File 'lib/google/apis/pubsub_v1/classes.rb', line 733 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
721 722 723 |
# File 'lib/google/apis/pubsub_v1/classes.rb', line 721 def aws_kinesis @aws_kinesis end |
#cloud_storage ⇒ Google::Apis::PubsubV1::CloudStorage
Ingestion settings for Cloud Storage.
Corresponds to the JSON property cloudStorage
726 727 728 |
# File 'lib/google/apis/pubsub_v1/classes.rb', line 726 def cloud_storage @cloud_storage end |
#platform_logs_settings ⇒ Google::Apis::PubsubV1::PlatformLogsSettings
Settings for Platform Logs produced by Pub/Sub.
Corresponds to the JSON property platformLogsSettings
731 732 733 |
# File 'lib/google/apis/pubsub_v1/classes.rb', line 731 def platform_logs_settings @platform_logs_settings end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
738 739 740 741 742 |
# File 'lib/google/apis/pubsub_v1/classes.rb', line 738 def update!(**args) @aws_kinesis = args[:aws_kinesis] if args.key?(:aws_kinesis) @cloud_storage = args[:cloud_storage] if args.key?(:cloud_storage) @platform_logs_settings = args[:platform_logs_settings] if args.key?(:platform_logs_settings) end |