FeedAttribute
Stay organized with collections
Save and categorize content based on your preferences.
FeedAttributes define the types of data expected to be present in a Feed. A single FeedAttribute specifies the expected type of the FeedItemAttributes with the same FeedAttributeId. Optionally, a FeedAttribute can be marked as being part of a FeedItem's unique key.
Fields |
type
|
FeedAttributeType
Data type for feed attribute. Required.
|
id
|
int64
ID of the attribute.
|
name
|
string
The name of the attribute. Required.
|
is_part_of_key
|
bool
Indicates that data corresponding to this attribute is part of a FeedItem's unique key. It defaults to false if it is unspecified. Note that a unique key is not required in a Feed's schema, in which case the FeedItems must be referenced by their feed_item_id.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-25 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-25 UTC."],[[["FeedAttributes define the data types expected within a Feed and are linked to FeedItemAttributes by a shared FeedAttributeId."],["Each FeedAttribute specifies the data type, ID, and name, and can optionally be designated as part of a FeedItem's unique key."],["If a Feed schema lacks a unique key, FeedItems must be referenced using their feed_item_id."]]],[]]