Class: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceParkingOptions
- Inherits:
-
Object
- Object
- Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceParkingOptions
- 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
Information about parking options for the place. A parking lot could support more than one option at the same time.
Instance Attribute Summary collapse
-
#free_garage_parking ⇒ Boolean
(also: #free_garage_parking?)
Place offers free garage parking.
-
#free_parking_lot ⇒ Boolean
(also: #free_parking_lot?)
Place offers free parking lots.
-
#free_street_parking ⇒ Boolean
(also: #free_street_parking?)
Place offers free street parking.
-
#paid_garage_parking ⇒ Boolean
(also: #paid_garage_parking?)
Place offers paid garage parking.
-
#paid_parking_lot ⇒ Boolean
(also: #paid_parking_lot?)
Place offers paid parking lots.
-
#paid_street_parking ⇒ Boolean
(also: #paid_street_parking?)
Place offers paid street parking.
-
#valet_parking ⇒ Boolean
(also: #valet_parking?)
Place offers valet parking.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleMapsPlacesV1PlaceParkingOptions
constructor
A new instance of GoogleMapsPlacesV1PlaceParkingOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleMapsPlacesV1PlaceParkingOptions
Returns a new instance of GoogleMapsPlacesV1PlaceParkingOptions.
2128 2129 2130 |
# File 'lib/google/apis/places_v1/classes.rb', line 2128 def initialize(**args) update!(**args) end |
Instance Attribute Details
#free_garage_parking ⇒ Boolean Also known as: free_garage_parking?
Place offers free garage parking.
Corresponds to the JSON property freeGarageParking
2089 2090 2091 |
# File 'lib/google/apis/places_v1/classes.rb', line 2089 def free_garage_parking @free_garage_parking end |
#free_parking_lot ⇒ Boolean Also known as: free_parking_lot?
Place offers free parking lots.
Corresponds to the JSON property freeParkingLot
2095 2096 2097 |
# File 'lib/google/apis/places_v1/classes.rb', line 2095 def free_parking_lot @free_parking_lot end |
#free_street_parking ⇒ Boolean Also known as: free_street_parking?
Place offers free street parking.
Corresponds to the JSON property freeStreetParking
2101 2102 2103 |
# File 'lib/google/apis/places_v1/classes.rb', line 2101 def free_street_parking @free_street_parking end |
#paid_garage_parking ⇒ Boolean Also known as: paid_garage_parking?
Place offers paid garage parking.
Corresponds to the JSON property paidGarageParking
2107 2108 2109 |
# File 'lib/google/apis/places_v1/classes.rb', line 2107 def paid_garage_parking @paid_garage_parking end |
#paid_parking_lot ⇒ Boolean Also known as: paid_parking_lot?
Place offers paid parking lots.
Corresponds to the JSON property paidParkingLot
2113 2114 2115 |
# File 'lib/google/apis/places_v1/classes.rb', line 2113 def paid_parking_lot @paid_parking_lot end |
#paid_street_parking ⇒ Boolean Also known as: paid_street_parking?
Place offers paid street parking.
Corresponds to the JSON property paidStreetParking
2119 2120 2121 |
# File 'lib/google/apis/places_v1/classes.rb', line 2119 def paid_street_parking @paid_street_parking end |
#valet_parking ⇒ Boolean Also known as: valet_parking?
Place offers valet parking.
Corresponds to the JSON property valetParking
2125 2126 2127 |
# File 'lib/google/apis/places_v1/classes.rb', line 2125 def valet_parking @valet_parking end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2133 2134 2135 2136 2137 2138 2139 2140 2141 |
# File 'lib/google/apis/places_v1/classes.rb', line 2133 def update!(**args) @free_garage_parking = args[:free_garage_parking] if args.key?(:free_garage_parking) @free_parking_lot = args[:free_parking_lot] if args.key?(:free_parking_lot) @free_street_parking = args[:free_street_parking] if args.key?(:free_street_parking) @paid_garage_parking = args[:paid_garage_parking] if args.key?(:paid_garage_parking) @paid_parking_lot = args[:paid_parking_lot] if args.key?(:paid_parking_lot) @paid_street_parking = args[:paid_street_parking] if args.key?(:paid_street_parking) @valet_parking = args[:valet_parking] if args.key?(:valet_parking) end |