Class: Google::Apis::PlacesV1::GoogleMapsPlacesV1SearchNearbyRequestLocationRestriction
- Inherits:
-
Object
- Object
- Google::Apis::PlacesV1::GoogleMapsPlacesV1SearchNearbyRequestLocationRestriction
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/places_v1/classes.rb,
lib/google/apis/places_v1/representations.rb,
lib/google/apis/places_v1/representations.rb
Overview
The region to search.
Instance Attribute Summary collapse
-
#circle ⇒ Google::Apis::PlacesV1::GoogleMapsPlacesV1Circle
Circle with a LatLng as center and radius.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleMapsPlacesV1SearchNearbyRequestLocationRestriction
constructor
A new instance of GoogleMapsPlacesV1SearchNearbyRequestLocationRestriction.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleMapsPlacesV1SearchNearbyRequestLocationRestriction
Returns a new instance of GoogleMapsPlacesV1SearchNearbyRequestLocationRestriction.
2692 2693 2694 |
# File 'lib/google/apis/places_v1/classes.rb', line 2692 def initialize(**args) update!(**args) end |
Instance Attribute Details
#circle ⇒ Google::Apis::PlacesV1::GoogleMapsPlacesV1Circle
Circle with a LatLng as center and radius.
Corresponds to the JSON property circle
2690 2691 2692 |
# File 'lib/google/apis/places_v1/classes.rb', line 2690 def circle @circle end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2697 2698 2699 |
# File 'lib/google/apis/places_v1/classes.rb', line 2697 def update!(**args) @circle = args[:circle] if args.key?(:circle) end |