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.
Implements
IMessageMessageTransform, IEquatableMessageTransform, IDeepCloneableMessageTransform, IBufferMessage, IMessageNamespace
Google.Cloud.PubSub.V1Assembly
Google.Cloud.PubSub.V1.dll
Constructors
MessageTransform()
public MessageTransform()
MessageTransform(MessageTransform)
public MessageTransform(MessageTransform other)
Parameter | |
---|---|
Name | Description |
other |
MessageTransform |
Properties
Disabled
public bool Disabled { get; set; }
Optional. If true, the transform is disabled and will not be applied to
messages. Defaults to false
.
Property Value | |
---|---|
Type | Description |
bool |
Enabled
[Obsolete]
public bool Enabled { get; set; }
Optional. This field is deprecated, use the disabled
field to disable
transforms.
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 |