google-apis-places_v1 0.43.0 → 0.44.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: 634e6b3089ca966ae0c4bafd5d1457e77810adde8ec2d5ddd7f6ae2a7e319776
4
- data.tar.gz: 6cdfe0ab10c063efc8cf7f93fa8bcb4eded8ec8f78721c2e25961fa0b41c27aa
3
+ metadata.gz: 0c3dc7450b0d28cf7d6334fae0954ad22ba7285d30cee60f57a6a302438eb35a
4
+ data.tar.gz: 80066094c434ca629d8a749af27bf50ddc334b36fcaaa66dd12a290f5bb1651b
5
5
  SHA512:
6
- metadata.gz: 226847c2863600627d492f2469d401196f4a0204ca16f5bfa9fb6fe6e489eaed750e71754f0d734ca0a694758824bdc410164112d8b3095f716eca6da6427157
7
- data.tar.gz: 8ab4afab9c436292c17de8b7f3d25befdacf908e40d9a00699b91fb6c25245273b239911d83a7d6a9b9e1a85075a6a084e5b40a62b3ecda0e6c9cc423dd4d3b6
6
+ metadata.gz: 95287229007b61dc53dc3e53f1f0f4ff08660be1ce15dc6308e16f4162f54f975d25b7155bc84a0b9d9074b18c515856ae9bb9a72ae970c3735d407e21743836
7
+ data.tar.gz: 71275bc4aff2328644b3161a6133cd148c570077e3b9735ad2096c2736ea4424294f652fccc67a84d67e0a861b6c68572674e35cc15e59200c43c9cafed14aaa
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-places_v1
2
2
 
3
+ ### v0.44.0 (2026-05-24)
4
+
5
+ * Regenerated from discovery document revision 20260517
6
+
3
7
  ### v0.43.0 (2026-04-19)
4
8
 
5
9
  * Regenerated from discovery document revision 20260323
@@ -1592,6 +1592,11 @@ module Google
1592
1592
  # @return [Google::Apis::PlacesV1::GoogleTypeTimeZone]
1593
1593
  attr_accessor :time_zone
1594
1594
 
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
+
1595
1600
  # A set of type tags for this result. For example, "political" and "locality".
1596
1601
  # For the complete list of possible values, see Table A and Table B at https://
1597
1602
  # developers.google.com/maps/documentation/places/web-service/place-types
@@ -1716,6 +1721,7 @@ module Google
1716
1721
  @sub_destinations = args[:sub_destinations] if args.key?(:sub_destinations)
1717
1722
  @takeout = args[:takeout] if args.key?(:takeout)
1718
1723
  @time_zone = args[:time_zone] if args.key?(:time_zone)
1724
+ @transit_station = args[:transit_station] if args.key?(:transit_station)
1719
1725
  @types = args[:types] if args.key?(:types)
1720
1726
  @user_rating_count = args[:user_rating_count] if args.key?(:user_rating_count)
1721
1727
  @utc_offset_minutes = args[:utc_offset_minutes] if args.key?(:utc_offset_minutes)
@@ -3361,6 +3367,245 @@ module Google
3361
3367
  end
3362
3368
  end
3363
3369
 
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
+
3364
3609
  # Represents a whole or partial calendar date, such as a birthday. The time of
3365
3610
  # day and time zone are either specified elsewhere or are insignificant. The
3366
3611
  # 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.43.0"
19
+ GEM_VERSION = "0.44.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 = "20260323"
25
+ REVISION = "20260517"
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.43.0
4
+ version: 0.44.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.43.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-places_v1/v0.44.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: