Class: Google::Apis::DatafusionV1::EventPublishConfig
- Inherits:
-
Object
- Object
- Google::Apis::DatafusionV1::EventPublishConfig
- 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
-
#event_publish_enabled ⇒ Boolean
(also: #event_publish_enabled?)
Required.
-
#project ⇒ String
Project name.
-
#topic ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EventPublishConfig
constructor
A new instance of EventPublishConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_enabled ⇒ Boolean Also known as: event_publish_enabled?
Required. Option to enable Event Publishing.
Corresponds to the JSON property eventPublishEnabled
295 296 297 |
# File 'lib/google/apis/datafusion_v1/classes.rb', line 295 def event_publish_enabled @event_publish_enabled end |
#project ⇒ String
Project name.
Corresponds to the JSON property project
301 302 303 |
# File 'lib/google/apis/datafusion_v1/classes.rb', line 301 def project @project end |
#topic ⇒ String
Required. Pub/Sub Topic.
Corresponds to the JSON property topic
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 |