Class: Google::Apis::EventarcV1::GoogleCloudEventarcV1PipelineMediationTransformation

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

Transformation defines the way to transform an incoming message.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudEventarcV1PipelineMediationTransformation

Returns a new instance of GoogleCloudEventarcV1PipelineMediationTransformation.



1190
1191
1192
# File 'lib/google/apis/eventarc_v1/classes.rb', line 1190

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

Instance Attribute Details

#transformation_templateString

Optional. The template to apply to transform messages. Corresponds to the JSON property transformationTemplate

Returns:

  • (String)


1188
1189
1190
# File 'lib/google/apis/eventarc_v1/classes.rb', line 1188

def transformation_template
  @transformation_template
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1195
1196
1197
# File 'lib/google/apis/eventarc_v1/classes.rb', line 1195

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