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.



926
927
928
# File 'lib/google/apis/pubsub_v1/classes.rb', line 926

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



899
900
901
# File 'lib/google/apis/pubsub_v1/classes.rb', line 899

def aws_kinesis
  @aws_kinesis
end

#aws_mskGoogle::Apis::PubsubV1::AwsMsk

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



904
905
906
# File 'lib/google/apis/pubsub_v1/classes.rb', line 904

def aws_msk
  @aws_msk
end

#azure_event_hubsGoogle::Apis::PubsubV1::AzureEventHubs

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



909
910
911
# File 'lib/google/apis/pubsub_v1/classes.rb', line 909

def azure_event_hubs
  @azure_event_hubs
end

#cloud_storageGoogle::Apis::PubsubV1::CloudStorage

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



914
915
916
# File 'lib/google/apis/pubsub_v1/classes.rb', line 914

def cloud_storage
  @cloud_storage
end

#confluent_cloudGoogle::Apis::PubsubV1::ConfluentCloud

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



919
920
921
# File 'lib/google/apis/pubsub_v1/classes.rb', line 919

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



924
925
926
# File 'lib/google/apis/pubsub_v1/classes.rb', line 924

def platform_logs_settings
  @platform_logs_settings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



931
932
933
934
935
936
937
938
# File 'lib/google/apis/pubsub_v1/classes.rb', line 931

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