Class: Google::Apis::EventarcV1::GoogleCloudEventarcV1PipelineMediationTransformation
- Inherits:
-
Object
- Object
- Google::Apis::EventarcV1::GoogleCloudEventarcV1PipelineMediationTransformation
- 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
-
#transformation_template ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudEventarcV1PipelineMediationTransformation
constructor
A new instance of GoogleCloudEventarcV1PipelineMediationTransformation.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_template ⇒ String
Optional. The template to apply to transform messages.
Corresponds to the JSON property transformationTemplate
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 |