Class: Google::Apis::PubsubV1::IngestionDataSourceSettings

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_kinesisGoogle::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_storageGoogle::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_settingsGoogle::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