Cloud Pub/Sub v1 API - Class MessageTransform (3.21.0)

public sealed class MessageTransform : IMessage<MessageTransform>, IEquatable<MessageTransform>, IDeepCloneable<MessageTransform>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Pub/Sub v1 API class MessageTransform.

All supported message transforms types.

Inheritance

object > MessageTransform

Namespace

Google.Cloud.PubSub.V1

Assembly

Google.Cloud.PubSub.V1.dll

Constructors

MessageTransform()

public MessageTransform()

MessageTransform(MessageTransform)

public MessageTransform(MessageTransform other)
Parameter
Name Description
other MessageTransform

Properties

Enabled

public bool Enabled { get; set; }

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.

Property Value
Type Description
bool

JavascriptUdf

public JavaScriptUDF JavascriptUdf { get; set; }

Optional. JavaScript User Defined Function. If multiple JavaScriptUDF's are specified on a resource, each must have a unique function_name.

Property Value
Type Description
JavaScriptUDF

TransformCase

public MessageTransform.TransformOneofCase TransformCase { get; }
Property Value
Type Description
MessageTransformTransformOneofCase