google-apis-places_v1 0.34.0 → 0.36.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: a040b9bf56fd894ee7047593998d63cee692cace5c1a40d9f49961f9f9d805cf
4
- data.tar.gz: 84510048c725d32dede85515c7871c7d72f1dc185c59ebc6db9c7bcfa0dc801d
3
+ metadata.gz: c0cf20f86548af1a7d5576ec1e67938aa666eff35ac1bbe9e6542ec510608f69
4
+ data.tar.gz: 8d1e475e8b552a64f7fea17380bbc0f603a80ef4dff68a46ca499ac4d33dbc7f
5
5
  SHA512:
6
- metadata.gz: 8feb3d98d625c24ddc0c584dd23ef8a86f041fc1cbdf74c34b16c53597b8ef7f46ec4f86ee413290034679f62252bf874b6af8523e1c17d53f60a13666863826
7
- data.tar.gz: d6b1f91cb42bc60a41e53621fe6ceae41546014009d7a166d0f44c7bf751b7fa3d2c224fc269bc2ca5dfa7754964b62c924a594db4f7168380e9f30e54e2c348
6
+ metadata.gz: ab937621db38ec6908eb6bf7cc7a28a95199b237b7fa5fd0a7d675938a63a44d1cf842bab791b0e9acc280770865d4e4f276ecb2bfb3889b31ba5a365a8a7c01
7
+ data.tar.gz: eee370eff4d2df23f5aaae8b75d3fbd245ad80a505d20370ecbff035307b9fe9c04d98d79dc498c611fb745a95741f167aafd200cc33ded0ac6aa88c6e190d42
data/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Release history for google-apis-places_v1
2
2
 
3
+ ### v0.36.0 (2025-06-15)
4
+
5
+ * Regenerated from discovery document revision 20250611
6
+ * Regenerated using generator version 0.18.0
7
+
8
+ ### v0.35.0 (2025-05-18)
9
+
10
+ * Regenerated from discovery document revision 20250506
11
+ * Regenerated using generator version 0.17.0
12
+
3
13
  ### v0.34.0 (2025-04-20)
4
14
 
5
15
  * Regenerated from discovery document revision 20250414
data/OVERVIEW.md CHANGED
@@ -83,7 +83,7 @@ The [product documentation](https://mapsplatform.google.com/maps-products/#place
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 2.7+.
86
+ This library is supported on Ruby 3.1+.
87
87
 
88
88
  Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
@@ -1368,16 +1368,17 @@ module Google
1368
1368
  # @return [Google::Apis::PlacesV1::GoogleMapsPlacesV1PlacePlusCode]
1369
1369
  attr_accessor :plus_code
1370
1370
 
1371
- # Represents a postal address (for example, for postal delivery or payments
1372
- # addresses). Given a postal address, a postal service can deliver items to a
1373
- # premise, P.O. box or similar. It is not intended to model geographical
1374
- # locations (roads, towns, mountains). In typical usage, an address would be
1375
- # created by user input or from importing existing data, depending on the type
1376
- # of process. Advice on address input or editing: - Use an internationalization-
1377
- # ready address widget such as https://github.com/google/libaddressinput. -
1378
- # Users should not be presented with UI elements for input or editing of fields
1379
- # outside countries where that field is used. For more guidance on how to use
1380
- # this schema, see: https://support.google.com/business/answer/6397478.
1371
+ # Represents a postal address, such as for postal delivery or payments addresses.
1372
+ # With a postal address, a postal service can deliver items to a premise, P.O.
1373
+ # box, or similar. A postal address is not intended to model geographical
1374
+ # locations like roads, towns, or mountains. In typical usage, an address would
1375
+ # be created by user input or from importing existing data, depending on the
1376
+ # type of process. Advice on address input or editing: - Use an
1377
+ # internationalization-ready address widget such as https://github.com/google/
1378
+ # libaddressinput. - Users should not be presented with UI elements for input or
1379
+ # editing of fields outside countries where that field is used. For more
1380
+ # guidance on how to use this schema, see: https://support.google.com/business/
1381
+ # answer/6397478.
1381
1382
  # Corresponds to the JSON property `postalAddress`
1382
1383
  # @return [Google::Apis::PlacesV1::GoogleTypePostalAddress]
1383
1384
  attr_accessor :postal_address
@@ -1894,8 +1895,7 @@ module Google
1894
1895
  # @return [String]
1895
1896
  attr_accessor :directions_uri
1896
1897
 
1897
- # A link to show photos of this place. This link is currently not supported on
1898
- # Google Maps Mobile and only works on the web version of Google Maps.
1898
+ # A link to show reviews of this place on Google Maps.
1899
1899
  # Corresponds to the JSON property `photosUri`
1900
1900
  # @return [String]
1901
1901
  attr_accessor :photos_uri
@@ -1905,14 +1905,12 @@ module Google
1905
1905
  # @return [String]
1906
1906
  attr_accessor :place_uri
1907
1907
 
1908
- # A link to show reviews of this place. This link is currently not supported on
1909
- # Google Maps Mobile and only works on the web version of Google Maps.
1908
+ # A link to show reviews of this place on Google Maps.
1910
1909
  # Corresponds to the JSON property `reviewsUri`
1911
1910
  # @return [String]
1912
1911
  attr_accessor :reviews_uri
1913
1912
 
1914
- # A link to write a review for this place. This link is currently not supported
1915
- # on Google Maps Mobile and only works on the web version of Google Maps.
1913
+ # A link to write a review for this place on Google Maps.
1916
1914
  # Corresponds to the JSON property `writeAReviewUri`
1917
1915
  # @return [String]
1918
1916
  attr_accessor :write_a_review_uri
@@ -1995,10 +1993,9 @@ module Google
1995
1993
  attr_accessor :open_now
1996
1994
  alias_method :open_now?, :open_now
1997
1995
 
1998
- # The periods that this place is open during the week. The periods are in
1999
- # chronological order, starting with Sunday in the place-local timezone. An
2000
- # empty (but not absent) value indicates a place that is never open, e.g.
2001
- # because it is closed temporarily for renovations.
1996
+ # NOTE: The ordering of the `periods` array is independent of the ordering of
1997
+ # the `weekday_descriptions` array. Do not assume they will begin on the same
1998
+ # day.
2002
1999
  # Corresponds to the JSON property `periods`
2003
2000
  # @return [Array<Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceOpeningHoursPeriod>]
2004
2001
  attr_accessor :periods
@@ -2017,8 +2014,12 @@ module Google
2017
2014
  attr_accessor :special_days
2018
2015
 
2019
2016
  # Localized strings describing the opening hours of this place, one string for
2020
- # each day of the week. Will be empty if the hours are unknown or could not be
2021
- # converted to localized text. Example: "Sun: 18:00–06:00"
2017
+ # each day of the week. NOTE: The order of the days and the start of the week is
2018
+ # determined by the locale (language and region). The ordering of the `periods`
2019
+ # array is independent of the ordering of the `weekday_descriptions` array. Do
2020
+ # not assume they will begin on the same day. Will be empty if the hours are
2021
+ # unknown or could not be converted to localized text. Example: "Sun: 18:00–06:
2022
+ # 00"
2022
2023
  # Corresponds to the JSON property `weekdayDescriptions`
2023
2024
  # @return [Array<String>]
2024
2025
  attr_accessor :weekday_descriptions
@@ -2296,6 +2297,11 @@ module Google
2296
2297
  # @return [String]
2297
2298
  attr_accessor :flag_content_uri
2298
2299
 
2300
+ # A link to show reviews of this place on Google Maps.
2301
+ # Corresponds to the JSON property `reviewsUri`
2302
+ # @return [String]
2303
+ attr_accessor :reviews_uri
2304
+
2299
2305
  # Localized variant of a text in a particular language.
2300
2306
  # Corresponds to the JSON property `text`
2301
2307
  # @return [Google::Apis::PlacesV1::GoogleTypeLocalizedText]
@@ -2309,6 +2315,7 @@ module Google
2309
2315
  def update!(**args)
2310
2316
  @disclosure_text = args[:disclosure_text] if args.key?(:disclosure_text)
2311
2317
  @flag_content_uri = args[:flag_content_uri] if args.key?(:flag_content_uri)
2318
+ @reviews_uri = args[:reviews_uri] if args.key?(:reviews_uri)
2312
2319
  @text = args[:text] if args.key?(:text)
2313
2320
  end
2314
2321
  end
@@ -3307,16 +3314,17 @@ module Google
3307
3314
  end
3308
3315
  end
3309
3316
 
3310
- # Represents a postal address (for example, for postal delivery or payments
3311
- # addresses). Given a postal address, a postal service can deliver items to a
3312
- # premise, P.O. box or similar. It is not intended to model geographical
3313
- # locations (roads, towns, mountains). In typical usage, an address would be
3314
- # created by user input or from importing existing data, depending on the type
3315
- # of process. Advice on address input or editing: - Use an internationalization-
3316
- # ready address widget such as https://github.com/google/libaddressinput. -
3317
- # Users should not be presented with UI elements for input or editing of fields
3318
- # outside countries where that field is used. For more guidance on how to use
3319
- # this schema, see: https://support.google.com/business/answer/6397478.
3317
+ # Represents a postal address, such as for postal delivery or payments addresses.
3318
+ # With a postal address, a postal service can deliver items to a premise, P.O.
3319
+ # box, or similar. A postal address is not intended to model geographical
3320
+ # locations like roads, towns, or mountains. In typical usage, an address would
3321
+ # be created by user input or from importing existing data, depending on the
3322
+ # type of process. Advice on address input or editing: - Use an
3323
+ # internationalization-ready address widget such as https://github.com/google/
3324
+ # libaddressinput. - Users should not be presented with UI elements for input or
3325
+ # editing of fields outside countries where that field is used. For more
3326
+ # guidance on how to use this schema, see: https://support.google.com/business/
3327
+ # answer/6397478.
3320
3328
  class GoogleTypePostalAddress
3321
3329
  include Google::Apis::Core::Hashable
3322
3330
 
@@ -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.34.0"
19
+ GEM_VERSION = "0.36.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.16.0"
22
+ GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250414"
25
+ REVISION = "20250611"
26
26
  end
27
27
  end
28
28
  end
@@ -1014,6 +1014,7 @@ module Google
1014
1014
  property :disclosure_text, as: 'disclosureText', class: Google::Apis::PlacesV1::GoogleTypeLocalizedText, decorator: Google::Apis::PlacesV1::GoogleTypeLocalizedText::Representation
1015
1015
 
1016
1016
  property :flag_content_uri, as: 'flagContentUri'
1017
+ property :reviews_uri, as: 'reviewsUri'
1017
1018
  property :text, as: 'text', class: Google::Apis::PlacesV1::GoogleTypeLocalizedText, decorator: Google::Apis::PlacesV1::GoogleTypeLocalizedText::Representation
1018
1019
 
1019
1020
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-places_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.34.0
4
+ version: 0.36.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-04-20 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -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.34.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-places_v1/v0.36.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:
@@ -66,14 +66,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: '2.7'
69
+ version: '3.1'
70
70
  required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - ">="
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.5
76
+ rubygems_version: 3.6.9
77
77
  specification_version: 4
78
78
  summary: Simple REST client for Places API (New) V1
79
79
  test_files: []