Skip to content

Commit b93b3c6

Browse files
feat: Automated regeneration of places v1 client (googleapis#26552)
Auto-created at 2026-05-24 10:28:22 +0000 using the toys pull request generator.
1 parent 24fffb3 commit b93b3c6

5 files changed

Lines changed: 389 additions & 2 deletions

File tree

api_names_out.yaml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -344554,6 +344554,7 @@
344554344554
"/places:v1/GoogleMapsPlacesV1Place/subDestinations/sub_destination": sub_destination
344555344555
"/places:v1/GoogleMapsPlacesV1Place/takeout": takeout
344556344556
"/places:v1/GoogleMapsPlacesV1Place/timeZone": time_zone
344557+
"/places:v1/GoogleMapsPlacesV1Place/transitStation": transit_station
344557344558
"/places:v1/GoogleMapsPlacesV1Place/types": types
344558344559
"/places:v1/GoogleMapsPlacesV1Place/types/type": type
344559344560
"/places:v1/GoogleMapsPlacesV1Place/userRatingCount": user_rating_count
@@ -344784,6 +344785,40 @@
344784344785
"/places:v1/GoogleMapsPlacesV1SearchTextResponse/routingSummaries": routing_summaries
344785344786
"/places:v1/GoogleMapsPlacesV1SearchTextResponse/routingSummaries/routing_summary": routing_summary
344786344787
"/places:v1/GoogleMapsPlacesV1SearchTextResponse/searchUri": search_uri
344788+
"/places:v1/GoogleMapsPlacesV1TransitAgency": google_maps_places_v1_transit_agency
344789+
"/places:v1/GoogleMapsPlacesV1TransitAgency/displayName": display_name
344790+
"/places:v1/GoogleMapsPlacesV1TransitAgency/fareUrl": fare_url
344791+
"/places:v1/GoogleMapsPlacesV1TransitAgency/icon": icon
344792+
"/places:v1/GoogleMapsPlacesV1TransitAgency/lines": lines
344793+
"/places:v1/GoogleMapsPlacesV1TransitAgency/lines/line": line
344794+
"/places:v1/GoogleMapsPlacesV1TransitAgency/url": url
344795+
"/places:v1/GoogleMapsPlacesV1TransitIcon": google_maps_places_v1_transit_icon
344796+
"/places:v1/GoogleMapsPlacesV1TransitIcon/nameIncluded": name_included
344797+
"/places:v1/GoogleMapsPlacesV1TransitIcon/url": url
344798+
"/places:v1/GoogleMapsPlacesV1TransitLine": google_maps_places_v1_transit_line
344799+
"/places:v1/GoogleMapsPlacesV1TransitLine/backgroundColor": background_color
344800+
"/places:v1/GoogleMapsPlacesV1TransitLine/displayName": display_name
344801+
"/places:v1/GoogleMapsPlacesV1TransitLine/icon": icon
344802+
"/places:v1/GoogleMapsPlacesV1TransitLine/id": id
344803+
"/places:v1/GoogleMapsPlacesV1TransitLine/shortDisplayName": short_display_name
344804+
"/places:v1/GoogleMapsPlacesV1TransitLine/textColor": text_color
344805+
"/places:v1/GoogleMapsPlacesV1TransitLine/url": url
344806+
"/places:v1/GoogleMapsPlacesV1TransitLine/vehicleIcon": vehicle_icon
344807+
"/places:v1/GoogleMapsPlacesV1TransitLine/vehicleType": vehicle_type
344808+
"/places:v1/GoogleMapsPlacesV1TransitStation": google_maps_places_v1_transit_station
344809+
"/places:v1/GoogleMapsPlacesV1TransitStation/agencies": agencies
344810+
"/places:v1/GoogleMapsPlacesV1TransitStation/agencies/agency": agency
344811+
"/places:v1/GoogleMapsPlacesV1TransitStation/displayName": display_name
344812+
"/places:v1/GoogleMapsPlacesV1TransitStation/stops": stops
344813+
"/places:v1/GoogleMapsPlacesV1TransitStation/stops/stop": stop
344814+
"/places:v1/GoogleMapsPlacesV1TransitStop": google_maps_places_v1_transit_stop
344815+
"/places:v1/GoogleMapsPlacesV1TransitStop/displayName": display_name
344816+
"/places:v1/GoogleMapsPlacesV1TransitStop/id": id
344817+
"/places:v1/GoogleMapsPlacesV1TransitStop/location": location
344818+
"/places:v1/GoogleMapsPlacesV1TransitStop/platformCode": platform_code
344819+
"/places:v1/GoogleMapsPlacesV1TransitStop/signageText": signage_text
344820+
"/places:v1/GoogleMapsPlacesV1TransitStop/stopCode": stop_code
344821+
"/places:v1/GoogleMapsPlacesV1TransitStop/wheelchairAccessibleEntrance": wheelchair_accessible_entrance
344787344822
"/places:v1/GoogleTypeDate": google_type_date
344788344823
"/places:v1/GoogleTypeDate/day": day
344789344824
"/places:v1/GoogleTypeDate/month": month

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.44.0 (2026-05-24)
4+
5+
* Regenerated from discovery document revision 20260517
6+
37
### v0.43.0 (2026-04-19)
48

59
* Regenerated from discovery document revision 20260323

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

Lines changed: 245 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1592,6 +1592,11 @@ class GoogleMapsPlacesV1Place
15921592
# @return [Google::Apis::PlacesV1::GoogleTypeTimeZone]
15931593
attr_accessor :time_zone
15941594

1595+
# Represents transit-specific information for a place.
1596+
# Corresponds to the JSON property `transitStation`
1597+
# @return [Google::Apis::PlacesV1::GoogleMapsPlacesV1TransitStation]
1598+
attr_accessor :transit_station
1599+
15951600
# A set of type tags for this result. For example, "political" and "locality".
15961601
# For the complete list of possible values, see Table A and Table B at https://
15971602
# developers.google.com/maps/documentation/places/web-service/place-types
@@ -1716,6 +1721,7 @@ def update!(**args)
17161721
@sub_destinations = args[:sub_destinations] if args.key?(:sub_destinations)
17171722
@takeout = args[:takeout] if args.key?(:takeout)
17181723
@time_zone = args[:time_zone] if args.key?(:time_zone)
1724+
@transit_station = args[:transit_station] if args.key?(:transit_station)
17191725
@types = args[:types] if args.key?(:types)
17201726
@user_rating_count = args[:user_rating_count] if args.key?(:user_rating_count)
17211727
@utc_offset_minutes = args[:utc_offset_minutes] if args.key?(:utc_offset_minutes)
@@ -3361,6 +3367,245 @@ def update!(**args)
33613367
end
33623368
end
33633369

3370+
# Represents a transit agency.
3371+
class GoogleMapsPlacesV1TransitAgency
3372+
include Google::Apis::Core::Hashable
3373+
3374+
# Localized variant of a text in a particular language.
3375+
# Corresponds to the JSON property `displayName`
3376+
# @return [Google::Apis::PlacesV1::GoogleTypeLocalizedText]
3377+
attr_accessor :display_name
3378+
3379+
# The URL of the agency's fare details page.
3380+
# Corresponds to the JSON property `fareUrl`
3381+
# @return [String]
3382+
attr_accessor :fare_url
3383+
3384+
# Icon for a transit line, vehicle, or agency.
3385+
# Corresponds to the JSON property `icon`
3386+
# @return [Google::Apis::PlacesV1::GoogleMapsPlacesV1TransitIcon]
3387+
attr_accessor :icon
3388+
3389+
# The transit lines that are served by this agency.
3390+
# Corresponds to the JSON property `lines`
3391+
# @return [Array<Google::Apis::PlacesV1::GoogleMapsPlacesV1TransitLine>]
3392+
attr_accessor :lines
3393+
3394+
# The URL of the agency's homepage.
3395+
# Corresponds to the JSON property `url`
3396+
# @return [String]
3397+
attr_accessor :url
3398+
3399+
def initialize(**args)
3400+
update!(**args)
3401+
end
3402+
3403+
# Update properties of this object
3404+
def update!(**args)
3405+
@display_name = args[:display_name] if args.key?(:display_name)
3406+
@fare_url = args[:fare_url] if args.key?(:fare_url)
3407+
@icon = args[:icon] if args.key?(:icon)
3408+
@lines = args[:lines] if args.key?(:lines)
3409+
@url = args[:url] if args.key?(:url)
3410+
end
3411+
end
3412+
3413+
# Icon for a transit line, vehicle, or agency.
3414+
class GoogleMapsPlacesV1TransitIcon
3415+
include Google::Apis::Core::Hashable
3416+
3417+
# Whether the name is contained in the icon and there is no need to display it
3418+
# next to the icon.
3419+
# Corresponds to the JSON property `nameIncluded`
3420+
# @return [Boolean]
3421+
attr_accessor :name_included
3422+
alias_method :name_included?, :name_included
3423+
3424+
# The URL of the icon.
3425+
# Corresponds to the JSON property `url`
3426+
# @return [String]
3427+
attr_accessor :url
3428+
3429+
def initialize(**args)
3430+
update!(**args)
3431+
end
3432+
3433+
# Update properties of this object
3434+
def update!(**args)
3435+
@name_included = args[:name_included] if args.key?(:name_included)
3436+
@url = args[:url] if args.key?(:url)
3437+
end
3438+
end
3439+
3440+
# Represents a single transit line.
3441+
class GoogleMapsPlacesV1TransitLine
3442+
include Google::Apis::Core::Hashable
3443+
3444+
# The background color of the labels for this transit line in #RRGGBB hex format,
3445+
# e.g. #909CE1. This color can also be used for drawing shapes for this transit
3446+
# line.
3447+
# Corresponds to the JSON property `backgroundColor`
3448+
# @return [String]
3449+
attr_accessor :background_color
3450+
3451+
# Localized variant of a text in a particular language.
3452+
# Corresponds to the JSON property `displayName`
3453+
# @return [Google::Apis::PlacesV1::GoogleTypeLocalizedText]
3454+
attr_accessor :display_name
3455+
3456+
# Icon for a transit line, vehicle, or agency.
3457+
# Corresponds to the JSON property `icon`
3458+
# @return [Google::Apis::PlacesV1::GoogleMapsPlacesV1TransitIcon]
3459+
attr_accessor :icon
3460+
3461+
# The id of the transit line that can be used to uniquely identify the line
3462+
# among other transit lines in the same transit station. This identifier is not
3463+
# guaranteed to be stable across different responses.
3464+
# Corresponds to the JSON property `id`
3465+
# @return [String]
3466+
attr_accessor :id
3467+
3468+
# Localized variant of a text in a particular language.
3469+
# Corresponds to the JSON property `shortDisplayName`
3470+
# @return [Google::Apis::PlacesV1::GoogleTypeLocalizedText]
3471+
attr_accessor :short_display_name
3472+
3473+
# The text color of labels for this transit line in #RRGGBB hex format, e.g. #
3474+
# 909CE1.
3475+
# Corresponds to the JSON property `textColor`
3476+
# @return [String]
3477+
attr_accessor :text_color
3478+
3479+
# The URL of a webpage with details about this line.
3480+
# Corresponds to the JSON property `url`
3481+
# @return [String]
3482+
attr_accessor :url
3483+
3484+
# Icon for a transit line, vehicle, or agency.
3485+
# Corresponds to the JSON property `vehicleIcon`
3486+
# @return [Google::Apis::PlacesV1::GoogleMapsPlacesV1TransitIcon]
3487+
attr_accessor :vehicle_icon
3488+
3489+
# The type of vehicle using this line.
3490+
# Corresponds to the JSON property `vehicleType`
3491+
# @return [String]
3492+
attr_accessor :vehicle_type
3493+
3494+
def initialize(**args)
3495+
update!(**args)
3496+
end
3497+
3498+
# Update properties of this object
3499+
def update!(**args)
3500+
@background_color = args[:background_color] if args.key?(:background_color)
3501+
@display_name = args[:display_name] if args.key?(:display_name)
3502+
@icon = args[:icon] if args.key?(:icon)
3503+
@id = args[:id] if args.key?(:id)
3504+
@short_display_name = args[:short_display_name] if args.key?(:short_display_name)
3505+
@text_color = args[:text_color] if args.key?(:text_color)
3506+
@url = args[:url] if args.key?(:url)
3507+
@vehicle_icon = args[:vehicle_icon] if args.key?(:vehicle_icon)
3508+
@vehicle_type = args[:vehicle_type] if args.key?(:vehicle_type)
3509+
end
3510+
end
3511+
3512+
# Represents transit-specific information for a place.
3513+
class GoogleMapsPlacesV1TransitStation
3514+
include Google::Apis::Core::Hashable
3515+
3516+
# The transit agencies that serve this station.
3517+
# Corresponds to the JSON property `agencies`
3518+
# @return [Array<Google::Apis::PlacesV1::GoogleMapsPlacesV1TransitAgency>]
3519+
attr_accessor :agencies
3520+
3521+
# Localized variant of a text in a particular language.
3522+
# Corresponds to the JSON property `displayName`
3523+
# @return [Google::Apis::PlacesV1::GoogleTypeLocalizedText]
3524+
attr_accessor :display_name
3525+
3526+
# Transit stops at this station.
3527+
# Corresponds to the JSON property `stops`
3528+
# @return [Array<Google::Apis::PlacesV1::GoogleMapsPlacesV1TransitStop>]
3529+
attr_accessor :stops
3530+
3531+
def initialize(**args)
3532+
update!(**args)
3533+
end
3534+
3535+
# Update properties of this object
3536+
def update!(**args)
3537+
@agencies = args[:agencies] if args.key?(:agencies)
3538+
@display_name = args[:display_name] if args.key?(:display_name)
3539+
@stops = args[:stops] if args.key?(:stops)
3540+
end
3541+
end
3542+
3543+
# Represents a transit stop within a station. This is a specific location where
3544+
# passengers board and alight transit vehicles, such as a platform or bus bay.
3545+
# This is distinct from a `Departure`, which is an event of a vehicle leaving a
3546+
# stop at a specific time.
3547+
class GoogleMapsPlacesV1TransitStop
3548+
include Google::Apis::Core::Hashable
3549+
3550+
# Localized variant of a text in a particular language.
3551+
# Corresponds to the JSON property `displayName`
3552+
# @return [Google::Apis::PlacesV1::GoogleTypeLocalizedText]
3553+
attr_accessor :display_name
3554+
3555+
# The id of the transit stop that can be used to uniquely identify the stop
3556+
# among other transit stops in the same transit station. This identifier is not
3557+
# guaranteed to be stable across different responses.
3558+
# Corresponds to the JSON property `id`
3559+
# @return [String]
3560+
attr_accessor :id
3561+
3562+
# An object that represents a latitude/longitude pair. This is expressed as a
3563+
# pair of doubles to represent degrees latitude and degrees longitude. Unless
3564+
# specified otherwise, this object must conform to the WGS84 standard. Values
3565+
# must be within normalized ranges.
3566+
# Corresponds to the JSON property `location`
3567+
# @return [Google::Apis::PlacesV1::GoogleTypeLatLng]
3568+
attr_accessor :location
3569+
3570+
# Localized variant of a text in a particular language.
3571+
# Corresponds to the JSON property `platformCode`
3572+
# @return [Google::Apis::PlacesV1::GoogleTypeLocalizedText]
3573+
attr_accessor :platform_code
3574+
3575+
# Localized variant of a text in a particular language.
3576+
# Corresponds to the JSON property `signageText`
3577+
# @return [Google::Apis::PlacesV1::GoogleTypeLocalizedText]
3578+
attr_accessor :signage_text
3579+
3580+
# Localized variant of a text in a particular language.
3581+
# Corresponds to the JSON property `stopCode`
3582+
# @return [Google::Apis::PlacesV1::GoogleTypeLocalizedText]
3583+
attr_accessor :stop_code
3584+
3585+
# Wheelchair accessibility of this stop. This field indicates whether there is
3586+
# an accessible path from outside the station to the stop. It does not indicate
3587+
# whether it is possible to board a vehicle from the stop.
3588+
# Corresponds to the JSON property `wheelchairAccessibleEntrance`
3589+
# @return [Boolean]
3590+
attr_accessor :wheelchair_accessible_entrance
3591+
alias_method :wheelchair_accessible_entrance?, :wheelchair_accessible_entrance
3592+
3593+
def initialize(**args)
3594+
update!(**args)
3595+
end
3596+
3597+
# Update properties of this object
3598+
def update!(**args)
3599+
@display_name = args[:display_name] if args.key?(:display_name)
3600+
@id = args[:id] if args.key?(:id)
3601+
@location = args[:location] if args.key?(:location)
3602+
@platform_code = args[:platform_code] if args.key?(:platform_code)
3603+
@signage_text = args[:signage_text] if args.key?(:signage_text)
3604+
@stop_code = args[:stop_code] if args.key?(:stop_code)
3605+
@wheelchair_accessible_entrance = args[:wheelchair_accessible_entrance] if args.key?(:wheelchair_accessible_entrance)
3606+
end
3607+
end
3608+
33643609
# Represents a whole or partial calendar date, such as a birthday. The time of
33653610
# day and time zone are either specified elsewhere or are insignificant. The
33663611
# date is relative to the Gregorian Calendar. This can represent one of the

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.43.0"
19+
GEM_VERSION = "0.44.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 = "20260323"
25+
REVISION = "20260517"
2626
end
2727
end
2828
end

0 commit comments

Comments
 (0)