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.



1053
1054
1055
# File 'lib/google/apis/pubsub_v1/classes.rb', line 1053

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



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

def aws_kinesis
  @aws_kinesis
end

#aws_mskGoogle::Apis::PubsubV1::AwsMsk

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



1031
1032
1033
# File 'lib/google/apis/pubsub_v1/classes.rb', line 1031

def aws_msk
  @aws_msk
end

#azure_event_hubsGoogle::Apis::PubsubV1::AzureEventHubs

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



1036
1037
1038
# File 'lib/google/apis/pubsub_v1/classes.rb', line 1036

def azure_event_hubs
  @azure_event_hubs
end

#cloud_storageGoogle::Apis::PubsubV1::CloudStorage

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



1041
1042
1043
# File 'lib/google/apis/pubsub_v1/classes.rb', line 1041

def cloud_storage
  @cloud_storage
end

#confluent_cloudGoogle::Apis::PubsubV1::ConfluentCloud

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



1046
1047
1048
# File 'lib/google/apis/pubsub_v1/classes.rb', line 1046

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



1051
1052
1053
# File 'lib/google/apis/pubsub_v1/classes.rb', line 1051

def platform_logs_settings
  @platform_logs_settings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1058
1059
1060
1061
1062
1063
1064
1065
# File 'lib/google/apis/pubsub_v1/classes.rb', line 1058

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