Google Super

GOOGLESUPER_ADD_ENRICHMENT

Adds an enrichment at a specified position in a defined album.

Remote googlesuper

Other tools also called GOOGLESUPER_ADD_ENRICHMENT? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "albumId": {
      "type": "string",
      "title": "Album Id",
      "examples": [
        "AGj1epU5H_bR3MWuuGxsVwk0TkwvNhxEGi1"
      ],
      "description": "Identifier of the album where the enrichment is to be added"
    },
    "albumPosition": {
      "type": "object",
      "title": "Album Position",
      "examples": [
        "FIRST_IN_ALBUM"
      ],
      "required": [
        "position"
      ],
      "properties": {
        "position": {
          "enum": [
            "POSITION_TYPE_UNSPECIFIED",
            "FIRST_IN_ALBUM",
            "LAST_IN_ALBUM",
            "AFTER_MEDIA_ITEM",
            "AFTER_ENRICHMENT_ITEM"
          ],
          "type": "string",
          "title": "Position",
          "description": "Type of position, for a media or enrichment item"
        },
        "relativeMediaItemId": {
          "type": "string",
          "title": "Relative Media Item Id",
          "description": "The media item to which the position is relative to. Only used when position type is AFTER_MEDIA_ITEM"
        },
        "relativeEnrichmentItemId": {
          "type": "string",
          "title": "Relative Enrichment Item Id",
          "description": "The enrichment item to which the position is relative to. Only used when position type is AFTER_ENRICHMENT_ITEM"
        }
      },
      "description": "Position in the album where the enrichment is to be inserted. Valid options are: POSITION_TYPE_UNSPECIFIED, FIRST_IN_ALBUM, LAST_IN_ALBUM, AFTER_MEDIA_ITEM, AFTER_ENRICHMENT_ITEM",
      "additionalProperties": false
    },
    "newEnrichmentItem": {
      "type": "object",
      "title": "New Enrichment Item",
      "examples": [
        {
          "textEnrichment": {
            "text": "Trip to Paris"
          }
        }
      ],
      "properties": {
        "mapEnrichment": {
          "type": "object",
          "title": "Map Enrichment",
          "required": [
            "origin",
            "destination"
          ],
          "properties": {
            "origin": {
              "type": "object",
              "title": "Origin",
              "required": [
                "locationName",
                "latlng"
              ],
              "properties": {
                "latlng": {
                  "type": "object",
                  "title": "Latlng",
                  "required": [
                    "latitude",
                    "longitude"
                  ],
                  "properties": {
                    "latitude": {
                      "type": "number",
                      "title": "Latitude",
                      "maximum": 90,
                      "minimum": -90,
                      "description": "Latitude in degrees"
                    },
                    "longitude": {
                      "type": "number",
                      "title": "Longitude",
                      "maximum": 180,
                      "minimum": -180,
                      "description": "Longitude in degrees"
                    }
                  },
                  "description": "Position of the location on the map",
                  "additionalProperties": false
                },
                "locationName": {
                  "type": "string",
                  "title": "Location Name",
                  "description": "Name of the location to be displayed"
                }
              },
              "description": "Origin location for this enrichment item",
              "additionalProperties": false
            },
            "destination": {
              "type": "object",
              "title": "Destination",
              "required": [
                "locationName",
                "latlng"
              ],
              "properties": {
                "latlng": {
                  "type": "object",
                  "title": "Latlng",
                  "required": [
                    "latitude",
                    "longitude"
                  ],
                  "properties": {
                    "latitude": {
                      "type": "number",
                      "title": "Latitude",
                      "maximum": 90,
                      "minimum": -90,
                      "description": "Latitude in degrees"
                    },
                    "longitude": {
                      "type": "number",
                      "title": "Longitude",
                      "maximum": 180,
                      "minimum": -180,
                      "description": "Longitude in degrees"
                    }
                  },
                  "description": "Position of the location on the map",
                  "additionalProperties": false
                },
                "locationName": {
                  "type": "string",
                  "title": "Location Name",
                  "description": "Name of the location to be displayed"
                }
              },
              "description": "Destination location for this enrichment item",
              "additionalProperties": false
            }
          },
          "additionalProperties": false
        },
        "textEnrichment": {
          "type": "object",
          "title": "Text Enrichment",
          "required": [
            "text"
          ],
          "properties": {
            "text": {
              "type": "string",
              "title": "Text",
              "description": "Text for this enrichment item"
            }
          },
          "additionalProperties": false
        },
        "locationEnrichment": {
          "type": "object",
          "title": "Location Enrichment",
          "required": [
            "location"
          ],
          "properties": {
            "location": {
              "type": "object",
              "title": "Location",
              "required": [
                "locationName",
                "latlng"
              ],
              "properties": {
                "latlng": {
                  "type": "object",
                  "title": "Latlng",
                  "required": [
                    "latitude",
                    "longitude"
                  ],
                  "properties": {
                    "latitude": {
                      "type": "number",
                      "title": "Latitude",
                      "maximum": 90,
                      "minimum": -90,
                      "description": "Latitude in degrees"
                    },
                    "longitude": {
                      "type": "number",
                      "title": "Longitude",
                      "maximum": 180,
                      "minimum": -180,
                      "description": "Longitude in degrees"
                    }
                  },
                  "description": "Position of the location on the map",
                  "additionalProperties": false
                },
                "locationName": {
                  "type": "string",
                  "title": "Location Name",
                  "description": "Name of the location to be displayed"
                }
              },
              "description": "Location for this enrichment item",
              "additionalProperties": false
            }
          },
          "additionalProperties": false
        }
      },
      "description": "The enrichment to be added, can be a text, location, or map enrichment",
      "additionalProperties": false
    }
  }
}