Class: Google::Apis::ConnectorsV1::DeadLetterConfig

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DeadLetterConfig

Returns a new instance of DeadLetterConfig.



1963
1964
1965
# File 'lib/google/apis/connectors_v1/classes.rb', line 1963

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

Instance Attribute Details

#project_idString

Optional. Project which has the topic given. Corresponds to the JSON property projectId

Returns:

  • (String)


1956
1957
1958
# File 'lib/google/apis/connectors_v1/classes.rb', line 1956

def project_id
  @project_id
end

#topicString

Optional. Topic to push events which couldn't be processed. Corresponds to the JSON property topic

Returns:

  • (String)


1961
1962
1963
# File 'lib/google/apis/connectors_v1/classes.rb', line 1961

def topic
  @topic
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1968
1969
1970
1971
# File 'lib/google/apis/connectors_v1/classes.rb', line 1968

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