View Source GoogleApi.Jobs.V4.Model.Location (google_api_jobs v0.20.0)

A resource that represents a location with full geographic information.

Attributes

  • latLng (type: GoogleApi.Jobs.V4.Model.LatLng.t, default: nil) - An object representing a latitude/longitude pair.
  • locationType (type: String.t, default: nil) - The type of a location, which corresponds to the address lines field of google.type.PostalAddress. For example, "Downtown, Atlanta, GA, USA" has a type of LocationType.NEIGHBORHOOD, and "Kansas City, KS, USA" has a type of LocationType.LOCALITY.
  • postalAddress (type: GoogleApi.Jobs.V4.Model.PostalAddress.t, default: nil) - Postal address of the location that includes human readable information, such as postal delivery and payments addresses. Given a postal address, a postal service can deliver items to a premises, P.O. Box, or other delivery location.
  • radiusMiles (type: float(), default: nil) - Radius in miles of the job location. This value is derived from the location bounding box in which a circle with the specified radius centered from google.type.LatLng covers the area associated with the job location. For example, currently, "Mountain View, CA, USA" has a radius of 6.17 miles.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Jobs.V4.Model.Location{
  latLng: GoogleApi.Jobs.V4.Model.LatLng.t() | nil,
  locationType: String.t() | nil,
  postalAddress: GoogleApi.Jobs.V4.Model.PostalAddress.t() | nil,
  radiusMiles: float() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.