google-apis-places_v1 0.37.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 +4 -0
- data/lib/google/apis/places_v1/classes.rb +109 -0
- 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
@@ -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>]
|
@@ -1604,6 +1610,7 @@ module Google
|
|
1604
1610
|
@allows_dogs = args[:allows_dogs] if args.key?(:allows_dogs)
|
1605
1611
|
@attributions = args[:attributions] if args.key?(:attributions)
|
1606
1612
|
@business_status = args[:business_status] if args.key?(:business_status)
|
1613
|
+
@consumer_alert = args[:consumer_alert] if args.key?(:consumer_alert)
|
1607
1614
|
@containing_places = args[:containing_places] if args.key?(:containing_places)
|
1608
1615
|
@curbside_pickup = args[:curbside_pickup] if args.key?(:curbside_pickup)
|
1609
1616
|
@current_opening_hours = args[:current_opening_hours] if args.key?(:current_opening_hours)
|
@@ -1780,6 +1787,95 @@ module Google
|
|
1780
1787
|
end
|
1781
1788
|
end
|
1782
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
|
+
|
1783
1879
|
# Info about the place in which this place is located.
|
1784
1880
|
class GoogleMapsPlacesV1PlaceContainingPlace
|
1785
1881
|
include Google::Apis::Core::Hashable
|
@@ -2465,6 +2561,18 @@ module Google
|
|
2465
2561
|
# @return [Google::Apis::PlacesV1::GoogleTypeLocalizedText]
|
2466
2562
|
attr_accessor :text
|
2467
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
|
+
|
2468
2576
|
def initialize(**args)
|
2469
2577
|
update!(**args)
|
2470
2578
|
end
|
@@ -2480,6 +2588,7 @@ module Google
|
|
2480
2588
|
@rating = args[:rating] if args.key?(:rating)
|
2481
2589
|
@relative_publish_time_description = args[:relative_publish_time_description] if args.key?(:relative_publish_time_description)
|
2482
2590
|
@text = args[:text] if args.key?(:text)
|
2591
|
+
@visit_date = args[:visit_date] if args.key?(:visit_date)
|
2483
2592
|
end
|
2484
2593
|
end
|
2485
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:
|