google-apis-places_v1 0.43.0 → 0.45.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 +8 -0
- data/lib/google/apis/places_v1/classes.rb +257 -24
- data/lib/google/apis/places_v1/gem_version.rb +2 -2
- data/lib/google/apis/places_v1/representations.rb +103 -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: df5b7f6c9dac2298f237109e97dafa3c54a9805f18240afed756afcb194950b5
|
|
4
|
+
data.tar.gz: 0d7efbf7886e062764eacb54ef250edd6c964aa46e0d9368983309eb9ee60bba
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7963f877a0574b379686570c5835dcdeb7474769241b9f93b357fdba17c47e6447b15349e4c6307bde94190012eae5e688eee77de2456cb073367fc2a816c909
|
|
7
|
+
data.tar.gz: 9ad7ddb0167fb3032564f9e294b84a6a319cb4699766a856f0068e2c986e9015a24b323f3838f932a0eec21637d54c665531cf9d8cfb29cc6497954659dca065
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-places_v1
|
|
2
2
|
|
|
3
|
+
### v0.45.0 (2026-05-31)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20260524
|
|
6
|
+
|
|
7
|
+
### v0.44.0 (2026-05-24)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20260517
|
|
10
|
+
|
|
3
11
|
### v0.43.0 (2026-04-19)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20260323
|
|
@@ -724,15 +724,11 @@ module Google
|
|
|
724
724
|
end
|
|
725
725
|
end
|
|
726
726
|
|
|
727
|
-
#
|
|
728
|
-
# service/experimental/places-generative for more details. Content that is
|
|
729
|
-
# contextual to the place query.
|
|
727
|
+
# Content that is contextual to the place query.
|
|
730
728
|
class GoogleMapsPlacesV1ContextualContent
|
|
731
729
|
include Google::Apis::Core::Hashable
|
|
732
730
|
|
|
733
|
-
#
|
|
734
|
-
# service/experimental/places-generative for more details. Justifications for
|
|
735
|
-
# the place.
|
|
731
|
+
# Justifications for the place.
|
|
736
732
|
# Corresponds to the JSON property `justifications`
|
|
737
733
|
# @return [Array<Google::Apis::PlacesV1::GoogleMapsPlacesV1ContextualContentJustification>]
|
|
738
734
|
attr_accessor :justifications
|
|
@@ -760,26 +756,21 @@ module Google
|
|
|
760
756
|
end
|
|
761
757
|
end
|
|
762
758
|
|
|
763
|
-
#
|
|
764
|
-
#
|
|
765
|
-
# the place. Justifications answers the question of why a place could interest
|
|
766
|
-
# an end user.
|
|
759
|
+
# Justifications for the place. Justifications answers the question of why a
|
|
760
|
+
# place could interest an end user.
|
|
767
761
|
class GoogleMapsPlacesV1ContextualContentJustification
|
|
768
762
|
include Google::Apis::Core::Hashable
|
|
769
763
|
|
|
770
|
-
# Experimental: See https://developers.google.com/maps/documentation/places/web-
|
|
771
|
-
# service/experimental/places-generative for more details.
|
|
772
764
|
# BusinessAvailabilityAttributes justifications. This shows some attributes a
|
|
773
765
|
# business has that could interest an end user.
|
|
774
766
|
# Corresponds to the JSON property `businessAvailabilityAttributesJustification`
|
|
775
767
|
# @return [Google::Apis::PlacesV1::GoogleMapsPlacesV1ContextualContentJustificationBusinessAvailabilityAttributesJustification]
|
|
776
768
|
attr_accessor :business_availability_attributes_justification
|
|
777
769
|
|
|
778
|
-
#
|
|
779
|
-
#
|
|
780
|
-
#
|
|
781
|
-
#
|
|
782
|
-
# the review justification highlights the text relevant to the search query.
|
|
770
|
+
# User review justifications. This highlights a section of the user review that
|
|
771
|
+
# would interest an end user. For instance, if the search query is "firewood
|
|
772
|
+
# pizza", the review justification highlights the text relevant to the search
|
|
773
|
+
# query.
|
|
783
774
|
# Corresponds to the JSON property `reviewJustification`
|
|
784
775
|
# @return [Google::Apis::PlacesV1::GoogleMapsPlacesV1ContextualContentJustificationReviewJustification]
|
|
785
776
|
attr_accessor :review_justification
|
|
@@ -795,8 +786,6 @@ module Google
|
|
|
795
786
|
end
|
|
796
787
|
end
|
|
797
788
|
|
|
798
|
-
# Experimental: See https://developers.google.com/maps/documentation/places/web-
|
|
799
|
-
# service/experimental/places-generative for more details.
|
|
800
789
|
# BusinessAvailabilityAttributes justifications. This shows some attributes a
|
|
801
790
|
# business has that could interest an end user.
|
|
802
791
|
class GoogleMapsPlacesV1ContextualContentJustificationBusinessAvailabilityAttributesJustification
|
|
@@ -832,11 +821,10 @@ module Google
|
|
|
832
821
|
end
|
|
833
822
|
end
|
|
834
823
|
|
|
835
|
-
#
|
|
836
|
-
#
|
|
837
|
-
#
|
|
838
|
-
#
|
|
839
|
-
# the review justification highlights the text relevant to the search query.
|
|
824
|
+
# User review justifications. This highlights a section of the user review that
|
|
825
|
+
# would interest an end user. For instance, if the search query is "firewood
|
|
826
|
+
# pizza", the review justification highlights the text relevant to the search
|
|
827
|
+
# query.
|
|
840
828
|
class GoogleMapsPlacesV1ContextualContentJustificationReviewJustification
|
|
841
829
|
include Google::Apis::Core::Hashable
|
|
842
830
|
|
|
@@ -1592,6 +1580,11 @@ module Google
|
|
|
1592
1580
|
# @return [Google::Apis::PlacesV1::GoogleTypeTimeZone]
|
|
1593
1581
|
attr_accessor :time_zone
|
|
1594
1582
|
|
|
1583
|
+
# Represents transit-specific information for a place.
|
|
1584
|
+
# Corresponds to the JSON property `transitStation`
|
|
1585
|
+
# @return [Google::Apis::PlacesV1::GoogleMapsPlacesV1TransitStation]
|
|
1586
|
+
attr_accessor :transit_station
|
|
1587
|
+
|
|
1595
1588
|
# A set of type tags for this result. For example, "political" and "locality".
|
|
1596
1589
|
# For the complete list of possible values, see Table A and Table B at https://
|
|
1597
1590
|
# developers.google.com/maps/documentation/places/web-service/place-types
|
|
@@ -1716,6 +1709,7 @@ module Google
|
|
|
1716
1709
|
@sub_destinations = args[:sub_destinations] if args.key?(:sub_destinations)
|
|
1717
1710
|
@takeout = args[:takeout] if args.key?(:takeout)
|
|
1718
1711
|
@time_zone = args[:time_zone] if args.key?(:time_zone)
|
|
1712
|
+
@transit_station = args[:transit_station] if args.key?(:transit_station)
|
|
1719
1713
|
@types = args[:types] if args.key?(:types)
|
|
1720
1714
|
@user_rating_count = args[:user_rating_count] if args.key?(:user_rating_count)
|
|
1721
1715
|
@utc_offset_minutes = args[:utc_offset_minutes] if args.key?(:utc_offset_minutes)
|
|
@@ -3361,6 +3355,245 @@ module Google
|
|
|
3361
3355
|
end
|
|
3362
3356
|
end
|
|
3363
3357
|
|
|
3358
|
+
# Represents a transit agency.
|
|
3359
|
+
class GoogleMapsPlacesV1TransitAgency
|
|
3360
|
+
include Google::Apis::Core::Hashable
|
|
3361
|
+
|
|
3362
|
+
# Localized variant of a text in a particular language.
|
|
3363
|
+
# Corresponds to the JSON property `displayName`
|
|
3364
|
+
# @return [Google::Apis::PlacesV1::GoogleTypeLocalizedText]
|
|
3365
|
+
attr_accessor :display_name
|
|
3366
|
+
|
|
3367
|
+
# The URL of the agency's fare details page.
|
|
3368
|
+
# Corresponds to the JSON property `fareUrl`
|
|
3369
|
+
# @return [String]
|
|
3370
|
+
attr_accessor :fare_url
|
|
3371
|
+
|
|
3372
|
+
# Icon for a transit line, vehicle, or agency.
|
|
3373
|
+
# Corresponds to the JSON property `icon`
|
|
3374
|
+
# @return [Google::Apis::PlacesV1::GoogleMapsPlacesV1TransitIcon]
|
|
3375
|
+
attr_accessor :icon
|
|
3376
|
+
|
|
3377
|
+
# The transit lines that are served by this agency.
|
|
3378
|
+
# Corresponds to the JSON property `lines`
|
|
3379
|
+
# @return [Array<Google::Apis::PlacesV1::GoogleMapsPlacesV1TransitLine>]
|
|
3380
|
+
attr_accessor :lines
|
|
3381
|
+
|
|
3382
|
+
# The URL of the agency's homepage.
|
|
3383
|
+
# Corresponds to the JSON property `url`
|
|
3384
|
+
# @return [String]
|
|
3385
|
+
attr_accessor :url
|
|
3386
|
+
|
|
3387
|
+
def initialize(**args)
|
|
3388
|
+
update!(**args)
|
|
3389
|
+
end
|
|
3390
|
+
|
|
3391
|
+
# Update properties of this object
|
|
3392
|
+
def update!(**args)
|
|
3393
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
3394
|
+
@fare_url = args[:fare_url] if args.key?(:fare_url)
|
|
3395
|
+
@icon = args[:icon] if args.key?(:icon)
|
|
3396
|
+
@lines = args[:lines] if args.key?(:lines)
|
|
3397
|
+
@url = args[:url] if args.key?(:url)
|
|
3398
|
+
end
|
|
3399
|
+
end
|
|
3400
|
+
|
|
3401
|
+
# Icon for a transit line, vehicle, or agency.
|
|
3402
|
+
class GoogleMapsPlacesV1TransitIcon
|
|
3403
|
+
include Google::Apis::Core::Hashable
|
|
3404
|
+
|
|
3405
|
+
# Whether the name is contained in the icon and there is no need to display it
|
|
3406
|
+
# next to the icon.
|
|
3407
|
+
# Corresponds to the JSON property `nameIncluded`
|
|
3408
|
+
# @return [Boolean]
|
|
3409
|
+
attr_accessor :name_included
|
|
3410
|
+
alias_method :name_included?, :name_included
|
|
3411
|
+
|
|
3412
|
+
# The URL of the icon.
|
|
3413
|
+
# Corresponds to the JSON property `url`
|
|
3414
|
+
# @return [String]
|
|
3415
|
+
attr_accessor :url
|
|
3416
|
+
|
|
3417
|
+
def initialize(**args)
|
|
3418
|
+
update!(**args)
|
|
3419
|
+
end
|
|
3420
|
+
|
|
3421
|
+
# Update properties of this object
|
|
3422
|
+
def update!(**args)
|
|
3423
|
+
@name_included = args[:name_included] if args.key?(:name_included)
|
|
3424
|
+
@url = args[:url] if args.key?(:url)
|
|
3425
|
+
end
|
|
3426
|
+
end
|
|
3427
|
+
|
|
3428
|
+
# Represents a single transit line.
|
|
3429
|
+
class GoogleMapsPlacesV1TransitLine
|
|
3430
|
+
include Google::Apis::Core::Hashable
|
|
3431
|
+
|
|
3432
|
+
# The background color of the labels for this transit line in #RRGGBB hex format,
|
|
3433
|
+
# e.g. #909CE1. This color can also be used for drawing shapes for this transit
|
|
3434
|
+
# line.
|
|
3435
|
+
# Corresponds to the JSON property `backgroundColor`
|
|
3436
|
+
# @return [String]
|
|
3437
|
+
attr_accessor :background_color
|
|
3438
|
+
|
|
3439
|
+
# Localized variant of a text in a particular language.
|
|
3440
|
+
# Corresponds to the JSON property `displayName`
|
|
3441
|
+
# @return [Google::Apis::PlacesV1::GoogleTypeLocalizedText]
|
|
3442
|
+
attr_accessor :display_name
|
|
3443
|
+
|
|
3444
|
+
# Icon for a transit line, vehicle, or agency.
|
|
3445
|
+
# Corresponds to the JSON property `icon`
|
|
3446
|
+
# @return [Google::Apis::PlacesV1::GoogleMapsPlacesV1TransitIcon]
|
|
3447
|
+
attr_accessor :icon
|
|
3448
|
+
|
|
3449
|
+
# The id of the transit line that can be used to uniquely identify the line
|
|
3450
|
+
# among other transit lines in the same transit station. This identifier is not
|
|
3451
|
+
# guaranteed to be stable across different responses.
|
|
3452
|
+
# Corresponds to the JSON property `id`
|
|
3453
|
+
# @return [String]
|
|
3454
|
+
attr_accessor :id
|
|
3455
|
+
|
|
3456
|
+
# Localized variant of a text in a particular language.
|
|
3457
|
+
# Corresponds to the JSON property `shortDisplayName`
|
|
3458
|
+
# @return [Google::Apis::PlacesV1::GoogleTypeLocalizedText]
|
|
3459
|
+
attr_accessor :short_display_name
|
|
3460
|
+
|
|
3461
|
+
# The text color of labels for this transit line in #RRGGBB hex format, e.g. #
|
|
3462
|
+
# 909CE1.
|
|
3463
|
+
# Corresponds to the JSON property `textColor`
|
|
3464
|
+
# @return [String]
|
|
3465
|
+
attr_accessor :text_color
|
|
3466
|
+
|
|
3467
|
+
# The URL of a webpage with details about this line.
|
|
3468
|
+
# Corresponds to the JSON property `url`
|
|
3469
|
+
# @return [String]
|
|
3470
|
+
attr_accessor :url
|
|
3471
|
+
|
|
3472
|
+
# Icon for a transit line, vehicle, or agency.
|
|
3473
|
+
# Corresponds to the JSON property `vehicleIcon`
|
|
3474
|
+
# @return [Google::Apis::PlacesV1::GoogleMapsPlacesV1TransitIcon]
|
|
3475
|
+
attr_accessor :vehicle_icon
|
|
3476
|
+
|
|
3477
|
+
# The type of vehicle using this line.
|
|
3478
|
+
# Corresponds to the JSON property `vehicleType`
|
|
3479
|
+
# @return [String]
|
|
3480
|
+
attr_accessor :vehicle_type
|
|
3481
|
+
|
|
3482
|
+
def initialize(**args)
|
|
3483
|
+
update!(**args)
|
|
3484
|
+
end
|
|
3485
|
+
|
|
3486
|
+
# Update properties of this object
|
|
3487
|
+
def update!(**args)
|
|
3488
|
+
@background_color = args[:background_color] if args.key?(:background_color)
|
|
3489
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
3490
|
+
@icon = args[:icon] if args.key?(:icon)
|
|
3491
|
+
@id = args[:id] if args.key?(:id)
|
|
3492
|
+
@short_display_name = args[:short_display_name] if args.key?(:short_display_name)
|
|
3493
|
+
@text_color = args[:text_color] if args.key?(:text_color)
|
|
3494
|
+
@url = args[:url] if args.key?(:url)
|
|
3495
|
+
@vehicle_icon = args[:vehicle_icon] if args.key?(:vehicle_icon)
|
|
3496
|
+
@vehicle_type = args[:vehicle_type] if args.key?(:vehicle_type)
|
|
3497
|
+
end
|
|
3498
|
+
end
|
|
3499
|
+
|
|
3500
|
+
# Represents transit-specific information for a place.
|
|
3501
|
+
class GoogleMapsPlacesV1TransitStation
|
|
3502
|
+
include Google::Apis::Core::Hashable
|
|
3503
|
+
|
|
3504
|
+
# The transit agencies that serve this station.
|
|
3505
|
+
# Corresponds to the JSON property `agencies`
|
|
3506
|
+
# @return [Array<Google::Apis::PlacesV1::GoogleMapsPlacesV1TransitAgency>]
|
|
3507
|
+
attr_accessor :agencies
|
|
3508
|
+
|
|
3509
|
+
# Localized variant of a text in a particular language.
|
|
3510
|
+
# Corresponds to the JSON property `displayName`
|
|
3511
|
+
# @return [Google::Apis::PlacesV1::GoogleTypeLocalizedText]
|
|
3512
|
+
attr_accessor :display_name
|
|
3513
|
+
|
|
3514
|
+
# Transit stops at this station.
|
|
3515
|
+
# Corresponds to the JSON property `stops`
|
|
3516
|
+
# @return [Array<Google::Apis::PlacesV1::GoogleMapsPlacesV1TransitStop>]
|
|
3517
|
+
attr_accessor :stops
|
|
3518
|
+
|
|
3519
|
+
def initialize(**args)
|
|
3520
|
+
update!(**args)
|
|
3521
|
+
end
|
|
3522
|
+
|
|
3523
|
+
# Update properties of this object
|
|
3524
|
+
def update!(**args)
|
|
3525
|
+
@agencies = args[:agencies] if args.key?(:agencies)
|
|
3526
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
3527
|
+
@stops = args[:stops] if args.key?(:stops)
|
|
3528
|
+
end
|
|
3529
|
+
end
|
|
3530
|
+
|
|
3531
|
+
# Represents a transit stop within a station. This is a specific location where
|
|
3532
|
+
# passengers board and alight transit vehicles, such as a platform or bus bay.
|
|
3533
|
+
# This is distinct from a `Departure`, which is an event of a vehicle leaving a
|
|
3534
|
+
# stop at a specific time.
|
|
3535
|
+
class GoogleMapsPlacesV1TransitStop
|
|
3536
|
+
include Google::Apis::Core::Hashable
|
|
3537
|
+
|
|
3538
|
+
# Localized variant of a text in a particular language.
|
|
3539
|
+
# Corresponds to the JSON property `displayName`
|
|
3540
|
+
# @return [Google::Apis::PlacesV1::GoogleTypeLocalizedText]
|
|
3541
|
+
attr_accessor :display_name
|
|
3542
|
+
|
|
3543
|
+
# The id of the transit stop that can be used to uniquely identify the stop
|
|
3544
|
+
# among other transit stops in the same transit station. This identifier is not
|
|
3545
|
+
# guaranteed to be stable across different responses.
|
|
3546
|
+
# Corresponds to the JSON property `id`
|
|
3547
|
+
# @return [String]
|
|
3548
|
+
attr_accessor :id
|
|
3549
|
+
|
|
3550
|
+
# An object that represents a latitude/longitude pair. This is expressed as a
|
|
3551
|
+
# pair of doubles to represent degrees latitude and degrees longitude. Unless
|
|
3552
|
+
# specified otherwise, this object must conform to the WGS84 standard. Values
|
|
3553
|
+
# must be within normalized ranges.
|
|
3554
|
+
# Corresponds to the JSON property `location`
|
|
3555
|
+
# @return [Google::Apis::PlacesV1::GoogleTypeLatLng]
|
|
3556
|
+
attr_accessor :location
|
|
3557
|
+
|
|
3558
|
+
# Localized variant of a text in a particular language.
|
|
3559
|
+
# Corresponds to the JSON property `platformCode`
|
|
3560
|
+
# @return [Google::Apis::PlacesV1::GoogleTypeLocalizedText]
|
|
3561
|
+
attr_accessor :platform_code
|
|
3562
|
+
|
|
3563
|
+
# Localized variant of a text in a particular language.
|
|
3564
|
+
# Corresponds to the JSON property `signageText`
|
|
3565
|
+
# @return [Google::Apis::PlacesV1::GoogleTypeLocalizedText]
|
|
3566
|
+
attr_accessor :signage_text
|
|
3567
|
+
|
|
3568
|
+
# Localized variant of a text in a particular language.
|
|
3569
|
+
# Corresponds to the JSON property `stopCode`
|
|
3570
|
+
# @return [Google::Apis::PlacesV1::GoogleTypeLocalizedText]
|
|
3571
|
+
attr_accessor :stop_code
|
|
3572
|
+
|
|
3573
|
+
# Wheelchair accessibility of this stop. This field indicates whether there is
|
|
3574
|
+
# an accessible path from outside the station to the stop. It does not indicate
|
|
3575
|
+
# whether it is possible to board a vehicle from the stop.
|
|
3576
|
+
# Corresponds to the JSON property `wheelchairAccessibleEntrance`
|
|
3577
|
+
# @return [Boolean]
|
|
3578
|
+
attr_accessor :wheelchair_accessible_entrance
|
|
3579
|
+
alias_method :wheelchair_accessible_entrance?, :wheelchair_accessible_entrance
|
|
3580
|
+
|
|
3581
|
+
def initialize(**args)
|
|
3582
|
+
update!(**args)
|
|
3583
|
+
end
|
|
3584
|
+
|
|
3585
|
+
# Update properties of this object
|
|
3586
|
+
def update!(**args)
|
|
3587
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
3588
|
+
@id = args[:id] if args.key?(:id)
|
|
3589
|
+
@location = args[:location] if args.key?(:location)
|
|
3590
|
+
@platform_code = args[:platform_code] if args.key?(:platform_code)
|
|
3591
|
+
@signage_text = args[:signage_text] if args.key?(:signage_text)
|
|
3592
|
+
@stop_code = args[:stop_code] if args.key?(:stop_code)
|
|
3593
|
+
@wheelchair_accessible_entrance = args[:wheelchair_accessible_entrance] if args.key?(:wheelchair_accessible_entrance)
|
|
3594
|
+
end
|
|
3595
|
+
end
|
|
3596
|
+
|
|
3364
3597
|
# Represents a whole or partial calendar date, such as a birthday. The time of
|
|
3365
3598
|
# day and time zone are either specified elsewhere or are insignificant. The
|
|
3366
3599
|
# date is relative to the Gregorian Calendar. This can represent one of the
|
|
@@ -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.45.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 = "20260524"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -418,6 +418,36 @@ module Google
|
|
|
418
418
|
include Google::Apis::Core::JsonObjectSupport
|
|
419
419
|
end
|
|
420
420
|
|
|
421
|
+
class GoogleMapsPlacesV1TransitAgency
|
|
422
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
423
|
+
|
|
424
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
425
|
+
end
|
|
426
|
+
|
|
427
|
+
class GoogleMapsPlacesV1TransitIcon
|
|
428
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
429
|
+
|
|
430
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
431
|
+
end
|
|
432
|
+
|
|
433
|
+
class GoogleMapsPlacesV1TransitLine
|
|
434
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
435
|
+
|
|
436
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
437
|
+
end
|
|
438
|
+
|
|
439
|
+
class GoogleMapsPlacesV1TransitStation
|
|
440
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
441
|
+
|
|
442
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
443
|
+
end
|
|
444
|
+
|
|
445
|
+
class GoogleMapsPlacesV1TransitStop
|
|
446
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
447
|
+
|
|
448
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
449
|
+
end
|
|
450
|
+
|
|
421
451
|
class GoogleTypeDate
|
|
422
452
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
423
453
|
|
|
@@ -862,6 +892,8 @@ module Google
|
|
|
862
892
|
property :takeout, as: 'takeout'
|
|
863
893
|
property :time_zone, as: 'timeZone', class: Google::Apis::PlacesV1::GoogleTypeTimeZone, decorator: Google::Apis::PlacesV1::GoogleTypeTimeZone::Representation
|
|
864
894
|
|
|
895
|
+
property :transit_station, as: 'transitStation', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1TransitStation, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1TransitStation::Representation
|
|
896
|
+
|
|
865
897
|
collection :types, as: 'types'
|
|
866
898
|
property :user_rating_count, as: 'userRatingCount'
|
|
867
899
|
property :utc_offset_minutes, as: 'utcOffsetMinutes'
|
|
@@ -1274,6 +1306,77 @@ module Google
|
|
|
1274
1306
|
end
|
|
1275
1307
|
end
|
|
1276
1308
|
|
|
1309
|
+
class GoogleMapsPlacesV1TransitAgency
|
|
1310
|
+
# @private
|
|
1311
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1312
|
+
property :display_name, as: 'displayName', class: Google::Apis::PlacesV1::GoogleTypeLocalizedText, decorator: Google::Apis::PlacesV1::GoogleTypeLocalizedText::Representation
|
|
1313
|
+
|
|
1314
|
+
property :fare_url, as: 'fareUrl'
|
|
1315
|
+
property :icon, as: 'icon', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1TransitIcon, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1TransitIcon::Representation
|
|
1316
|
+
|
|
1317
|
+
collection :lines, as: 'lines', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1TransitLine, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1TransitLine::Representation
|
|
1318
|
+
|
|
1319
|
+
property :url, as: 'url'
|
|
1320
|
+
end
|
|
1321
|
+
end
|
|
1322
|
+
|
|
1323
|
+
class GoogleMapsPlacesV1TransitIcon
|
|
1324
|
+
# @private
|
|
1325
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1326
|
+
property :name_included, as: 'nameIncluded'
|
|
1327
|
+
property :url, as: 'url'
|
|
1328
|
+
end
|
|
1329
|
+
end
|
|
1330
|
+
|
|
1331
|
+
class GoogleMapsPlacesV1TransitLine
|
|
1332
|
+
# @private
|
|
1333
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1334
|
+
property :background_color, as: 'backgroundColor'
|
|
1335
|
+
property :display_name, as: 'displayName', class: Google::Apis::PlacesV1::GoogleTypeLocalizedText, decorator: Google::Apis::PlacesV1::GoogleTypeLocalizedText::Representation
|
|
1336
|
+
|
|
1337
|
+
property :icon, as: 'icon', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1TransitIcon, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1TransitIcon::Representation
|
|
1338
|
+
|
|
1339
|
+
property :id, as: 'id'
|
|
1340
|
+
property :short_display_name, as: 'shortDisplayName', class: Google::Apis::PlacesV1::GoogleTypeLocalizedText, decorator: Google::Apis::PlacesV1::GoogleTypeLocalizedText::Representation
|
|
1341
|
+
|
|
1342
|
+
property :text_color, as: 'textColor'
|
|
1343
|
+
property :url, as: 'url'
|
|
1344
|
+
property :vehicle_icon, as: 'vehicleIcon', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1TransitIcon, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1TransitIcon::Representation
|
|
1345
|
+
|
|
1346
|
+
property :vehicle_type, as: 'vehicleType'
|
|
1347
|
+
end
|
|
1348
|
+
end
|
|
1349
|
+
|
|
1350
|
+
class GoogleMapsPlacesV1TransitStation
|
|
1351
|
+
# @private
|
|
1352
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1353
|
+
collection :agencies, as: 'agencies', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1TransitAgency, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1TransitAgency::Representation
|
|
1354
|
+
|
|
1355
|
+
property :display_name, as: 'displayName', class: Google::Apis::PlacesV1::GoogleTypeLocalizedText, decorator: Google::Apis::PlacesV1::GoogleTypeLocalizedText::Representation
|
|
1356
|
+
|
|
1357
|
+
collection :stops, as: 'stops', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1TransitStop, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1TransitStop::Representation
|
|
1358
|
+
|
|
1359
|
+
end
|
|
1360
|
+
end
|
|
1361
|
+
|
|
1362
|
+
class GoogleMapsPlacesV1TransitStop
|
|
1363
|
+
# @private
|
|
1364
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1365
|
+
property :display_name, as: 'displayName', class: Google::Apis::PlacesV1::GoogleTypeLocalizedText, decorator: Google::Apis::PlacesV1::GoogleTypeLocalizedText::Representation
|
|
1366
|
+
|
|
1367
|
+
property :id, as: 'id'
|
|
1368
|
+
property :location, as: 'location', class: Google::Apis::PlacesV1::GoogleTypeLatLng, decorator: Google::Apis::PlacesV1::GoogleTypeLatLng::Representation
|
|
1369
|
+
|
|
1370
|
+
property :platform_code, as: 'platformCode', class: Google::Apis::PlacesV1::GoogleTypeLocalizedText, decorator: Google::Apis::PlacesV1::GoogleTypeLocalizedText::Representation
|
|
1371
|
+
|
|
1372
|
+
property :signage_text, as: 'signageText', class: Google::Apis::PlacesV1::GoogleTypeLocalizedText, decorator: Google::Apis::PlacesV1::GoogleTypeLocalizedText::Representation
|
|
1373
|
+
|
|
1374
|
+
property :stop_code, as: 'stopCode', class: Google::Apis::PlacesV1::GoogleTypeLocalizedText, decorator: Google::Apis::PlacesV1::GoogleTypeLocalizedText::Representation
|
|
1375
|
+
|
|
1376
|
+
property :wheelchair_accessible_entrance, as: 'wheelchairAccessibleEntrance'
|
|
1377
|
+
end
|
|
1378
|
+
end
|
|
1379
|
+
|
|
1277
1380
|
class GoogleTypeDate
|
|
1278
1381
|
# @private
|
|
1279
1382
|
class Representation < Google::Apis::Core::JsonRepresentation
|
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.45.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.45.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:
|