google-apis-places_v1 0.7.0 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e67e3d2eb7a77d6c348d7218552a693edfe9a020f854c8db5937328bdbb71ced
4
- data.tar.gz: e45d21cd52abb7303cc8e84a0a6f2079a69190f08c5008d7f30cb4038e8ad789
3
+ metadata.gz: c88b38fd7035f8eacd359ad91df1f5897fbcef94b1378f0ce145d02920b7ef20
4
+ data.tar.gz: 87887119ece4c9267b6e48a799621b70470e1491900c60ef663ae83553e6f78a
5
5
  SHA512:
6
- metadata.gz: 19860e832d9f766983501607305fe0a417f959514a11ece7c91565c3ccd00b6863b843507dd7386792bc8c681e8f44406bf75bc480aa13275a7c496d1489fcfc
7
- data.tar.gz: 5cf82007cf1e26984fa1842b6bfc07b58969fcb277d255806b21d0173c0d7e6c1c69da0695aec800058e7fff45d563860a219893627cc2639956e1479010b9b8
6
+ metadata.gz: 36e549023b9274c3c71e2a607aa40715b038dba76b145ab3c1a3446333c47c41404df929cd636a58f70f52f2211ca55fc2bdb28d7bba5d65e77f770353dda808
7
+ data.tar.gz: 24bdb7335eccda8f94a710bbf1deabdd932a8fbe4b77e2b2fc414caea1ae32c9561270c18a57e847530a2b9800ff8d4810268aa9472d25268ffbf287c81faf1c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-places_v1
2
2
 
3
+ ### v0.8.0 (2023-09-24)
4
+
5
+ * Regenerated from discovery document revision 20230920
6
+
3
7
  ### v0.7.0 (2023-09-17)
4
8
 
5
9
  * Regenerated from discovery document revision 20230912
@@ -249,11 +249,6 @@ module Google
249
249
  # @return [String]
250
250
  attr_accessor :national_phone_number
251
251
 
252
- # Information about business hour of the place.
253
- # Corresponds to the JSON property `openingHours`
254
- # @return [Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceOpeningHours]
255
- attr_accessor :opening_hours
256
-
257
252
  # Plus code (http://plus.codes) is a location reference with two formats: global
258
253
  # code defining a 14mx14m (1/8000th of a degree) or smaller rectangle, and
259
254
  # compound code, replacing the prefix with a reference location.
@@ -271,6 +266,21 @@ module Google
271
266
  # @return [Float]
272
267
  attr_accessor :rating
273
268
 
269
+ # Information about business hour of the place.
270
+ # Corresponds to the JSON property `regularOpeningHours`
271
+ # @return [Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceOpeningHours]
272
+ attr_accessor :regular_opening_hours
273
+
274
+ # Output only. Contains an array of entries for information about regular
275
+ # secondary hours of a business. Secondary hours are different from a business's
276
+ # main hours. For example, a restaurant can specify drive through hours or
277
+ # delivery hours as its secondary hours. This field populates the type subfield,
278
+ # which draws from a predefined list of opening hours types (such as
279
+ # DRIVE_THROUGH, PICKUP, or TAKEOUT) based on the types of the place.
280
+ # Corresponds to the JSON property `regularSecondaryOpeningHours`
281
+ # @return [Array<Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceOpeningHours>]
282
+ attr_accessor :regular_secondary_opening_hours
283
+
274
284
  # Output only. Specifies if the place supports reservations.
275
285
  # Corresponds to the JSON property `reservable`
276
286
  # @return [Boolean]
@@ -282,16 +292,6 @@ module Google
282
292
  # @return [Array<Google::Apis::PlacesV1::GoogleMapsPlacesV1Review>]
283
293
  attr_accessor :reviews
284
294
 
285
- # Output only. Contains an array of entries for information about regular
286
- # secondary hours of a business. Secondary hours are different from a business's
287
- # main hours. For example, a restaurant can specify drive through hours or
288
- # delivery hours as its secondary hours. This field populates the type subfield,
289
- # which draws from a predefined list of opening hours types (such as
290
- # DRIVE_THROUGH, PICKUP, or TAKEOUT) based on the types of the place.
291
- # Corresponds to the JSON property `secondaryOpeningHours`
292
- # @return [Array<Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceOpeningHours>]
293
- attr_accessor :secondary_opening_hours
294
-
295
295
  # Output only. Specifies if the place serves beer.
296
296
  # Corresponds to the JSON property `servesBeer`
297
297
  # @return [Boolean]
@@ -386,13 +386,6 @@ module Google
386
386
  # @return [String]
387
387
  attr_accessor :website_uri
388
388
 
389
- # Output only. [Deprecated!] Specifies if the place has an entrance that is
390
- # wheelchair-accessible.
391
- # Corresponds to the JSON property `wheelchairAccessibleEntrance`
392
- # @return [Boolean]
393
- attr_accessor :wheelchair_accessible_entrance
394
- alias_method :wheelchair_accessible_entrance?, :wheelchair_accessible_entrance
395
-
396
389
  def initialize(**args)
397
390
  update!(**args)
398
391
  end
@@ -419,13 +412,13 @@ module Google
419
412
  @location = args[:location] if args.key?(:location)
420
413
  @name = args[:name] if args.key?(:name)
421
414
  @national_phone_number = args[:national_phone_number] if args.key?(:national_phone_number)
422
- @opening_hours = args[:opening_hours] if args.key?(:opening_hours)
423
415
  @plus_code = args[:plus_code] if args.key?(:plus_code)
424
416
  @price_level = args[:price_level] if args.key?(:price_level)
425
417
  @rating = args[:rating] if args.key?(:rating)
418
+ @regular_opening_hours = args[:regular_opening_hours] if args.key?(:regular_opening_hours)
419
+ @regular_secondary_opening_hours = args[:regular_secondary_opening_hours] if args.key?(:regular_secondary_opening_hours)
426
420
  @reservable = args[:reservable] if args.key?(:reservable)
427
421
  @reviews = args[:reviews] if args.key?(:reviews)
428
- @secondary_opening_hours = args[:secondary_opening_hours] if args.key?(:secondary_opening_hours)
429
422
  @serves_beer = args[:serves_beer] if args.key?(:serves_beer)
430
423
  @serves_breakfast = args[:serves_breakfast] if args.key?(:serves_breakfast)
431
424
  @serves_brunch = args[:serves_brunch] if args.key?(:serves_brunch)
@@ -439,7 +432,6 @@ module Google
439
432
  @utc_offset_minutes = args[:utc_offset_minutes] if args.key?(:utc_offset_minutes)
440
433
  @viewport = args[:viewport] if args.key?(:viewport)
441
434
  @website_uri = args[:website_uri] if args.key?(:website_uri)
442
- @wheelchair_accessible_entrance = args[:wheelchair_accessible_entrance] if args.key?(:wheelchair_accessible_entrance)
443
435
  end
444
436
  end
445
437
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module PlacesV1
18
18
  # Version of the google-apis-places_v1 gem
19
- GEM_VERSION = "0.7.0"
19
+ GEM_VERSION = "0.8.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230912"
25
+ REVISION = "20230920"
26
26
  end
27
27
  end
28
28
  end
@@ -194,17 +194,17 @@ module Google
194
194
 
195
195
  property :name, as: 'name'
196
196
  property :national_phone_number, as: 'nationalPhoneNumber'
197
- property :opening_hours, as: 'openingHours', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceOpeningHours, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceOpeningHours::Representation
198
-
199
197
  property :plus_code, as: 'plusCode', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlacePlusCode, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlacePlusCode::Representation
200
198
 
201
199
  property :price_level, as: 'priceLevel'
202
200
  property :rating, as: 'rating'
201
+ property :regular_opening_hours, as: 'regularOpeningHours', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceOpeningHours, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceOpeningHours::Representation
202
+
203
+ collection :regular_secondary_opening_hours, as: 'regularSecondaryOpeningHours', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceOpeningHours, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceOpeningHours::Representation
204
+
203
205
  property :reservable, as: 'reservable'
204
206
  collection :reviews, as: 'reviews', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1Review, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1Review::Representation
205
207
 
206
- collection :secondary_opening_hours, as: 'secondaryOpeningHours', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceOpeningHours, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceOpeningHours::Representation
207
-
208
208
  property :serves_beer, as: 'servesBeer'
209
209
  property :serves_breakfast, as: 'servesBreakfast'
210
210
  property :serves_brunch, as: 'servesBrunch'
@@ -219,7 +219,6 @@ module Google
219
219
  property :viewport, as: 'viewport', class: Google::Apis::PlacesV1::GoogleGeoTypeViewport, decorator: Google::Apis::PlacesV1::GoogleGeoTypeViewport::Representation
220
220
 
221
221
  property :website_uri, as: 'websiteUri'
222
- property :wheelchair_accessible_entrance, as: 'wheelchairAccessibleEntrance'
223
222
  end
224
223
  end
225
224
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-places_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-17 00:00:00.000000000 Z
11
+ date: 2023-09-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-places_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-places_v1/v0.7.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-places_v1/v0.8.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-places_v1
63
63
  post_install_message:
64
64
  rdoc_options: []