Class: Google::Apis::DatafusionV1::EventPublishConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/datafusion_v1/classes.rb,
lib/google/apis/datafusion_v1/representations.rb,
lib/google/apis/datafusion_v1/representations.rb

Overview

Confirguration of PubSubEventWriter.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EventPublishConfig

Returns a new instance of EventPublishConfig.



308
309
310
# File 'lib/google/apis/datafusion_v1/classes.rb', line 308

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#event_publish_enabledBoolean Also known as: event_publish_enabled?

Required. Option to enable Event Publishing. Corresponds to the JSON property eventPublishEnabled

Returns:

  • (Boolean)


295
296
297
# File 'lib/google/apis/datafusion_v1/classes.rb', line 295

def event_publish_enabled
  @event_publish_enabled
end

#projectString

Project name. Corresponds to the JSON property project

Returns:

  • (String)


301
302
303
# File 'lib/google/apis/datafusion_v1/classes.rb', line 301

def project
  @project
end

#topicString

Required. Pub/Sub Topic. Corresponds to the JSON property topic

Returns:

  • (String)


306
307
308
# File 'lib/google/apis/datafusion_v1/classes.rb', line 306

def topic
  @topic
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



313
314
315
316
317
# File 'lib/google/apis/datafusion_v1/classes.rb', line 313

def update!(**args)
  @event_publish_enabled = args[:event_publish_enabled] if args.key?(:event_publish_enabled)
  @project = args[:project] if args.key?(:project)
  @topic = args[:topic] if args.key?(:topic)
end