Class: Google::Apis::EventarcV1::GoogleCloudEventarcV1PipelineMediation

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

Overview

Mediation defines different ways to modify the Pipeline.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudEventarcV1PipelineMediation

Returns a new instance of GoogleCloudEventarcV1PipelineMediation.



1171
1172
1173
# File 'lib/google/apis/eventarc_v1/classes.rb', line 1171

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

Instance Attribute Details

#transformationGoogle::Apis::EventarcV1::GoogleCloudEventarcV1PipelineMediationTransformation

Transformation defines the way to transform an incoming message. Corresponds to the JSON property transformation



1169
1170
1171
# File 'lib/google/apis/eventarc_v1/classes.rb', line 1169

def transformation
  @transformation
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1176
1177
1178
# File 'lib/google/apis/eventarc_v1/classes.rb', line 1176

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