Skip to content

Commit a336cac

Browse files
feat: Automated regeneration of places v1 client (#24702)
Auto-created at 2025-10-26 09:21:48 +0000 using the toys pull request generator.
1 parent e44e5fc commit a336cac

File tree

5 files changed

+28
-2
lines changed

5 files changed

+28
-2
lines changed

api_names_out.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317821,6 +317821,8 @@
317821317821
"/places:v1/GoogleMapsPlacesV1Place/liveMusic": live_music
317822317822
"/places:v1/GoogleMapsPlacesV1Place/location": location
317823317823
"/places:v1/GoogleMapsPlacesV1Place/menuForChildren": menu_for_children
317824+
"/places:v1/GoogleMapsPlacesV1Place/movedPlace": moved_place
317825+
"/places:v1/GoogleMapsPlacesV1Place/movedPlaceId": moved_place_id
317824317826
"/places:v1/GoogleMapsPlacesV1Place/name": name
317825317827
"/places:v1/GoogleMapsPlacesV1Place/nationalPhoneNumber": national_phone_number
317826317828
"/places:v1/GoogleMapsPlacesV1Place/neighborhoodSummary": neighborhood_summary

generated/google-apis-places_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-places_v1
22

3+
### v0.40.0 (2025-10-26)
4+
5+
* Regenerated from discovery document revision 20251021
6+
37
### v0.39.0 (2025-10-12)
48

59
* Regenerated from discovery document revision 20251007

generated/google-apis-places_v1/lib/google/apis/places_v1/classes.rb

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1328,6 +1328,22 @@ class GoogleMapsPlacesV1Place
13281328
attr_accessor :menu_for_children
13291329
alias_method :menu_for_children?, :menu_for_children
13301330

1331+
# If this Place is permanently closed and has moved to a new Place, this field
1332+
# contains the new Place's resource name, in `places/`place_id`` format. If this
1333+
# Place moved multiple times, this field will represent the first moved place.
1334+
# This field will not be populated if this Place has not moved.
1335+
# Corresponds to the JSON property `movedPlace`
1336+
# @return [String]
1337+
attr_accessor :moved_place
1338+
1339+
# If this Place is permanently closed and has moved to a new Place, this field
1340+
# contains the new Place's place ID. If this Place moved multiple times, this
1341+
# field will represent the first moved Place. This field will not be populated
1342+
# if this Place has not moved.
1343+
# Corresponds to the JSON property `movedPlaceId`
1344+
# @return [String]
1345+
attr_accessor :moved_place_id
1346+
13311347
# This Place's resource name, in `places/`place_id`` format. Can be used to look
13321348
# up the Place.
13331349
# Corresponds to the JSON property `name`
@@ -1636,6 +1652,8 @@ def update!(**args)
16361652
@live_music = args[:live_music] if args.key?(:live_music)
16371653
@location = args[:location] if args.key?(:location)
16381654
@menu_for_children = args[:menu_for_children] if args.key?(:menu_for_children)
1655+
@moved_place = args[:moved_place] if args.key?(:moved_place)
1656+
@moved_place_id = args[:moved_place_id] if args.key?(:moved_place_id)
16391657
@name = args[:name] if args.key?(:name)
16401658
@national_phone_number = args[:national_phone_number] if args.key?(:national_phone_number)
16411659
@neighborhood_summary = args[:neighborhood_summary] if args.key?(:neighborhood_summary)

generated/google-apis-places_v1/lib/google/apis/places_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module PlacesV1
1818
# Version of the google-apis-places_v1 gem
19-
GEM_VERSION = "0.39.0"
19+
GEM_VERSION = "0.40.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20251007"
25+
REVISION = "20251021"
2626
end
2727
end
2828
end

generated/google-apis-places_v1/lib/google/apis/places_v1/representations.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -806,6 +806,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
806806
property :location, as: 'location', class: Google::Apis::PlacesV1::GoogleTypeLatLng, decorator: Google::Apis::PlacesV1::GoogleTypeLatLng::Representation
807807

808808
property :menu_for_children, as: 'menuForChildren'
809+
property :moved_place, as: 'movedPlace'
810+
property :moved_place_id, as: 'movedPlaceId'
809811
property :name, as: 'name'
810812
property :national_phone_number, as: 'nationalPhoneNumber'
811813
property :neighborhood_summary, as: 'neighborhoodSummary', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceNeighborhoodSummary, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceNeighborhoodSummary::Representation

0 commit comments

Comments
 (0)