Class: Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1EventingConfigDeadLetterConfig

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

Overview

Dead Letter configuration details provided by the user.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudConnectorsV1EventingConfigDeadLetterConfig

Returns a new instance of GoogleCloudConnectorsV1EventingConfigDeadLetterConfig.



5949
5950
5951
# File 'lib/google/apis/integrations_v1/classes.rb', line 5949

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)


5942
5943
5944
# File 'lib/google/apis/integrations_v1/classes.rb', line 5942

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)


5947
5948
5949
# File 'lib/google/apis/integrations_v1/classes.rb', line 5947

def topic
  @topic
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5954
5955
5956
5957
# File 'lib/google/apis/integrations_v1/classes.rb', line 5954

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