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.



1027
1028
1029
# File 'lib/google/apis/pubsub_v1/classes.rb', line 1027

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



1000
1001
1002
# File 'lib/google/apis/pubsub_v1/classes.rb', line 1000

def aws_kinesis
  @aws_kinesis
end

#aws_mskGoogle::Apis::PubsubV1::AwsMsk

Ingestion settings for Amazon MSK. Corresponds to the JSON property awsMsk



1005
1006
1007
# File 'lib/google/apis/pubsub_v1/classes.rb', line 1005

def aws_msk
  @aws_msk
end

#azure_event_hubsGoogle::Apis::PubsubV1::AzureEventHubs

Ingestion settings for Azure Event Hubs. Corresponds to the JSON property azureEventHubs



1010
1011
1012
# File 'lib/google/apis/pubsub_v1/classes.rb', line 1010

def azure_event_hubs
  @azure_event_hubs
end

#cloud_storageGoogle::Apis::PubsubV1::CloudStorage

Ingestion settings for Cloud Storage. Corresponds to the JSON property cloudStorage



1015
1016
1017
# File 'lib/google/apis/pubsub_v1/classes.rb', line 1015

def cloud_storage
  @cloud_storage
end

#confluent_cloudGoogle::Apis::PubsubV1::ConfluentCloud

Ingestion settings for Confluent Cloud. Corresponds to the JSON property confluentCloud



1020
1021
1022
# File 'lib/google/apis/pubsub_v1/classes.rb', line 1020

def confluent_cloud
  @confluent_cloud
end

#platform_logs_settingsGoogle::Apis::PubsubV1::PlatformLogsSettings

Settings for Platform Logs produced by Pub/Sub. Corresponds to the JSON property platformLogsSettings



1025
1026
1027
# File 'lib/google/apis/pubsub_v1/classes.rb', line 1025

def platform_logs_settings
  @platform_logs_settings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1032
1033
1034
1035
1036
1037
1038
1039
# File 'lib/google/apis/pubsub_v1/classes.rb', line 1032

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