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.



965
966
967
# File 'lib/google/apis/pubsub_v1/classes.rb', line 965

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



938
939
940
# File 'lib/google/apis/pubsub_v1/classes.rb', line 938

def aws_kinesis
  @aws_kinesis
end

#aws_mskGoogle::Apis::PubsubV1::AwsMsk

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



943
944
945
# File 'lib/google/apis/pubsub_v1/classes.rb', line 943

def aws_msk
  @aws_msk
end

#azure_event_hubsGoogle::Apis::PubsubV1::AzureEventHubs

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



948
949
950
# File 'lib/google/apis/pubsub_v1/classes.rb', line 948

def azure_event_hubs
  @azure_event_hubs
end

#cloud_storageGoogle::Apis::PubsubV1::CloudStorage

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



953
954
955
# File 'lib/google/apis/pubsub_v1/classes.rb', line 953

def cloud_storage
  @cloud_storage
end

#confluent_cloudGoogle::Apis::PubsubV1::ConfluentCloud

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



958
959
960
# File 'lib/google/apis/pubsub_v1/classes.rb', line 958

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



963
964
965
# File 'lib/google/apis/pubsub_v1/classes.rb', line 963

def platform_logs_settings
  @platform_logs_settings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



970
971
972
973
974
975
976
977
# File 'lib/google/apis/pubsub_v1/classes.rb', line 970

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