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-10-12 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-10-12 UTC."],[[["FeedAttributes define the data types expected within a Feed, ensuring all FeedItems contain the correct information."],["Each FeedAttribute specifies the type of data for corresponding FeedItemAttributes sharing the same FeedAttributeId."],["FeedAttributes can optionally be designated as part of a FeedItem's unique key for identification purposes, but this is not required."]]],[]]