Class GoogleCloudContentwarehouseV1MergeFieldsOptions
Options for merging updated fields.
Implements
Inherited Members
Namespace: Google.Apis.Contentwarehouse.v1.Data
Assembly: Google.Apis.Contentwarehouse.v1.dll
Syntax
public class GoogleCloudContentwarehouseV1MergeFieldsOptions : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ReplaceMessageFields
When merging message fields, the default behavior is to merge the content of two message fields together. If you instead want to use the field from the source message to replace the corresponding field in the destination message, set this flag to true. When this flag is set, specified submessage fields that are missing in source will be cleared in destination.
Declaration
[JsonProperty("replaceMessageFields")]
public virtual bool? ReplaceMessageFields { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
ReplaceRepeatedFields
When merging repeated fields, the default behavior is to append entries from the source repeated field to the destination repeated field. If you instead want to keep only the entries from the source repeated field, set this flag to true. If you want to replace a repeated field within a message field on the destination message, you must set both replace_repeated_fields and replace_message_fields to true, otherwise the repeated fields will be appended.
Declaration
[JsonProperty("replaceRepeatedFields")]
public virtual bool? ReplaceRepeatedFields { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |