google-apis-places_v1 0.37.0 → 0.39.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: 6faeb0a33143aef56b1cc945287cf9eccc26f7fe6aee2197793c06fc9126645b
4
- data.tar.gz: d8ccbac745ea91df0d5a8544da6136085ee6c948be84ee33ed7cec19c3f1ad0b
3
+ metadata.gz: 89b1b5f2f8bb0c514f65594160744805cabfc55a7c9a10382216dea8609763c6
4
+ data.tar.gz: 3d68f3a2a4c1df6c0cf592d71a5535471c46ec0ffc400313659aadcb8b05ea8e
5
5
  SHA512:
6
- metadata.gz: 8c7dd9de8918ae9636ad51124918de88bd79c9361154242bc8141677a0a9ee69e3034bf7431f7adef745b872cb7491e66937a522cefff551eb905a7bd2b47470
7
- data.tar.gz: 62a34e5e03d72729be43d84796b52976132f1b529a3f08be31cf8df1c9238e32990becb26ddec8a2c57c8b88e8f3c4a98980adc6f0d1346a9a3361d6527d9de5
6
+ metadata.gz: 3b6e327c64d80842aa7c6d491b7f9cb4986d813ea12c46e41317a8da179c094b806ee8f399d370ef096e6e376f10319ba37d0d1dd45ea8eab8adfea654072db1
7
+ data.tar.gz: '058dfe59fa80685ae45a1b15fcf4ea5ffcf24cdbd9f9581142d11a7943170e643c6e1a669df52201e47dcaff208100543ee5a1d4b7cc97d83df2998151f89bba'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-places_v1
2
2
 
3
+ ### v0.39.0 (2025-10-12)
4
+
5
+ * Regenerated from discovery document revision 20251007
6
+
7
+ ### v0.38.0 (2025-09-28)
8
+
9
+ * Regenerated from discovery document revision 20250921
10
+
3
11
  ### v0.37.0 (2025-07-06)
4
12
 
5
13
  * Regenerated from discovery document revision 20250629
@@ -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
@@ -1897,7 +1993,7 @@ module Google
1897
1993
  # @return [String]
1898
1994
  attr_accessor :directions_uri
1899
1995
 
1900
- # A link to show reviews of this place on Google Maps.
1996
+ # A link to show photos of this place on Google Maps.
1901
1997
  # Corresponds to the JSON property `photosUri`
1902
1998
  # @return [String]
1903
1999
  attr_accessor :photos_uri
@@ -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.37.0"
19
+ GEM_VERSION = "0.39.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 = "20250629"
25
+ REVISION = "20251007"
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.37.0
4
+ version: 0.39.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.37.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-places_v1/v0.39.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: