google-apis-places_v1 0.36.0 → 0.38.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 +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/places_v1/classes.rb +123 -5
- data/lib/google/apis/places_v1/gem_version.rb +2 -2
- data/lib/google/apis/places_v1/representations.rb +50 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a2636a236d3eb6d9ab74f03925261543836cf9eb3b3075dd76b9a3499cd008c8
|
4
|
+
data.tar.gz: 4260540c7356f047234da3e51a3ec7bf94121c44f59bc517120d411202dc8e3a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7dbd99239c2014a3798a3ee97bd69dd966b85f83a9d2caa40b11c446c8e2a7efceb0ab20102a7033d6b2ad7ea7901ce2c29e937717748ef7eb4a179677329d93
|
7
|
+
data.tar.gz: 960db466ebc49893a3755b283a5fa277863b40923b2346742cae28dee61bc20d74d20333ec70122b8e8db6a64755496f437706bce4b28b9a03eb146da9ea7993
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-places_v1
|
2
2
|
|
3
|
+
### v0.38.0 (2025-09-28)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250921
|
6
|
+
|
7
|
+
### v0.37.0 (2025-07-06)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250629
|
10
|
+
|
3
11
|
### v0.36.0 (2025-06-15)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250611
|
@@ -1172,6 +1172,12 @@ module Google
|
|
1172
1172
|
# @return [String]
|
1173
1173
|
attr_accessor :business_status
|
1174
1174
|
|
1175
|
+
# The consumer alert message for the place when we detect suspicious review
|
1176
|
+
# activity on a business or a business violates our policies.
|
1177
|
+
# Corresponds to the JSON property `consumerAlert`
|
1178
|
+
# @return [Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceConsumerAlert]
|
1179
|
+
attr_accessor :consumer_alert
|
1180
|
+
|
1175
1181
|
# List of places in which the current place is located.
|
1176
1182
|
# Corresponds to the JSON property `containingPlaces`
|
1177
1183
|
# @return [Array<Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceContainingPlace>]
|
@@ -1394,11 +1400,13 @@ module Google
|
|
1394
1400
|
# @return [Google::Apis::PlacesV1::GoogleMapsPlacesV1PriceRange]
|
1395
1401
|
attr_accessor :price_range
|
1396
1402
|
|
1397
|
-
# The primary type of the given result. This type must one of the Places API
|
1403
|
+
# The primary type of the given result. This type must be one of the Places API
|
1398
1404
|
# supported types. For example, "restaurant", "cafe", "airport", etc. A place
|
1399
1405
|
# can only have a single primary type. For the complete list of possible values,
|
1400
1406
|
# see Table A and Table B at https://developers.google.com/maps/documentation/
|
1401
|
-
# places/web-service/place-types
|
1407
|
+
# places/web-service/place-types. The primary type may be missing if the place's
|
1408
|
+
# primary type is not a supported type. When a primary type is present, it is
|
1409
|
+
# always one of the types in the `types` field.
|
1402
1410
|
# Corresponds to the JSON property `primaryType`
|
1403
1411
|
# @return [String]
|
1404
1412
|
attr_accessor :primary_type
|
@@ -1602,6 +1610,7 @@ module Google
|
|
1602
1610
|
@allows_dogs = args[:allows_dogs] if args.key?(:allows_dogs)
|
1603
1611
|
@attributions = args[:attributions] if args.key?(:attributions)
|
1604
1612
|
@business_status = args[:business_status] if args.key?(:business_status)
|
1613
|
+
@consumer_alert = args[:consumer_alert] if args.key?(:consumer_alert)
|
1605
1614
|
@containing_places = args[:containing_places] if args.key?(:containing_places)
|
1606
1615
|
@curbside_pickup = args[:curbside_pickup] if args.key?(:curbside_pickup)
|
1607
1616
|
@current_opening_hours = args[:current_opening_hours] if args.key?(:current_opening_hours)
|
@@ -1778,6 +1787,95 @@ module Google
|
|
1778
1787
|
end
|
1779
1788
|
end
|
1780
1789
|
|
1790
|
+
# The consumer alert message for the place when we detect suspicious review
|
1791
|
+
# activity on a business or a business violates our policies.
|
1792
|
+
class GoogleMapsPlacesV1PlaceConsumerAlert
|
1793
|
+
include Google::Apis::Core::Hashable
|
1794
|
+
|
1795
|
+
# The details of the consumer alert message.
|
1796
|
+
# Corresponds to the JSON property `details`
|
1797
|
+
# @return [Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceConsumerAlertDetails]
|
1798
|
+
attr_accessor :details
|
1799
|
+
|
1800
|
+
# The language code of the consumer alert message. This is a BCP 47 language
|
1801
|
+
# code.
|
1802
|
+
# Corresponds to the JSON property `languageCode`
|
1803
|
+
# @return [String]
|
1804
|
+
attr_accessor :language_code
|
1805
|
+
|
1806
|
+
# The overview of the consumer alert message.
|
1807
|
+
# Corresponds to the JSON property `overview`
|
1808
|
+
# @return [String]
|
1809
|
+
attr_accessor :overview
|
1810
|
+
|
1811
|
+
def initialize(**args)
|
1812
|
+
update!(**args)
|
1813
|
+
end
|
1814
|
+
|
1815
|
+
# Update properties of this object
|
1816
|
+
def update!(**args)
|
1817
|
+
@details = args[:details] if args.key?(:details)
|
1818
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
1819
|
+
@overview = args[:overview] if args.key?(:overview)
|
1820
|
+
end
|
1821
|
+
end
|
1822
|
+
|
1823
|
+
# The details of the consumer alert message.
|
1824
|
+
class GoogleMapsPlacesV1PlaceConsumerAlertDetails
|
1825
|
+
include Google::Apis::Core::Hashable
|
1826
|
+
|
1827
|
+
# The link to show together with the description to provide more information.
|
1828
|
+
# Corresponds to the JSON property `aboutLink`
|
1829
|
+
# @return [Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceConsumerAlertDetailsLink]
|
1830
|
+
attr_accessor :about_link
|
1831
|
+
|
1832
|
+
# The description of the consumer alert message.
|
1833
|
+
# Corresponds to the JSON property `description`
|
1834
|
+
# @return [String]
|
1835
|
+
attr_accessor :description
|
1836
|
+
|
1837
|
+
# The title to show together with the description.
|
1838
|
+
# Corresponds to the JSON property `title`
|
1839
|
+
# @return [String]
|
1840
|
+
attr_accessor :title
|
1841
|
+
|
1842
|
+
def initialize(**args)
|
1843
|
+
update!(**args)
|
1844
|
+
end
|
1845
|
+
|
1846
|
+
# Update properties of this object
|
1847
|
+
def update!(**args)
|
1848
|
+
@about_link = args[:about_link] if args.key?(:about_link)
|
1849
|
+
@description = args[:description] if args.key?(:description)
|
1850
|
+
@title = args[:title] if args.key?(:title)
|
1851
|
+
end
|
1852
|
+
end
|
1853
|
+
|
1854
|
+
# The link to show together with the description to provide more information.
|
1855
|
+
class GoogleMapsPlacesV1PlaceConsumerAlertDetailsLink
|
1856
|
+
include Google::Apis::Core::Hashable
|
1857
|
+
|
1858
|
+
# The title to show for the link.
|
1859
|
+
# Corresponds to the JSON property `title`
|
1860
|
+
# @return [String]
|
1861
|
+
attr_accessor :title
|
1862
|
+
|
1863
|
+
# The uri of the link.
|
1864
|
+
# Corresponds to the JSON property `uri`
|
1865
|
+
# @return [String]
|
1866
|
+
attr_accessor :uri
|
1867
|
+
|
1868
|
+
def initialize(**args)
|
1869
|
+
update!(**args)
|
1870
|
+
end
|
1871
|
+
|
1872
|
+
# Update properties of this object
|
1873
|
+
def update!(**args)
|
1874
|
+
@title = args[:title] if args.key?(:title)
|
1875
|
+
@uri = args[:uri] if args.key?(:uri)
|
1876
|
+
end
|
1877
|
+
end
|
1878
|
+
|
1781
1879
|
# Info about the place in which this place is located.
|
1782
1880
|
class GoogleMapsPlacesV1PlaceContainingPlace
|
1783
1881
|
include Google::Apis::Core::Hashable
|
@@ -1993,9 +2091,16 @@ module Google
|
|
1993
2091
|
attr_accessor :open_now
|
1994
2092
|
alias_method :open_now?, :open_now
|
1995
2093
|
|
1996
|
-
#
|
1997
|
-
#
|
1998
|
-
#
|
2094
|
+
# The periods that this place is open during the week. The periods are in
|
2095
|
+
# chronological order, in the place-local timezone. An empty (but not absent)
|
2096
|
+
# value indicates a place that is never open, e.g. because it is closed
|
2097
|
+
# temporarily for renovations. The starting day of `periods` is NOT fixed and
|
2098
|
+
# should not be assumed to be Sunday. The API determines the start day based on
|
2099
|
+
# a variety of factors. For example, for a 24/7 business, the first period may
|
2100
|
+
# begin on the day of the request. For other businesses, it might be the first
|
2101
|
+
# day of the week that they are open. NOTE: The ordering of the `periods` array
|
2102
|
+
# is independent of the ordering of the `weekday_descriptions` array. Do not
|
2103
|
+
# assume they will begin on the same day.
|
1999
2104
|
# Corresponds to the JSON property `periods`
|
2000
2105
|
# @return [Array<Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceOpeningHoursPeriod>]
|
2001
2106
|
attr_accessor :periods
|
@@ -2456,6 +2561,18 @@ module Google
|
|
2456
2561
|
# @return [Google::Apis::PlacesV1::GoogleTypeLocalizedText]
|
2457
2562
|
attr_accessor :text
|
2458
2563
|
|
2564
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
2565
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
2566
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
2567
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
2568
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
2569
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
2570
|
+
# example, a credit card expiration date). Related types: * google.type.
|
2571
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
2572
|
+
# Corresponds to the JSON property `visitDate`
|
2573
|
+
# @return [Google::Apis::PlacesV1::GoogleTypeDate]
|
2574
|
+
attr_accessor :visit_date
|
2575
|
+
|
2459
2576
|
def initialize(**args)
|
2460
2577
|
update!(**args)
|
2461
2578
|
end
|
@@ -2471,6 +2588,7 @@ module Google
|
|
2471
2588
|
@rating = args[:rating] if args.key?(:rating)
|
2472
2589
|
@relative_publish_time_description = args[:relative_publish_time_description] if args.key?(:relative_publish_time_description)
|
2473
2590
|
@text = args[:text] if args.key?(:text)
|
2591
|
+
@visit_date = args[:visit_date] if args.key?(:visit_date)
|
2474
2592
|
end
|
2475
2593
|
end
|
2476
2594
|
|
@@ -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.38.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250921"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -220,6 +220,24 @@ module Google
|
|
220
220
|
include Google::Apis::Core::JsonObjectSupport
|
221
221
|
end
|
222
222
|
|
223
|
+
class GoogleMapsPlacesV1PlaceConsumerAlert
|
224
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
|
+
|
226
|
+
include Google::Apis::Core::JsonObjectSupport
|
227
|
+
end
|
228
|
+
|
229
|
+
class GoogleMapsPlacesV1PlaceConsumerAlertDetails
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
233
|
+
end
|
234
|
+
|
235
|
+
class GoogleMapsPlacesV1PlaceConsumerAlertDetailsLink
|
236
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
|
+
|
238
|
+
include Google::Apis::Core::JsonObjectSupport
|
239
|
+
end
|
240
|
+
|
223
241
|
class GoogleMapsPlacesV1PlaceContainingPlace
|
224
242
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
243
|
|
@@ -750,6 +768,8 @@ module Google
|
|
750
768
|
collection :attributions, as: 'attributions', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceAttribution, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceAttribution::Representation
|
751
769
|
|
752
770
|
property :business_status, as: 'businessStatus'
|
771
|
+
property :consumer_alert, as: 'consumerAlert', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceConsumerAlert, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceConsumerAlert::Representation
|
772
|
+
|
753
773
|
collection :containing_places, as: 'containingPlaces', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceContainingPlace, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceContainingPlace::Representation
|
754
774
|
|
755
775
|
property :curbside_pickup, as: 'curbsidePickup'
|
@@ -872,6 +892,34 @@ module Google
|
|
872
892
|
end
|
873
893
|
end
|
874
894
|
|
895
|
+
class GoogleMapsPlacesV1PlaceConsumerAlert
|
896
|
+
# @private
|
897
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
898
|
+
property :details, as: 'details', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceConsumerAlertDetails, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceConsumerAlertDetails::Representation
|
899
|
+
|
900
|
+
property :language_code, as: 'languageCode'
|
901
|
+
property :overview, as: 'overview'
|
902
|
+
end
|
903
|
+
end
|
904
|
+
|
905
|
+
class GoogleMapsPlacesV1PlaceConsumerAlertDetails
|
906
|
+
# @private
|
907
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
908
|
+
property :about_link, as: 'aboutLink', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceConsumerAlertDetailsLink, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceConsumerAlertDetailsLink::Representation
|
909
|
+
|
910
|
+
property :description, as: 'description'
|
911
|
+
property :title, as: 'title'
|
912
|
+
end
|
913
|
+
end
|
914
|
+
|
915
|
+
class GoogleMapsPlacesV1PlaceConsumerAlertDetailsLink
|
916
|
+
# @private
|
917
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
918
|
+
property :title, as: 'title'
|
919
|
+
property :uri, as: 'uri'
|
920
|
+
end
|
921
|
+
end
|
922
|
+
|
875
923
|
class GoogleMapsPlacesV1PlaceContainingPlace
|
876
924
|
# @private
|
877
925
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1060,6 +1108,8 @@ module Google
|
|
1060
1108
|
property :relative_publish_time_description, as: 'relativePublishTimeDescription'
|
1061
1109
|
property :text, as: 'text', class: Google::Apis::PlacesV1::GoogleTypeLocalizedText, decorator: Google::Apis::PlacesV1::GoogleTypeLocalizedText::Representation
|
1062
1110
|
|
1111
|
+
property :visit_date, as: 'visitDate', class: Google::Apis::PlacesV1::GoogleTypeDate, decorator: Google::Apis::PlacesV1::GoogleTypeDate::Representation
|
1112
|
+
|
1063
1113
|
end
|
1064
1114
|
end
|
1065
1115
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.38.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-places_v1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-places_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-places_v1/v0.38.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-places_v1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|