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

A user specified location to trigger weather for a specific location. Also it can be generalized for other verticals.

Attributes

  • featureId (type: GoogleApi.ContentWarehouse.V1.Model.GeostoreFeatureIdProto.t, default: nil) - (Mandatory) Oyster ID.
  • latLng (type: GoogleApi.ContentWarehouse.V1.Model.GoogleTypeLatLng.t, default: nil) - (Mandatory) Coordinates of the location for which weather is requested.
  • locationName (type: String.t, default: nil) - The name to display. If specified it will override the formatted address of "feature_id".
  • mid (type: String.t, default: nil) - MID corresponding to the location from feature_id.
  • timezone (type: String.t, default: nil) - The timezone to display the current conditions observation time. Optional and will override the timezone of "feature_id".

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.KnowledgeVerticalsWeatherProtoUserSpecifiedLocation{
    featureId:
      GoogleApi.ContentWarehouse.V1.Model.GeostoreFeatureIdProto.t() | nil,
    latLng: GoogleApi.ContentWarehouse.V1.Model.GoogleTypeLatLng.t() | nil,
    locationName: String.t() | nil,
    mid: String.t() | nil,
    timezone: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.