google-apis-places_v1 0.7.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/places_v1/classes.rb +42 -24
- data/lib/google/apis/places_v1/gem_version.rb +2 -2
- data/lib/google/apis/places_v1/representations.rb +18 -4
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 708f9f5258faecdce90adf08f9c4dcaa5914a366ff47e63c9ec789a7eae1b81c
|
4
|
+
data.tar.gz: 9b535749e9a3efe56b3a0adddc9e5725e31278ef164c90d24668421a1a0a9f03
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5038628c8c7d8e7dc93df79ce7c8d51bfe3de3730f57b13cb46d93614f088b1d9eaa80e1350cf12a8baa77ad5207f801fe2c77f4d8eace71b2c1b34cfd535f22
|
7
|
+
data.tar.gz: 673e7616e533fc9351dc745050ebcae2152a4ff160935ad06fa323a4d8fc07f8bc8d984f51bf42867a9eaa298b1f4c90aa4d7c73d5535b1fbb2da9ae8b761862
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-places_v1
|
2
2
|
|
3
|
+
### v0.9.0 (2023-10-01)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230927
|
6
|
+
|
7
|
+
### v0.8.0 (2023-09-24)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230920
|
10
|
+
|
3
11
|
### v0.7.0 (2023-09-17)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230912
|
@@ -131,6 +131,11 @@ module Google
|
|
131
131
|
class GoogleMapsPlacesV1Place
|
132
132
|
include Google::Apis::Core::Hashable
|
133
133
|
|
134
|
+
# Information about the accessibility options a place offers.
|
135
|
+
# Corresponds to the JSON property `accessibilityOptions`
|
136
|
+
# @return [Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceAccessibilityOptions]
|
137
|
+
attr_accessor :accessibility_options
|
138
|
+
|
134
139
|
# Output only. Repeated components for each locality level.
|
135
140
|
# Corresponds to the JSON property `addressComponents`
|
136
141
|
# @return [Array<Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceAddressComponent>]
|
@@ -249,11 +254,6 @@ module Google
|
|
249
254
|
# @return [String]
|
250
255
|
attr_accessor :national_phone_number
|
251
256
|
|
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
257
|
# Plus code (http://plus.codes) is a location reference with two formats: global
|
258
258
|
# code defining a 14mx14m (1/8000th of a degree) or smaller rectangle, and
|
259
259
|
# compound code, replacing the prefix with a reference location.
|
@@ -271,6 +271,21 @@ module Google
|
|
271
271
|
# @return [Float]
|
272
272
|
attr_accessor :rating
|
273
273
|
|
274
|
+
# Information about business hour of the place.
|
275
|
+
# Corresponds to the JSON property `regularOpeningHours`
|
276
|
+
# @return [Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceOpeningHours]
|
277
|
+
attr_accessor :regular_opening_hours
|
278
|
+
|
279
|
+
# Output only. Contains an array of entries for information about regular
|
280
|
+
# secondary hours of a business. Secondary hours are different from a business's
|
281
|
+
# main hours. For example, a restaurant can specify drive through hours or
|
282
|
+
# delivery hours as its secondary hours. This field populates the type subfield,
|
283
|
+
# which draws from a predefined list of opening hours types (such as
|
284
|
+
# DRIVE_THROUGH, PICKUP, or TAKEOUT) based on the types of the place.
|
285
|
+
# Corresponds to the JSON property `regularSecondaryOpeningHours`
|
286
|
+
# @return [Array<Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceOpeningHours>]
|
287
|
+
attr_accessor :regular_secondary_opening_hours
|
288
|
+
|
274
289
|
# Output only. Specifies if the place supports reservations.
|
275
290
|
# Corresponds to the JSON property `reservable`
|
276
291
|
# @return [Boolean]
|
@@ -282,16 +297,6 @@ module Google
|
|
282
297
|
# @return [Array<Google::Apis::PlacesV1::GoogleMapsPlacesV1Review>]
|
283
298
|
attr_accessor :reviews
|
284
299
|
|
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
300
|
# Output only. Specifies if the place serves beer.
|
296
301
|
# Corresponds to the JSON property `servesBeer`
|
297
302
|
# @return [Boolean]
|
@@ -386,19 +391,13 @@ module Google
|
|
386
391
|
# @return [String]
|
387
392
|
attr_accessor :website_uri
|
388
393
|
|
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
394
|
def initialize(**args)
|
397
395
|
update!(**args)
|
398
396
|
end
|
399
397
|
|
400
398
|
# Update properties of this object
|
401
399
|
def update!(**args)
|
400
|
+
@accessibility_options = args[:accessibility_options] if args.key?(:accessibility_options)
|
402
401
|
@address_components = args[:address_components] if args.key?(:address_components)
|
403
402
|
@adr_format_address = args[:adr_format_address] if args.key?(:adr_format_address)
|
404
403
|
@attributions = args[:attributions] if args.key?(:attributions)
|
@@ -419,13 +418,13 @@ module Google
|
|
419
418
|
@location = args[:location] if args.key?(:location)
|
420
419
|
@name = args[:name] if args.key?(:name)
|
421
420
|
@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
421
|
@plus_code = args[:plus_code] if args.key?(:plus_code)
|
424
422
|
@price_level = args[:price_level] if args.key?(:price_level)
|
425
423
|
@rating = args[:rating] if args.key?(:rating)
|
424
|
+
@regular_opening_hours = args[:regular_opening_hours] if args.key?(:regular_opening_hours)
|
425
|
+
@regular_secondary_opening_hours = args[:regular_secondary_opening_hours] if args.key?(:regular_secondary_opening_hours)
|
426
426
|
@reservable = args[:reservable] if args.key?(:reservable)
|
427
427
|
@reviews = args[:reviews] if args.key?(:reviews)
|
428
|
-
@secondary_opening_hours = args[:secondary_opening_hours] if args.key?(:secondary_opening_hours)
|
429
428
|
@serves_beer = args[:serves_beer] if args.key?(:serves_beer)
|
430
429
|
@serves_breakfast = args[:serves_breakfast] if args.key?(:serves_breakfast)
|
431
430
|
@serves_brunch = args[:serves_brunch] if args.key?(:serves_brunch)
|
@@ -439,6 +438,25 @@ module Google
|
|
439
438
|
@utc_offset_minutes = args[:utc_offset_minutes] if args.key?(:utc_offset_minutes)
|
440
439
|
@viewport = args[:viewport] if args.key?(:viewport)
|
441
440
|
@website_uri = args[:website_uri] if args.key?(:website_uri)
|
441
|
+
end
|
442
|
+
end
|
443
|
+
|
444
|
+
# Information about the accessibility options a place offers.
|
445
|
+
class GoogleMapsPlacesV1PlaceAccessibilityOptions
|
446
|
+
include Google::Apis::Core::Hashable
|
447
|
+
|
448
|
+
# Places has wheelchair accessible entrance.
|
449
|
+
# Corresponds to the JSON property `wheelchairAccessibleEntrance`
|
450
|
+
# @return [Boolean]
|
451
|
+
attr_accessor :wheelchair_accessible_entrance
|
452
|
+
alias_method :wheelchair_accessible_entrance?, :wheelchair_accessible_entrance
|
453
|
+
|
454
|
+
def initialize(**args)
|
455
|
+
update!(**args)
|
456
|
+
end
|
457
|
+
|
458
|
+
# Update properties of this object
|
459
|
+
def update!(**args)
|
442
460
|
@wheelchair_accessible_entrance = args[:wheelchair_accessible_entrance] if args.key?(:wheelchair_accessible_entrance)
|
443
461
|
end
|
444
462
|
end
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.9.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 = "
|
25
|
+
REVISION = "20230927"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -46,6 +46,12 @@ module Google
|
|
46
46
|
include Google::Apis::Core::JsonObjectSupport
|
47
47
|
end
|
48
48
|
|
49
|
+
class GoogleMapsPlacesV1PlaceAccessibilityOptions
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
49
55
|
class GoogleMapsPlacesV1PlaceAddressComponent
|
50
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
57
|
|
@@ -167,6 +173,8 @@ module Google
|
|
167
173
|
class GoogleMapsPlacesV1Place
|
168
174
|
# @private
|
169
175
|
class Representation < Google::Apis::Core::JsonRepresentation
|
176
|
+
property :accessibility_options, as: 'accessibilityOptions', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceAccessibilityOptions, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceAccessibilityOptions::Representation
|
177
|
+
|
170
178
|
collection :address_components, as: 'addressComponents', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceAddressComponent, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceAddressComponent::Representation
|
171
179
|
|
172
180
|
property :adr_format_address, as: 'adrFormatAddress'
|
@@ -194,17 +202,17 @@ module Google
|
|
194
202
|
|
195
203
|
property :name, as: 'name'
|
196
204
|
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
205
|
property :plus_code, as: 'plusCode', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlacePlusCode, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlacePlusCode::Representation
|
200
206
|
|
201
207
|
property :price_level, as: 'priceLevel'
|
202
208
|
property :rating, as: 'rating'
|
209
|
+
property :regular_opening_hours, as: 'regularOpeningHours', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceOpeningHours, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceOpeningHours::Representation
|
210
|
+
|
211
|
+
collection :regular_secondary_opening_hours, as: 'regularSecondaryOpeningHours', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceOpeningHours, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceOpeningHours::Representation
|
212
|
+
|
203
213
|
property :reservable, as: 'reservable'
|
204
214
|
collection :reviews, as: 'reviews', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1Review, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1Review::Representation
|
205
215
|
|
206
|
-
collection :secondary_opening_hours, as: 'secondaryOpeningHours', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceOpeningHours, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceOpeningHours::Representation
|
207
|
-
|
208
216
|
property :serves_beer, as: 'servesBeer'
|
209
217
|
property :serves_breakfast, as: 'servesBreakfast'
|
210
218
|
property :serves_brunch, as: 'servesBrunch'
|
@@ -219,6 +227,12 @@ module Google
|
|
219
227
|
property :viewport, as: 'viewport', class: Google::Apis::PlacesV1::GoogleGeoTypeViewport, decorator: Google::Apis::PlacesV1::GoogleGeoTypeViewport::Representation
|
220
228
|
|
221
229
|
property :website_uri, as: 'websiteUri'
|
230
|
+
end
|
231
|
+
end
|
232
|
+
|
233
|
+
class GoogleMapsPlacesV1PlaceAccessibilityOptions
|
234
|
+
# @private
|
235
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
222
236
|
property :wheelchair_accessible_entrance, as: 'wheelchairAccessibleEntrance'
|
223
237
|
end
|
224
238
|
end
|
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.
|
4
|
+
version: 0.9.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-
|
11
|
+
date: 2023-10-01 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-places_v1/v0.9.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: []
|