Reference documentation and code samples for the Cloud Talent Solution V4 API class Google::Cloud::Talent::V4::Location.
A resource that represents a location with full geographic information.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#lat_lng
def lat_lng() -> ::Google::Type::LatLng
Returns
- (::Google::Type::LatLng) — An object representing a latitude/longitude pair.
#lat_lng=
def lat_lng=(value) -> ::Google::Type::LatLng
Parameter
- value (::Google::Type::LatLng) — An object representing a latitude/longitude pair.
Returns
- (::Google::Type::LatLng) — An object representing a latitude/longitude pair.
#location_type
def location_type() -> ::Google::Cloud::Talent::V4::Location::LocationType
Returns
- (::Google::Cloud::Talent::V4::Location::LocationType) — 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.
#location_type=
def location_type=(value) -> ::Google::Cloud::Talent::V4::Location::LocationType
Parameter
- value (::Google::Cloud::Talent::V4::Location::LocationType) — 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.
Returns
- (::Google::Cloud::Talent::V4::Location::LocationType) — 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.
#postal_address
def postal_address() -> ::Google::Type::PostalAddress
Returns
- (::Google::Type::PostalAddress) — 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.
#postal_address=
def postal_address=(value) -> ::Google::Type::PostalAddress
Parameter
- value (::Google::Type::PostalAddress) — 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.
Returns
- (::Google::Type::PostalAddress) — 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.
#radius_miles
def radius_miles() -> ::Float
Returns
- (::Float) — 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.
#radius_miles=
def radius_miles=(value) -> ::Float
Parameter
- value (::Float) — 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.
Returns
- (::Float) — 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.