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.
OrderLocation
Deprecated: Use V3 Proto instead. Location associated with an order.
Time
Deprecated: Use V3 Proto instead. time associated with an order.
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."],[[["\u003cp\u003eGenericExtension is deprecated and developers should use V3 Proto instead.\u003c/p\u003e\n"],["\u003cp\u003eIt allows for specifying order locations and time associated with an order.\u003c/p\u003e\n"],["\u003cp\u003eLocations can be specified with an address type and location information.\u003c/p\u003e\n"],["\u003cp\u003eTime can be indicated as a duration, date, or exact datetime in ISO 8601 format.\u003c/p\u003e\n"]]],["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"],null,["# GenericExtension\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [OrderLocation](#OrderLocation)\n - [JSON representation](#OrderLocation.SCHEMA_REPRESENTATION)\n- [Time](#Time)\n - [JSON representation](#Time.SCHEMA_REPRESENTATION)\n\n| This item is deprecated!\nDeprecated: Use V3 Proto instead. Extension for generic orders that are not tied to a semantic type.\n\n| JSON representation ||\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ``` { \"locations\": [ { object (/assistant/df-asdk/reference/webhook/rest/Shared.Types/GenericExtension#OrderLocation) } ], \"time\": { object (/assistant/df-asdk/reference/webhook/rest/Shared.Types/GenericExtension#Time) } } ``` |\n\n| Fields ||\n|---------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `locations[]` | `object (`[OrderLocation](/assistant/df-asdk/reference/webhook/rest/Shared.Types/GenericExtension#OrderLocation)`)` Locations associated with the order. Up to 2 locations. |\n| `time` | `object (`[Time](/assistant/df-asdk/reference/webhook/rest/Shared.Types/GenericExtension#Time)`)` time indicator associated with the proposed order. |\n\nOrderLocation\n-------------\n\n| This item is deprecated!\nDeprecated: Use V3 Proto instead. Location associated with an order.\n\n| JSON representation ||\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ``` { \"type\": enum (/assistant/df-asdk/reference/webhook/rest/Shared.Types/OrderLocationType), \"location\": { object (/assistant/df-asdk/reference/webhook/rest/Shared.Types/Location) } } ``` |\n\n| Fields ||\n|------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `type` | `enum (`[OrderLocationType](/assistant/df-asdk/reference/webhook/rest/Shared.Types/OrderLocationType)`)` Address type. Determines icon and placement. Required. |\n| `location` | `object (`[Location](/assistant/df-asdk/reference/webhook/rest/Shared.Types/Location)`)` Contains actual location info. |\n\nTime\n----\n\n| This item is deprecated!\nDeprecated: Use V3 Proto instead. time associated with an order.\n\n| JSON representation ||\n|-------------------------------------------------------------------------------------------------------------------|---|\n| ``` { \"type\": enum (/assistant/df-asdk/reference/webhook/rest/Shared.Types/TimeType), \"timeIso8601\": string } ``` |\n\n| Fields ||\n|---------------|----------------------------------------------------------------------------------------------------------------|\n| `type` | `enum (`[TimeType](/assistant/df-asdk/reference/webhook/rest/Shared.Types/TimeType)`)` type of time indicator. |\n| `timeIso8601` | `string` ISO 8601 representation of time indicator: could be a duration, date or exact datetime. |"]]