Reference documentation and code samples for the Cloud Pub/Sub V1 API class Google::Cloud::PubSub::V1::MessageTransform.
All supported message transforms types.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#enabled
def enabled() -> ::Boolean
Returns
-
(::Boolean) — Optional. If set to true, the transform is enabled. If false, the transform
is disabled and will not be applied to messages. Defaults to
true
.
#enabled=
def enabled=(value) -> ::Boolean
Parameter
-
value (::Boolean) — Optional. If set to true, the transform is enabled. If false, the transform
is disabled and will not be applied to messages. Defaults to
true
.
Returns
-
(::Boolean) — Optional. If set to true, the transform is enabled. If false, the transform
is disabled and will not be applied to messages. Defaults to
true
.
#javascript_udf
def javascript_udf() -> ::Google::Cloud::PubSub::V1::JavaScriptUDF
Returns
-
(::Google::Cloud::PubSub::V1::JavaScriptUDF) — Optional. JavaScript User Defined Function. If multiple JavaScriptUDF's
are specified on a resource, each must have a unique
function_name
.
#javascript_udf=
def javascript_udf=(value) -> ::Google::Cloud::PubSub::V1::JavaScriptUDF
Parameter
-
value (::Google::Cloud::PubSub::V1::JavaScriptUDF) — Optional. JavaScript User Defined Function. If multiple JavaScriptUDF's
are specified on a resource, each must have a unique
function_name
.
Returns
-
(::Google::Cloud::PubSub::V1::JavaScriptUDF) — Optional. JavaScript User Defined Function. If multiple JavaScriptUDF's
are specified on a resource, each must have a unique
function_name
.