GenericExtension
Stay organized with collections
Save and categorize content based on your preferences.
Deprecated: Use V3 Proto instead. Extension for generic orders that are not tied to a semantic type.
JSON representation |
{
"locations": [
{
object (OrderLocation )
}
],
"time": {
object (Time )
}
} |
Fields |
locations[] |
object (OrderLocation )
Locations associated with the order. Up to 2 locations.
|
time |
object (Time )
time indicator associated with the proposed order.
|
OrderLocation
Deprecated: Use V3 Proto instead. Location associated with an order.
Fields |
type |
enum (OrderLocationType )
Address type. Determines icon and placement. Required.
|
location |
object (Location )
Contains actual location info.
|
Time
Deprecated: Use V3 Proto instead. time associated with an order.
JSON representation |
{
"type": enum (TimeType ),
"timeIso8601": string
} |
Fields |
type |
enum (TimeType )
type of time indicator.
|
timeIso8601 |
string
ISO 8601 representation of time indicator: could be a duration, date or exact datetime.
|
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-09-18 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-09-18 UTC."],[[["GenericExtension is deprecated and developers should use V3 Proto instead."],["It allows for specifying order locations and time associated with an order."],["Locations can be specified with an address type and location information."],["Time can be indicated as a duration, date, or exact datetime in ISO 8601 format."]]],["The core content describes the deprecated JSON structures for representing order information, specifically `OrderLocation` and `Time`. An order can have up to two associated `locations`, defined by `type` and detailed `location` info. The order includes a `time` indicator, specified by a `type` and an ISO 8601 string. These structures are now replaced by V3 Proto.\n"]]