Class AvroConfig
Configuration for writing message data in Avro format. Message payloads and metadata will be written to files as an Avro binary.
Implements
Inherited Members
Namespace: Google.Apis.Pubsub.v1.Data
Assembly: Google.Apis.Pubsub.v1.dll
Syntax
public class AvroConfig : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
UseTopicSchema
Optional. When true, the output Cloud Storage file will be serialized using the topic schema, if it exists.
Declaration
[JsonProperty("useTopicSchema")]
public virtual bool? UseTopicSchema { get; set; }
Property Value
Type | Description |
---|---|
bool? |
WriteMetadata
Optional. When true, write the subscription name, message_id, publish_time, attributes, and ordering_key as additional fields in the output. The subscription name, message_id, and publish_time fields are put in their own fields while all other message properties other than data (for example, an ordering_key, if present) are added as entries in the attributes map.
Declaration
[JsonProperty("writeMetadata")]
public virtual bool? WriteMetadata { get; set; }
Property Value
Type | Description |
---|---|
bool? |