GoogleApi.Solar.V1.Model.BuildingInsights (google_api_solar v0.4.2)

View Source

Response message for Solar.FindClosestBuildingInsights. Information about the location, dimensions, and solar potential of a building.

Attributes

  • administrativeArea (type: String.t, default: nil) - Administrative area 1 (e.g., in the US, the state) that contains this building. For example, in the US, the abbreviation might be "MA" or "CA."
  • boundingBox (type: GoogleApi.Solar.V1.Model.LatLngBox.t, default: nil) - The bounding box of the building.
  • center (type: GoogleApi.Solar.V1.Model.LatLng.t, default: nil) - A point near the center of the building.
  • imageryDate (type: GoogleApi.Solar.V1.Model.Date.t, default: nil) - Date that the underlying imagery was acquired. This is approximate.
  • imageryProcessedDate (type: GoogleApi.Solar.V1.Model.Date.t, default: nil) - When processing was completed on this imagery.
  • imageryQuality (type: String.t, default: nil) - The quality of the imagery used to compute the data for this building.
  • name (type: String.t, default: nil) - The resource name for the building, of the format buildings/{place_id}.
  • postalCode (type: String.t, default: nil) - Postal code (e.g., US zip code) this building is contained by.
  • regionCode (type: String.t, default: nil) - Region code for the country (or region) this building is in.
  • solarPotential (type: GoogleApi.Solar.V1.Model.SolarPotential.t, default: nil) - Solar potential of the building.
  • statisticalArea (type: String.t, default: nil) - Statistical area (e.g., US census tract) this building is in.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Solar.V1.Model.BuildingInsights{
  administrativeArea: String.t() | nil,
  boundingBox: GoogleApi.Solar.V1.Model.LatLngBox.t() | nil,
  center: GoogleApi.Solar.V1.Model.LatLng.t() | nil,
  imageryDate: GoogleApi.Solar.V1.Model.Date.t() | nil,
  imageryProcessedDate: GoogleApi.Solar.V1.Model.Date.t() | nil,
  imageryQuality: String.t() | nil,
  name: String.t() | nil,
  postalCode: String.t() | nil,
  regionCode: String.t() | nil,
  solarPotential: GoogleApi.Solar.V1.Model.SolarPotential.t() | nil,
  statisticalArea: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.