GoogleCloudContentwarehouseV1MergeFieldsOptions

AI Overview😉

  • The potential purpose of this module is to control how Google merges and updates fields when combining data from different sources. It allows for customization of how repeated fields and message fields are handled during the merging process.
  • This module could impact search results by affecting how Google combines and displays data from different sources. For example, if a website has multiple reviews from different sources, this module could influence how those reviews are merged and displayed in search results. It could also impact the ranking of search results if the merged data is used as a ranking factor.
  • To be more favorable for this function, a website could ensure that its data is well-structured and consistent, making it easier for Google to merge and update fields accurately. Additionally, websites could provide clear and concise data that reduces the need for merging and updating, making it easier for Google to display accurate and relevant information in search results.

Interesting Module? Vote 👇

Voting helps other researchers find interesting modules.

Current Votes: 0

GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1MergeFieldsOptions (google_api_content_warehouse v0.4.0)

Options for merging updated fields.

Attributes

  • replaceMessageFields (type: boolean(), default: nil) - 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.
  • replaceRepeatedFields (type: boolean(), default: nil) - 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.

Summary

Types

t()

Functions

decode(value, options)

Unwrap a decoded JSON object into its complex fields.

Types

Link to this type

t()

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.GoogleCloudContentwarehouseV1MergeFieldsOptions{
    replaceMessageFields: boolean() | nil,
    replaceRepeatedFields: boolean() | nil
  }

Functions

Link to this function

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.