GeostoreFoodMenuItemOptionProtoPortionSize

AI Overview😉

  • The potential purpose of this module is to help Google understand the serving portion sizes of food dishes, including the quantity and unit of measurement, in multiple languages. This information can be used to provide more accurate and relevant search results for users searching for food-related queries.
  • This module could impact search results by allowing Google to better understand the context and relevance of food-related content. For example, if a user searches for "healthy lunch options", Google may prioritize search results that provide clear and accurate portion size information, as this is an important factor in determining the healthiness of a meal.
  • To be more favorable for this function, a website may want to ensure that they provide clear and structured data about the portion sizes of their food dishes, including the quantity and unit of measurement. This could involve using schema markup or other forms of structured data to provide this information in a way that is easily understandable by Google's algorithm. Additionally, providing this information in multiple languages could also be beneficial.

Interesting Module? Vote 👇

Voting helps other researchers find interesting modules.

Current Votes: 0

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

This message denotes the serving portion size of a food dish.

Attributes

  • quantity (type: integer(), default: nil) - Required.
  • unit (type: list(GoogleApi.ContentWarehouse.V1.Model.GeostorePriceListNameInfoProto.t), default: nil) - Required. The repeated name_info field is for the unit in multiple languages.

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.GeostoreFoodMenuItemOptionProtoPortionSize{
    quantity: integer() | nil,
    unit:
      [GoogleApi.ContentWarehouse.V1.Model.GeostorePriceListNameInfoProto.t()]
      | nil
  }

Functions

Link to this function

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.