View Source GoogleApi.Jobs.V2.Model.JobLocation (google_api_jobs v0.19.0)

Output only.

A resource that represents a location with full geographic information.

Attributes

  • latLng (type: GoogleApi.Jobs.V2.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 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.V2.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.
  • radiusMeters (type: float(), default: nil) - Radius in meters of the job location. This value is derived from the location bounding box in which a circle with the specified radius centered from LatLng coves the area associated with the job location. For example, currently, "Mountain View, CA, USA" has a radius of 7885.79 meters.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Jobs.V2.Model.JobLocation{
  latLng: GoogleApi.Jobs.V2.Model.LatLng.t(),
  locationType: String.t(),
  postalAddress: GoogleApi.Jobs.V2.Model.PostalAddress.t(),
  radiusMeters: float()
}

Functions

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

Unwrap a decoded JSON object into its complex fields.