Class: Google::Apis::ConnectorsV1::DeadLetterConfig
- Inherits:
-
Object
- Object
- Google::Apis::ConnectorsV1::DeadLetterConfig
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/connectors_v1/classes.rb,
lib/google/apis/connectors_v1/representations.rb,
lib/google/apis/connectors_v1/representations.rb
Overview
Dead Letter configuration details provided by the user.
Instance Attribute Summary collapse
-
#project_id ⇒ String
Optional.
-
#topic ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DeadLetterConfig
constructor
A new instance of DeadLetterConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DeadLetterConfig
Returns a new instance of DeadLetterConfig.
1473 1474 1475 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1473 def initialize(**args) update!(**args) end |
Instance Attribute Details
#project_id ⇒ String
Optional. Project which has the topic given.
Corresponds to the JSON property projectId
1466 1467 1468 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1466 def project_id @project_id end |
#topic ⇒ String
Optional. Topic to push events which couldn't be processed.
Corresponds to the JSON property topic
1471 1472 1473 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1471 def topic @topic end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1478 1479 1480 1481 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1478 def update!(**args) @project_id = args[:project_id] if args.key?(:project_id) @topic = args[:topic] if args.key?(:topic) end |