Class: Google::Apis::PlacesV1::GoogleMapsPlacesV1Place

Inherits:
Object
  • Object
show all
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

All the information representing a Place.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleMapsPlacesV1Place

Returns a new instance of GoogleMapsPlacesV1Place.



1570
1571
1572
# File 'lib/google/apis/places_v1/classes.rb', line 1570

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#accessibility_optionsGoogle::Apis::PlacesV1::GoogleMapsPlacesV1PlaceAccessibilityOptions

Information about the accessibility options a place offers. Corresponds to the JSON property accessibilityOptions



1136
1137
1138
# File 'lib/google/apis/places_v1/classes.rb', line 1136

def accessibility_options
  @accessibility_options
end

#address_componentsArray<Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceAddressComponent>

Repeated components for each locality level. Note the following facts about the address_components[] array: - The array of address components may contain more components than the formatted_address. - The array does not necessarily include all the political entities that contain an address, apart from those included in the formatted_address. To retrieve all the political entities that contain a specific address, you should use reverse geocoding, passing the latitude/longitude of the address as a parameter to the request. - The format of the response is not guaranteed to remain the same between requests. In particular, the number of address_components varies based on the address requested and can change over time for the same address. A component can change position in the array. The type of the component can change. A particular component may be missing in a later response. Corresponds to the JSON property addressComponents



1152
1153
1154
# File 'lib/google/apis/places_v1/classes.rb', line 1152

def address_components
  @address_components
end

#address_descriptorGoogle::Apis::PlacesV1::GoogleMapsPlacesV1AddressDescriptor

A relational description of a location. Includes a ranked set of nearby landmarks and precise containing areas and their relationship to the target location. Corresponds to the JSON property addressDescriptor



1159
1160
1161
# File 'lib/google/apis/places_v1/classes.rb', line 1159

def address_descriptor
  @address_descriptor
end

#adr_format_addressString

The place's address in adr microformat: http://microformats.org/wiki/adr. Corresponds to the JSON property adrFormatAddress

Returns:

  • (String)


1164
1165
1166
# File 'lib/google/apis/places_v1/classes.rb', line 1164

def adr_format_address
  @adr_format_address
end

#allows_dogsBoolean Also known as: allows_dogs?

Place allows dogs. Corresponds to the JSON property allowsDogs

Returns:

  • (Boolean)


1169
1170
1171
# File 'lib/google/apis/places_v1/classes.rb', line 1169

def allows_dogs
  @allows_dogs
end

#area_summaryGoogle::Apis::PlacesV1::GoogleMapsPlacesV1PlaceAreaSummary

Experimental: See https://developers.google.com/maps/documentation/places/web- service/experimental/places-generative for more details. AI-generated summary of the area that the place is in. Corresponds to the JSON property areaSummary



1177
1178
1179
# File 'lib/google/apis/places_v1/classes.rb', line 1177

def area_summary
  @area_summary
end

#attributionsArray<Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceAttribution>

A set of data provider that must be shown with this result. Corresponds to the JSON property attributions



1182
1183
1184
# File 'lib/google/apis/places_v1/classes.rb', line 1182

def attributions
  @attributions
end

#business_statusString

The business status for the place. Corresponds to the JSON property businessStatus

Returns:

  • (String)


1187
1188
1189
# File 'lib/google/apis/places_v1/classes.rb', line 1187

def business_status
  @business_status
end

#containing_placesArray<Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceContainingPlace>

List of places in which the current place is located. Corresponds to the JSON property containingPlaces



1192
1193
1194
# File 'lib/google/apis/places_v1/classes.rb', line 1192

def containing_places
  @containing_places
end

#curbside_pickupBoolean Also known as: curbside_pickup?

Specifies if the business supports curbside pickup. Corresponds to the JSON property curbsidePickup

Returns:

  • (Boolean)


1197
1198
1199
# File 'lib/google/apis/places_v1/classes.rb', line 1197

def curbside_pickup
  @curbside_pickup
end

#current_opening_hoursGoogle::Apis::PlacesV1::GoogleMapsPlacesV1PlaceOpeningHours

Information about business hour of the place. Corresponds to the JSON property currentOpeningHours



1203
1204
1205
# File 'lib/google/apis/places_v1/classes.rb', line 1203

def current_opening_hours
  @current_opening_hours
end

#current_secondary_opening_hoursArray<Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceOpeningHours>

Contains an array of entries for the next seven days including information about secondary hours of a business. Secondary hours are different from a business's main hours. For example, a restaurant can specify drive through hours or delivery hours as its secondary hours. This field populates the type subfield, which draws from a predefined list of opening hours types (such as DRIVE_THROUGH, PICKUP, or TAKEOUT) based on the types of the place. This field includes the special_days subfield of all hours, set for dates that have exceptional hours. Corresponds to the JSON property currentSecondaryOpeningHours



1215
1216
1217
# File 'lib/google/apis/places_v1/classes.rb', line 1215

def current_secondary_opening_hours
  @current_secondary_opening_hours
end

#deliveryBoolean Also known as: delivery?

Specifies if the business supports delivery. Corresponds to the JSON property delivery

Returns:

  • (Boolean)


1220
1221
1222
# File 'lib/google/apis/places_v1/classes.rb', line 1220

def delivery
  @delivery
end

#dine_inBoolean Also known as: dine_in?

Specifies if the business supports indoor or outdoor seating options. Corresponds to the JSON property dineIn

Returns:

  • (Boolean)


1226
1227
1228
# File 'lib/google/apis/places_v1/classes.rb', line 1226

def dine_in
  @dine_in
end

#display_nameGoogle::Apis::PlacesV1::GoogleTypeLocalizedText

Localized variant of a text in a particular language. Corresponds to the JSON property displayName



1232
1233
1234
# File 'lib/google/apis/places_v1/classes.rb', line 1232

def display_name
  @display_name
end

#editorial_summaryGoogle::Apis::PlacesV1::GoogleTypeLocalizedText

Localized variant of a text in a particular language. Corresponds to the JSON property editorialSummary



1237
1238
1239
# File 'lib/google/apis/places_v1/classes.rb', line 1237

def editorial_summary
  @editorial_summary
end

#ev_charge_optionsGoogle::Apis::PlacesV1::GoogleMapsPlacesV1EvChargeOptions

Information about the EV Charge Station hosted in Place. Terminology follows https://afdc.energy.gov/fuels/electricity_infrastructure.html One port could charge one car at a time. One port has one or more connectors. One station has one or more ports. Corresponds to the JSON property evChargeOptions



1245
1246
1247
# File 'lib/google/apis/places_v1/classes.rb', line 1245

def ev_charge_options
  @ev_charge_options
end

#formatted_addressString

A full, human-readable address for this place. Corresponds to the JSON property formattedAddress

Returns:

  • (String)


1250
1251
1252
# File 'lib/google/apis/places_v1/classes.rb', line 1250

def formatted_address
  @formatted_address
end

#fuel_optionsGoogle::Apis::PlacesV1::GoogleMapsPlacesV1FuelOptions

The most recent information about fuel options in a gas station. This information is updated regularly. Corresponds to the JSON property fuelOptions



1256
1257
1258
# File 'lib/google/apis/places_v1/classes.rb', line 1256

def fuel_options
  @fuel_options
end

#generative_summaryGoogle::Apis::PlacesV1::GoogleMapsPlacesV1PlaceGenerativeSummary

Experimental: See https://developers.google.com/maps/documentation/places/web- service/experimental/places-generative for more details. AI-generated summary of the place. Corresponds to the JSON property generativeSummary



1263
1264
1265
# File 'lib/google/apis/places_v1/classes.rb', line 1263

def generative_summary
  @generative_summary
end

#good_for_childrenBoolean Also known as: good_for_children?

Place is good for children. Corresponds to the JSON property goodForChildren

Returns:

  • (Boolean)


1268
1269
1270
# File 'lib/google/apis/places_v1/classes.rb', line 1268

def good_for_children
  @good_for_children
end

#good_for_groupsBoolean Also known as: good_for_groups?

Place accommodates groups. Corresponds to the JSON property goodForGroups

Returns:

  • (Boolean)


1274
1275
1276
# File 'lib/google/apis/places_v1/classes.rb', line 1274

def good_for_groups
  @good_for_groups
end

#good_for_watching_sportsBoolean Also known as: good_for_watching_sports?

Place is suitable for watching sports. Corresponds to the JSON property goodForWatchingSports

Returns:

  • (Boolean)


1280
1281
1282
# File 'lib/google/apis/places_v1/classes.rb', line 1280

def good_for_watching_sports
  @good_for_watching_sports
end

Links to trigger different Google Maps actions. Corresponds to the JSON property googleMapsLinks



1286
1287
1288
# File 'lib/google/apis/places_v1/classes.rb', line 1286

def google_maps_links
  @google_maps_links
end

#google_maps_uriString

A URL providing more information about this place. Corresponds to the JSON property googleMapsUri

Returns:

  • (String)


1291
1292
1293
# File 'lib/google/apis/places_v1/classes.rb', line 1291

def google_maps_uri
  @google_maps_uri
end

#icon_background_colorString

Background color for icon_mask in hex format, e.g. #909CE1. Corresponds to the JSON property iconBackgroundColor

Returns:

  • (String)


1296
1297
1298
# File 'lib/google/apis/places_v1/classes.rb', line 1296

def icon_background_color
  @icon_background_color
end

#icon_mask_base_uriString

A truncated URL to an icon mask. User can access different icon type by appending type suffix to the end (eg, ".svg" or ".png"). Corresponds to the JSON property iconMaskBaseUri

Returns:

  • (String)


1302
1303
1304
# File 'lib/google/apis/places_v1/classes.rb', line 1302

def icon_mask_base_uri
  @icon_mask_base_uri
end

#idString

The unique identifier of a place. Corresponds to the JSON property id

Returns:

  • (String)


1307
1308
1309
# File 'lib/google/apis/places_v1/classes.rb', line 1307

def id
  @id
end

#international_phone_numberString

A human-readable phone number for the place, in international format. Corresponds to the JSON property internationalPhoneNumber

Returns:

  • (String)


1312
1313
1314
# File 'lib/google/apis/places_v1/classes.rb', line 1312

def international_phone_number
  @international_phone_number
end

#live_musicBoolean Also known as: live_music?

Place provides live music. Corresponds to the JSON property liveMusic

Returns:

  • (Boolean)


1317
1318
1319
# File 'lib/google/apis/places_v1/classes.rb', line 1317

def live_music
  @live_music
end

#locationGoogle::Apis::PlacesV1::GoogleTypeLatLng

An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges. Corresponds to the JSON property location



1326
1327
1328
# File 'lib/google/apis/places_v1/classes.rb', line 1326

def location
  @location
end

Place has a children's menu. Corresponds to the JSON property menuForChildren

Returns:

  • (Boolean)


1331
1332
1333
# File 'lib/google/apis/places_v1/classes.rb', line 1331

def menu_for_children
  @menu_for_children
end

#nameString

This Place's resource name, in places/place_id`format. Can be used to look up the Place. Corresponds to the JSON propertyname`

Returns:

  • (String)


1338
1339
1340
# File 'lib/google/apis/places_v1/classes.rb', line 1338

def name
  @name
end

#national_phone_numberString

A human-readable phone number for the place, in national format. Corresponds to the JSON property nationalPhoneNumber

Returns:

  • (String)


1343
1344
1345
# File 'lib/google/apis/places_v1/classes.rb', line 1343

def national_phone_number
  @national_phone_number
end

#outdoor_seatingBoolean Also known as: outdoor_seating?

Place provides outdoor seating. Corresponds to the JSON property outdoorSeating

Returns:

  • (Boolean)


1348
1349
1350
# File 'lib/google/apis/places_v1/classes.rb', line 1348

def outdoor_seating
  @outdoor_seating
end

#parking_optionsGoogle::Apis::PlacesV1::GoogleMapsPlacesV1PlaceParkingOptions

Information about parking options for the place. A parking lot could support more than one option at the same time. Corresponds to the JSON property parkingOptions



1355
1356
1357
# File 'lib/google/apis/places_v1/classes.rb', line 1355

def parking_options
  @parking_options
end

#payment_optionsGoogle::Apis::PlacesV1::GoogleMapsPlacesV1PlacePaymentOptions

Payment options the place accepts. Corresponds to the JSON property paymentOptions



1360
1361
1362
# File 'lib/google/apis/places_v1/classes.rb', line 1360

def payment_options
  @payment_options
end

#photosArray<Google::Apis::PlacesV1::GoogleMapsPlacesV1Photo>

Information (including references) about photos of this place. A maximum of 10 photos can be returned. Corresponds to the JSON property photos



1366
1367
1368
# File 'lib/google/apis/places_v1/classes.rb', line 1366

def photos
  @photos
end

#plus_codeGoogle::Apis::PlacesV1::GoogleMapsPlacesV1PlacePlusCode

Plus code (http://plus.codes) is a location reference with two formats: global code defining a 14mx14m (1/8000th of a degree) or smaller rectangle, and compound code, replacing the prefix with a reference location. Corresponds to the JSON property plusCode



1373
1374
1375
# File 'lib/google/apis/places_v1/classes.rb', line 1373

def plus_code
  @plus_code
end

#price_levelString

Price level of the place. Corresponds to the JSON property priceLevel

Returns:

  • (String)


1378
1379
1380
# File 'lib/google/apis/places_v1/classes.rb', line 1378

def price_level
  @price_level
end

#price_rangeGoogle::Apis::PlacesV1::GoogleMapsPlacesV1PriceRange

The price range associated with a Place. end_price could be unset, which indicates a range without upper bound (e.g. "More than $100"). Corresponds to the JSON property priceRange



1384
1385
1386
# File 'lib/google/apis/places_v1/classes.rb', line 1384

def price_range
  @price_range
end

#primary_typeString

The primary type of the given result. This type must one of the Places API supported types. For example, "restaurant", "cafe", "airport", etc. A place can only have a single primary type. For the complete list of possible values, see Table A and Table B at https://developers.google.com/maps/documentation/ places/web-service/place-types Corresponds to the JSON property primaryType

Returns:

  • (String)


1393
1394
1395
# File 'lib/google/apis/places_v1/classes.rb', line 1393

def primary_type
  @primary_type
end

#primary_type_display_nameGoogle::Apis::PlacesV1::GoogleTypeLocalizedText

Localized variant of a text in a particular language. Corresponds to the JSON property primaryTypeDisplayName



1398
1399
1400
# File 'lib/google/apis/places_v1/classes.rb', line 1398

def primary_type_display_name
  @primary_type_display_name
end

#pure_service_area_businessBoolean Also known as: pure_service_area_business?

Indicates whether the place is a pure service area business. Pure service area business is a business that visits or delivers to customers directly but does not serve customers at their business address. For example, businesses like cleaning services or plumbers. Those businesses may not have a physical address or location on Google Maps. Corresponds to the JSON property pureServiceAreaBusiness

Returns:

  • (Boolean)


1407
1408
1409
# File 'lib/google/apis/places_v1/classes.rb', line 1407

def pure_service_area_business
  @pure_service_area_business
end

#ratingFloat

A rating between 1.0 and 5.0, based on user reviews of this place. Corresponds to the JSON property rating

Returns:

  • (Float)


1413
1414
1415
# File 'lib/google/apis/places_v1/classes.rb', line 1413

def rating
  @rating
end

#regular_opening_hoursGoogle::Apis::PlacesV1::GoogleMapsPlacesV1PlaceOpeningHours

Information about business hour of the place. Corresponds to the JSON property regularOpeningHours



1418
1419
1420
# File 'lib/google/apis/places_v1/classes.rb', line 1418

def regular_opening_hours
  @regular_opening_hours
end

#regular_secondary_opening_hoursArray<Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceOpeningHours>

Contains an array of entries for information about regular secondary hours of a business. Secondary hours are different from a business's main hours. For example, a restaurant can specify drive through hours or delivery hours as its secondary hours. This field populates the type subfield, which draws from a predefined list of opening hours types (such as DRIVE_THROUGH, PICKUP, or TAKEOUT) based on the types of the place. Corresponds to the JSON property regularSecondaryOpeningHours



1428
1429
1430
# File 'lib/google/apis/places_v1/classes.rb', line 1428

def regular_secondary_opening_hours
  @regular_secondary_opening_hours
end

#reservableBoolean Also known as: reservable?

Specifies if the place supports reservations. Corresponds to the JSON property reservable

Returns:

  • (Boolean)


1433
1434
1435
# File 'lib/google/apis/places_v1/classes.rb', line 1433

def reservable
  @reservable
end

#restroomBoolean Also known as: restroom?

Place has restroom. Corresponds to the JSON property restroom

Returns:

  • (Boolean)


1439
1440
1441
# File 'lib/google/apis/places_v1/classes.rb', line 1439

def restroom
  @restroom
end

#reviewsArray<Google::Apis::PlacesV1::GoogleMapsPlacesV1Review>

List of reviews about this place, sorted by relevance. A maximum of 5 reviews can be returned. Corresponds to the JSON property reviews



1446
1447
1448
# File 'lib/google/apis/places_v1/classes.rb', line 1446

def reviews
  @reviews
end

#serves_beerBoolean Also known as: serves_beer?

Specifies if the place serves beer. Corresponds to the JSON property servesBeer

Returns:

  • (Boolean)


1451
1452
1453
# File 'lib/google/apis/places_v1/classes.rb', line 1451

def serves_beer
  @serves_beer
end

#serves_breakfastBoolean Also known as: serves_breakfast?

Specifies if the place serves breakfast. Corresponds to the JSON property servesBreakfast

Returns:

  • (Boolean)


1457
1458
1459
# File 'lib/google/apis/places_v1/classes.rb', line 1457

def serves_breakfast
  @serves_breakfast
end

#serves_brunchBoolean Also known as: serves_brunch?

Specifies if the place serves brunch. Corresponds to the JSON property servesBrunch

Returns:

  • (Boolean)


1463
1464
1465
# File 'lib/google/apis/places_v1/classes.rb', line 1463

def serves_brunch
  @serves_brunch
end

#serves_cocktailsBoolean Also known as: serves_cocktails?

Place serves cocktails. Corresponds to the JSON property servesCocktails

Returns:

  • (Boolean)


1469
1470
1471
# File 'lib/google/apis/places_v1/classes.rb', line 1469

def serves_cocktails
  @serves_cocktails
end

#serves_coffeeBoolean Also known as: serves_coffee?

Place serves coffee. Corresponds to the JSON property servesCoffee

Returns:

  • (Boolean)


1475
1476
1477
# File 'lib/google/apis/places_v1/classes.rb', line 1475

def serves_coffee
  @serves_coffee
end

#serves_dessertBoolean Also known as: serves_dessert?

Place serves dessert. Corresponds to the JSON property servesDessert

Returns:

  • (Boolean)


1481
1482
1483
# File 'lib/google/apis/places_v1/classes.rb', line 1481

def serves_dessert
  @serves_dessert
end

#serves_dinnerBoolean Also known as: serves_dinner?

Specifies if the place serves dinner. Corresponds to the JSON property servesDinner

Returns:

  • (Boolean)


1487
1488
1489
# File 'lib/google/apis/places_v1/classes.rb', line 1487

def serves_dinner
  @serves_dinner
end

#serves_lunchBoolean Also known as: serves_lunch?

Specifies if the place serves lunch. Corresponds to the JSON property servesLunch

Returns:

  • (Boolean)


1493
1494
1495
# File 'lib/google/apis/places_v1/classes.rb', line 1493

def serves_lunch
  @serves_lunch
end

#serves_vegetarian_foodBoolean Also known as: serves_vegetarian_food?

Specifies if the place serves vegetarian food. Corresponds to the JSON property servesVegetarianFood

Returns:

  • (Boolean)


1499
1500
1501
# File 'lib/google/apis/places_v1/classes.rb', line 1499

def serves_vegetarian_food
  @serves_vegetarian_food
end

#serves_wineBoolean Also known as: serves_wine?

Specifies if the place serves wine. Corresponds to the JSON property servesWine

Returns:

  • (Boolean)


1505
1506
1507
# File 'lib/google/apis/places_v1/classes.rb', line 1505

def serves_wine
  @serves_wine
end

#short_formatted_addressString

A short, human-readable address for this place. Corresponds to the JSON property shortFormattedAddress

Returns:

  • (String)


1511
1512
1513
# File 'lib/google/apis/places_v1/classes.rb', line 1511

def short_formatted_address
  @short_formatted_address
end

#sub_destinationsArray<Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceSubDestination>

A list of sub destinations related to the place. Corresponds to the JSON property subDestinations



1516
1517
1518
# File 'lib/google/apis/places_v1/classes.rb', line 1516

def sub_destinations
  @sub_destinations
end

#takeoutBoolean Also known as: takeout?

Specifies if the business supports takeout. Corresponds to the JSON property takeout

Returns:

  • (Boolean)


1521
1522
1523
# File 'lib/google/apis/places_v1/classes.rb', line 1521

def takeout
  @takeout
end

#typesArray<String>

A set of type tags for this result. For example, "political" and "locality". For the complete list of possible values, see Table A and Table B at https:// developers.google.com/maps/documentation/places/web-service/place-types Corresponds to the JSON property types

Returns:

  • (Array<String>)


1529
1530
1531
# File 'lib/google/apis/places_v1/classes.rb', line 1529

def types
  @types
end

#user_rating_countFixnum

The total number of reviews (with or without text) for this place. Corresponds to the JSON property userRatingCount

Returns:

  • (Fixnum)


1534
1535
1536
# File 'lib/google/apis/places_v1/classes.rb', line 1534

def user_rating_count
  @user_rating_count
end

#utc_offset_minutesFixnum

Number of minutes this place's timezone is currently offset from UTC. This is expressed in minutes to support timezones that are offset by fractions of an hour, e.g. X hours and 15 minutes. Corresponds to the JSON property utcOffsetMinutes

Returns:

  • (Fixnum)


1541
1542
1543
# File 'lib/google/apis/places_v1/classes.rb', line 1541

def utc_offset_minutes
  @utc_offset_minutes
end

#viewportGoogle::Apis::PlacesV1::GoogleGeoTypeViewport

A latitude-longitude viewport, represented as two diagonally opposite low and high points. A viewport is considered a closed region, i.e. it includes its boundary. The latitude bounds must range between -90 to 90 degrees inclusive, and the longitude bounds must range between -180 to 180 degrees inclusive. Various cases include: - If low = high, the viewport consists of that single point. - If low.longitude > high.longitude, the longitude range is inverted (the viewport crosses the 180 degree longitude line). - If low.longitude = -180 degrees and high.longitude = 180 degrees, the viewport includes all longitudes. - If low.longitude = 180 degrees and high. longitude = -180 degrees, the longitude range is empty. - If low.latitude > high.latitude, the latitude range is empty. Both low and high must be populated, and the represented box cannot be empty (as specified by the definitions above). An empty viewport will result in an error. For example, this viewport fully encloses New York City: "low": "latitude": 40.477398, " longitude": -74.259087 , "high": "latitude": 40.91618, "longitude": -73. 70018 Corresponds to the JSON property viewport



1561
1562
1563
# File 'lib/google/apis/places_v1/classes.rb', line 1561

def viewport
  @viewport
end

#website_uriString

The authoritative website for this place, e.g. a business' homepage. Note that for places that are part of a chain (e.g. an IKEA store), this will usually be the website for the individual store, not the overall chain. Corresponds to the JSON property websiteUri

Returns:

  • (String)


1568
1569
1570
# File 'lib/google/apis/places_v1/classes.rb', line 1568

def website_uri
  @website_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
# File 'lib/google/apis/places_v1/classes.rb', line 1575

def update!(**args)
  @accessibility_options = args[:accessibility_options] if args.key?(:accessibility_options)
  @address_components = args[:address_components] if args.key?(:address_components)
  @address_descriptor = args[:address_descriptor] if args.key?(:address_descriptor)
  @adr_format_address = args[:adr_format_address] if args.key?(:adr_format_address)
  @allows_dogs = args[:allows_dogs] if args.key?(:allows_dogs)
  @area_summary = args[:area_summary] if args.key?(:area_summary)
  @attributions = args[:attributions] if args.key?(:attributions)
  @business_status = args[:business_status] if args.key?(:business_status)
  @containing_places = args[:containing_places] if args.key?(:containing_places)
  @curbside_pickup = args[:curbside_pickup] if args.key?(:curbside_pickup)
  @current_opening_hours = args[:current_opening_hours] if args.key?(:current_opening_hours)
  @current_secondary_opening_hours = args[:current_secondary_opening_hours] if args.key?(:current_secondary_opening_hours)
  @delivery = args[:delivery] if args.key?(:delivery)
  @dine_in = args[:dine_in] if args.key?(:dine_in)
  @display_name = args[:display_name] if args.key?(:display_name)
  @editorial_summary = args[:editorial_summary] if args.key?(:editorial_summary)
  @ev_charge_options = args[:ev_charge_options] if args.key?(:ev_charge_options)
  @formatted_address = args[:formatted_address] if args.key?(:formatted_address)
  @fuel_options = args[:fuel_options] if args.key?(:fuel_options)
  @generative_summary = args[:generative_summary] if args.key?(:generative_summary)
  @good_for_children = args[:good_for_children] if args.key?(:good_for_children)
  @good_for_groups = args[:good_for_groups] if args.key?(:good_for_groups)
  @good_for_watching_sports = args[:good_for_watching_sports] if args.key?(:good_for_watching_sports)
  @google_maps_links = args[:google_maps_links] if args.key?(:google_maps_links)
  @google_maps_uri = args[:google_maps_uri] if args.key?(:google_maps_uri)
  @icon_background_color = args[:icon_background_color] if args.key?(:icon_background_color)
  @icon_mask_base_uri = args[:icon_mask_base_uri] if args.key?(:icon_mask_base_uri)
  @id = args[:id] if args.key?(:id)
  @international_phone_number = args[:international_phone_number] if args.key?(:international_phone_number)
  @live_music = args[:live_music] if args.key?(:live_music)
  @location = args[:location] if args.key?(:location)
  @menu_for_children = args[:menu_for_children] if args.key?(:menu_for_children)
  @name = args[:name] if args.key?(:name)
  @national_phone_number = args[:national_phone_number] if args.key?(:national_phone_number)
  @outdoor_seating = args[:outdoor_seating] if args.key?(:outdoor_seating)
  @parking_options = args[:parking_options] if args.key?(:parking_options)
  @payment_options = args[:payment_options] if args.key?(:payment_options)
  @photos = args[:photos] if args.key?(:photos)
  @plus_code = args[:plus_code] if args.key?(:plus_code)
  @price_level = args[:price_level] if args.key?(:price_level)
  @price_range = args[:price_range] if args.key?(:price_range)
  @primary_type = args[:primary_type] if args.key?(:primary_type)
  @primary_type_display_name = args[:primary_type_display_name] if args.key?(:primary_type_display_name)
  @pure_service_area_business = args[:pure_service_area_business] if args.key?(:pure_service_area_business)
  @rating = args[:rating] if args.key?(:rating)
  @regular_opening_hours = args[:regular_opening_hours] if args.key?(:regular_opening_hours)
  @regular_secondary_opening_hours = args[:regular_secondary_opening_hours] if args.key?(:regular_secondary_opening_hours)
  @reservable = args[:reservable] if args.key?(:reservable)
  @restroom = args[:restroom] if args.key?(:restroom)
  @reviews = args[:reviews] if args.key?(:reviews)
  @serves_beer = args[:serves_beer] if args.key?(:serves_beer)
  @serves_breakfast = args[:serves_breakfast] if args.key?(:serves_breakfast)
  @serves_brunch = args[:serves_brunch] if args.key?(:serves_brunch)
  @serves_cocktails = args[:serves_cocktails] if args.key?(:serves_cocktails)
  @serves_coffee = args[:serves_coffee] if args.key?(:serves_coffee)
  @serves_dessert = args[:serves_dessert] if args.key?(:serves_dessert)
  @serves_dinner = args[:serves_dinner] if args.key?(:serves_dinner)
  @serves_lunch = args[:serves_lunch] if args.key?(:serves_lunch)
  @serves_vegetarian_food = args[:serves_vegetarian_food] if args.key?(:serves_vegetarian_food)
  @serves_wine = args[:serves_wine] if args.key?(:serves_wine)
  @short_formatted_address = args[:short_formatted_address] if args.key?(:short_formatted_address)
  @sub_destinations = args[:sub_destinations] if args.key?(:sub_destinations)
  @takeout = args[:takeout] if args.key?(:takeout)
  @types = args[:types] if args.key?(:types)
  @user_rating_count = args[:user_rating_count] if args.key?(:user_rating_count)
  @utc_offset_minutes = args[:utc_offset_minutes] if args.key?(:utc_offset_minutes)
  @viewport = args[:viewport] if args.key?(:viewport)
  @website_uri = args[:website_uri] if args.key?(:website_uri)
end