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
#disabled
def disabled() -> ::Boolean Returns 
 -  (::Boolean) — Optional. If true, the transform is disabled and will not be applied to messages. Defaults to false.
#disabled=
def disabled=(value) -> ::Boolean Parameter 
 -  value (::Boolean) — Optional. If true, the transform is disabled and will not be applied to messages. Defaults to false.
 Returns 
 -  (::Boolean) — Optional. If true, the transform is disabled and will not be applied to messages. Defaults to false.
#enabled
def enabled() -> ::Boolean Returns 
 -  (::Boolean) — Optional. This field is deprecated, use the disabledfield to disable transforms.
#enabled=
def enabled=(value) -> ::Boolean Parameter 
 -  value (::Boolean) — Optional. This field is deprecated, use the disabledfield to disable transforms.
 Returns 
 -  (::Boolean) — Optional. This field is deprecated, use the disabledfield to disable transforms.
#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.