# Cloud Talent Solution V4beta1 API - Class Google::Cloud::Talent::V4beta1::Location (v0.19.0)

0.19.0 (latest) 0.18.1 0.17.1 0.16.0 0.15.0 0.14.1 0.13.0 0.12.0 0.11.1 0.10.2 0.9.0 0.8.1 0.7.0 0.6.1 0.5.0 0.4.6 Reference documentation and code samples for the Cloud Talent Solution V4beta1 API class Google::Cloud::Talent::V4beta1::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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4beta1/latest/Google-Type-LatLng)) --- An object representing a latitude/longitude pair.

### #lat_lng=

    def lat_lng=(value) -> ::Google::Type::LatLng

**Parameter**

- **value** ([::Google::Type::LatLng](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4beta1/latest/Google-Type-LatLng)) --- An object representing a latitude/longitude pair.
**Returns**

- ([::Google::Type::LatLng](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4beta1/latest/Google-Type-LatLng)) --- An object representing a latitude/longitude pair.

### #location_type

    def location_type() -> ::Google::Cloud::Talent::V4beta1::Location::LocationType

**Returns**

- ([::Google::Cloud::Talent::V4beta1::Location::LocationType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4beta1/latest/Google-Cloud-Talent-V4beta1-Location-LocationType)) --- The type of a location, which corresponds to the address lines field of [google.type.PostalAddress](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4beta1/latest/Google-Type-PostalAddress "Google::Type::PostalAddress (class)"). For example, "Downtown, Atlanta, GA, USA" has a type of [LocationType.NEIGHBORHOOD](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4beta1/latest/Google-Cloud-Talent-V4beta1-Location-LocationType#Google__Cloud__Talent__V4beta1__Location__LocationType__NEIGHBORHOOD "Google::Cloud::Talent::V4beta1::Location::LocationType::NEIGHBORHOOD (constant)"), and "Kansas City, KS, USA" has a type of [LocationType.LOCALITY](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4beta1/latest/Google-Cloud-Talent-V4beta1-Location-LocationType#Google__Cloud__Talent__V4beta1__Location__LocationType__LOCALITY "Google::Cloud::Talent::V4beta1::Location::LocationType::LOCALITY (constant)").

### #location_type=

    def location_type=(value) -> ::Google::Cloud::Talent::V4beta1::Location::LocationType

**Parameter**

- **value** ([::Google::Cloud::Talent::V4beta1::Location::LocationType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4beta1/latest/Google-Cloud-Talent-V4beta1-Location-LocationType)) --- The type of a location, which corresponds to the address lines field of [google.type.PostalAddress](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4beta1/latest/Google-Type-PostalAddress "Google::Type::PostalAddress (class)"). For example, "Downtown, Atlanta, GA, USA" has a type of [LocationType.NEIGHBORHOOD](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4beta1/latest/Google-Cloud-Talent-V4beta1-Location-LocationType#Google__Cloud__Talent__V4beta1__Location__LocationType__NEIGHBORHOOD "Google::Cloud::Talent::V4beta1::Location::LocationType::NEIGHBORHOOD (constant)"), and "Kansas City, KS, USA" has a type of [LocationType.LOCALITY](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4beta1/latest/Google-Cloud-Talent-V4beta1-Location-LocationType#Google__Cloud__Talent__V4beta1__Location__LocationType__LOCALITY "Google::Cloud::Talent::V4beta1::Location::LocationType::LOCALITY (constant)").
**Returns**

- ([::Google::Cloud::Talent::V4beta1::Location::LocationType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4beta1/latest/Google-Cloud-Talent-V4beta1-Location-LocationType)) --- The type of a location, which corresponds to the address lines field of [google.type.PostalAddress](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4beta1/latest/Google-Type-PostalAddress "Google::Type::PostalAddress (class)"). For example, "Downtown, Atlanta, GA, USA" has a type of [LocationType.NEIGHBORHOOD](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4beta1/latest/Google-Cloud-Talent-V4beta1-Location-LocationType#Google__Cloud__Talent__V4beta1__Location__LocationType__NEIGHBORHOOD "Google::Cloud::Talent::V4beta1::Location::LocationType::NEIGHBORHOOD (constant)"), and "Kansas City, KS, USA" has a type of [LocationType.LOCALITY](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4beta1/latest/Google-Cloud-Talent-V4beta1-Location-LocationType#Google__Cloud__Talent__V4beta1__Location__LocationType__LOCALITY "Google::Cloud::Talent::V4beta1::Location::LocationType::LOCALITY (constant)").

### #postal_address

    def postal_address() -> ::Google::Type::PostalAddress

**Returns**

- ([::Google::Type::PostalAddress](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4beta1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4beta1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4beta1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4beta1/latest/Google-Type-LatLng "Google::Type::LatLng (class)") 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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4beta1/latest/Google-Type-LatLng "Google::Type::LatLng (class)") 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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4beta1/latest/Google-Type-LatLng "Google::Type::LatLng (class)") covers the area associated with the job location. For example, currently, "Mountain View, CA, USA" has a radius of 6.17 miles.