GoogleApi.ContentWarehouse.V1.Model.LocalsearchProtoInternalFoodOrderingActionMetadata
Table of Contents ▼
Jump to a specific part of the page:
Description
No description given.Attributes List
This module has the following attributes (case-insensitive ascending order):
Attributes
- Proto representing the metadata associated with food ordering internal action. Next ID: 13
-
actionType
(type:String.t
, default:nil
)
- The action type of this action metadata. -
hasPrimarilyFoodIntent
(type:boolean()
, default:nil
)
- If true, it indicates that the merchant has a primarily food intent. This field will only be set when enable_food_gcid_strict_check in FoodOrderingRestrictionProto is true, see go/togo-unified:overlapping-for-le. See go/togo-unified-gcid for how this is calculated. -
isOutOfOperationalHours
(type:boolean()
, default:nil
)
- If set, indicates that the food ordering service is out of operational hours. This could only be populated if the request explicitly asks for ignore_operational_hours in request (universalsearch/rpc/geo/food_ordering_restriction.proto). Design doc: go/fo-persistent-v1. -
isWhitelistedExternalRestaurant
(type:boolean()
, default:nil
)
- When true, indicates that this is a whitelisted restaurant from a first party (but non FO) partner, i.e. a merchant from the orderig app, who is Google owned first party food ordering platform. Design doc: go/onboard-mavn-to-fo. Tracking bug: b/150331855 -
nextOpeningTime
(type:DateTime.t
, default:nil
)
- Next opening time when the food ordering service will be available. This is only present if the unavailability reason is OUT_OF_OPERATIONAL_HOURS. -
onlyOrderAheadServicesAvailable
(type:boolean()
, default:nil
)
- Indicates whether only order ahead services are available. Order ahead services allow only to place order for future and ASAP order can not be placed via them. -
serviceInfo
(type:list(GoogleApi.ContentWarehouse.V1.Model.LocalsearchProtoInternalFoodOrderingActionMetadataServiceInfo)
, default:nil
)
- Aggregated service information by service type. Each service type would only have one ServiceInfo. Optional. -
supportedServiceType
(type:String.t
, default:nil
)
- Food ordering service type.
Type
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.LocalsearchProtoInternalFoodOrderingActionMetadata{
actionType: String.t() | nil,
hasPrimarilyFoodIntent: boolean() | nil,
isOutOfOperationalHours: boolean() | nil,
isWhitelistedExternalRestaurant: boolean() | nil,
nextOpeningTime: DateTime.t() | nil,
onlyOrderAheadServicesAvailable: boolean() | nil,
serviceInfo: [ GoogleApi.ContentWarehouse.V1.Model.LocalsearchProtoInternalFoodOrderingActionMetadataServiceInfo.t() ] | nil,
supportedServiceType: String.t() | nil,
unavailabilityReason: String.t() | nil
}
actionType: String.t() | nil,
hasPrimarilyFoodIntent: boolean() | nil,
isOutOfOperationalHours: boolean() | nil,
isWhitelistedExternalRestaurant: boolean() | nil,
nextOpeningTime: DateTime.t() | nil,
onlyOrderAheadServicesAvailable: boolean() | nil,
serviceInfo: [ GoogleApi.ContentWarehouse.V1.Model.LocalsearchProtoInternalFoodOrderingActionMetadataServiceInfo.t() ] | nil,
supportedServiceType: String.t() | nil,
unavailabilityReason: String.t() | nil
}
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.LocalsearchProtoInternalFoodOrderingActionMetadata