View Source GoogleApi.ContentWarehouse.V1.Model.RepositoryAnnotationsGeoTopic (google_api_content_warehouse v0.3.0)

GeoTopicality of a document is a set of GeoTopics ordered by their normalized scores.

Attributes

  • address (type: GoogleApi.ContentWarehouse.V1.Model.GeostoreAddressProto.t, default: nil) - Stores parent/container information containing city, province & country.
  • componentScores (type: list(GoogleApi.ContentWarehouse.V1.Model.RepositoryAnnotationsGeoTopicalityScore.t), default: nil) - The raw scores used to calculate the normalized_score. Note that not all these scores may be exposed to the users.
  • confidence (type: number(), default: nil) - A score [0, 1] indicating the confidence.
  • denseCity (type: boolean(), default: nil) - Is this a dense city (e.g., population > 100k)?
  • establishmentType (type: integer(), default: nil) - Sub type for POI types like ESTABLISHMENT_POI, ESTABLISHMENT_GROUNDS & ESTABLISHMENT_BUILDING
  • latE7 (type: integer(), default: nil) - Latitude and Longitude of the location.
  • lngE7 (type: integer(), default: nil) -
  • locationName (type: String.t, default: nil) - Name of the Geographic location. This is the normalized name.
  • normalizedScore (type: number(), default: nil) - A score [0, 1] indicating the likelihood of the location being the GeoTopicality.
  • oysterId (type: GoogleApi.ContentWarehouse.V1.Model.GeostoreFeatureIdProto.t, default: nil) - Oyster Feature ID of the location.
  • oysterType (type: integer(), default: nil) - Oyster Feature Type
  • sumContainedPoiNormalizedScores (type: number(), default: nil) - The sum of the normalized scores of POIs contained within a particular locality.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.RepositoryAnnotationsGeoTopic{
  address: GoogleApi.ContentWarehouse.V1.Model.GeostoreAddressProto.t() | nil,
  componentScores:
    [
      GoogleApi.ContentWarehouse.V1.Model.RepositoryAnnotationsGeoTopicalityScore.t()
    ]
    | nil,
  confidence: number() | nil,
  denseCity: boolean() | nil,
  establishmentType: integer() | nil,
  latE7: integer() | nil,
  lngE7: integer() | nil,
  locationName: String.t() | nil,
  normalizedScore: number() | nil,
  oysterId:
    GoogleApi.ContentWarehouse.V1.Model.GeostoreFeatureIdProto.t() | nil,
  oysterType: integer() | nil,
  sumContainedPoiNormalizedScores: number() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.