View Source GoogleApi.ContentWarehouse.V1.Model.PersonalizationMapsAliasIcon (google_api_content_warehouse v0.4.0)

A subset of an Alias that is stored on kansas max. It is used in Search for alias resolution and in Maps to show icons quickly on basetiles. Next ID: 18

Attributes

  • aliasId (type: GoogleApi.ContentWarehouse.V1.Model.PersonalizationMapsAliasAliasId.t, default: nil) - The id of the alias associated with this point. This is used to query for details for the info window and to display different icons depending on the AliasType contained in this message.
  • droppedPinS2cellId (type: String.t, default: nil) - If this is a dropped pin alias, the leaf (level 30) S2 cell ID corresponding to the aliased lat/lng. Calculated once and stored here so that it can safely be used as an identifier across clients without risk of rounding differences leading to different values.
  • featureId (type: GoogleApi.ContentWarehouse.V1.Model.GeostoreFeatureIdProto.t, default: nil) - The featureid that was associated with the alias when it was saved. If this is not set the lat/lng in 'point' is the aliased entity, i.e. this is a dropped pin alias.
  • featureName (type: String.t, default: nil) - For non-address feature aliases (e.g. businesses), the name of the feature (formatted from the FeatureProto) when it was saved.
  • featureType (type: String.t, default: nil) - The type of the feature associated with the alias.
  • formattedAddress (type: String.t, default: nil) - One-line geocoded address that this lat/lng represents at the time this alias was created by the user.
  • isAdsJoinCompliant (type: boolean(), default: nil) - Indicates whether this alias is Ads join compliant for use by 3p clients. See go/ios_address and go/aliased-locations-provenance for more details. Please contact oolong-team@ for additional questions regarding usage of this field.
  • nickname (type: String.t, default: nil) - Free-text alias if alias type is NICKNAME. Otherwise unset. Limited to 40 characters.
  • point (type: GoogleApi.ContentWarehouse.V1.Model.GeostorePointProto.t, default: nil) - lat/lng the icon is to be shown at.
  • ptoken (type: GoogleApi.ContentWarehouse.V1.Model.PtokenPToken.t, default: nil) - Encapsulates the privacy policy relevant signals for this event. See go/kansas-embedded-ptokens for additional details. Keep the type fully qualified in case (when) we decide to make proto compiler enforce '.ptoken.PToken' as the only allowed type for the field number 9099. Hence, don't remove the leading '.'. See go/protobuf-ptoken-field for details around the 9099 field number.
  • stickerId (type: integer(), default: nil) - The id of the sticker asset chosen by the user to replace the default asset for the alias.
  • syntheticFeature (type: boolean(), default: nil) - If the feature associated with the alias has synthetic_geometry.
  • timestamp (type: String.t, default: nil) - [INTERNAL ONLY] Last update of bigtable by kansas, in microseconds. Volatile only and not saved in kansas column. inmemory only because >= 16.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.PersonalizationMapsAliasIcon{
  aliasId:
    GoogleApi.ContentWarehouse.V1.Model.PersonalizationMapsAliasAliasId.t()
    | nil,
  droppedPinS2cellId: String.t() | nil,
  featureId:
    GoogleApi.ContentWarehouse.V1.Model.GeostoreFeatureIdProto.t() | nil,
  featureName: String.t() | nil,
  featureType: String.t() | nil,
  formattedAddress: String.t() | nil,
  isAdsJoinCompliant: boolean() | nil,
  nickname: String.t() | nil,
  point: GoogleApi.ContentWarehouse.V1.Model.GeostorePointProto.t() | nil,
  ptoken: GoogleApi.ContentWarehouse.V1.Model.PtokenPToken.t() | nil,
  stickerId: integer() | nil,
  syntheticFeature: boolean() | nil,
  timestamp: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.