google-apis-places_v1 0.30.0 → 0.31.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: 334a160ec33bd431bcc1e76c1785573b0fbe215fae12bde1b17aa969b24ef588
4
- data.tar.gz: 4a865e2e4df3e04ed467550198392137ad19f265a28e7cd150f3ff89ff6cdc9e
3
+ metadata.gz: bce7fffbeb8d079d17ada9a22f375637e07480c1ea61d51eaf23d3cf9027465b
4
+ data.tar.gz: 8f9f5a6853a51b2e39d05a1da485fd5f3dcfa909292ccecf4459d1abb44123dc
5
5
  SHA512:
6
- metadata.gz: 643eb58831e26a081cc41ed1919c43c46a2adfead1db3ca2a9669206322b8f795a896e8f02b0e2d464c565b87809a39451f84626b464fb3974a31fde56faa65b
7
- data.tar.gz: 282f809620463c93ccd3a106bd2c937d92d693cb29ded54f1bf879e6ebf2a3848c795e20bdde6896c687041f480c0419d63ca5a864ac62b1d2b60a1ae04f3281
6
+ metadata.gz: 26cd7ed76473f0c5026b9ff6a5b1dcacde6f3d7a70eba99d86fdb828057471774e381370c25a94727c4c28285536c1e49f015bcd299c2554e7ce191cf5aba51e
7
+ data.tar.gz: b0fc6cbff0c2ee4a4754d38348bf90d8959b2681aac2b1ce9d85d20f0502be13febeb74b5cf21847b7dfc0c2c6058b697df74487edb32541848c3ab5943b1224
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-places_v1
2
2
 
3
+ ### v0.31.0 (2025-03-09)
4
+
5
+ * Regenerated from discovery document revision 20250302
6
+ * Regenerated using generator version 0.16.0
7
+
3
8
  ### v0.30.0 (2024-11-24)
4
9
 
5
10
  * Regenerated from discovery document revision 20241117
@@ -1521,6 +1521,12 @@ module Google
1521
1521
  attr_accessor :takeout
1522
1522
  alias_method :takeout?, :takeout
1523
1523
 
1524
+ # Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/
1525
+ # time-zones).
1526
+ # Corresponds to the JSON property `timeZone`
1527
+ # @return [Google::Apis::PlacesV1::GoogleTypeTimeZone]
1528
+ attr_accessor :time_zone
1529
+
1524
1530
  # A set of type tags for this result. For example, "political" and "locality".
1525
1531
  # For the complete list of possible values, see Table A and Table B at https://
1526
1532
  # developers.google.com/maps/documentation/places/web-service/place-types
@@ -1636,6 +1642,7 @@ module Google
1636
1642
  @short_formatted_address = args[:short_formatted_address] if args.key?(:short_formatted_address)
1637
1643
  @sub_destinations = args[:sub_destinations] if args.key?(:sub_destinations)
1638
1644
  @takeout = args[:takeout] if args.key?(:takeout)
1645
+ @time_zone = args[:time_zone] if args.key?(:time_zone)
1639
1646
  @types = args[:types] if args.key?(:types)
1640
1647
  @user_rating_count = args[:user_rating_count] if args.key?(:user_rating_count)
1641
1648
  @utc_offset_minutes = args[:utc_offset_minutes] if args.key?(:utc_offset_minutes)
@@ -3229,6 +3236,32 @@ module Google
3229
3236
  @units = args[:units] if args.key?(:units)
3230
3237
  end
3231
3238
  end
3239
+
3240
+ # Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/
3241
+ # time-zones).
3242
+ class GoogleTypeTimeZone
3243
+ include Google::Apis::Core::Hashable
3244
+
3245
+ # IANA Time Zone Database time zone. For example "America/New_York".
3246
+ # Corresponds to the JSON property `id`
3247
+ # @return [String]
3248
+ attr_accessor :id
3249
+
3250
+ # Optional. IANA Time Zone Database version number. For example "2019a".
3251
+ # Corresponds to the JSON property `version`
3252
+ # @return [String]
3253
+ attr_accessor :version
3254
+
3255
+ def initialize(**args)
3256
+ update!(**args)
3257
+ end
3258
+
3259
+ # Update properties of this object
3260
+ def update!(**args)
3261
+ @id = args[:id] if args.key?(:id)
3262
+ @version = args[:version] if args.key?(:version)
3263
+ end
3264
+ end
3232
3265
  end
3233
3266
  end
3234
3267
  end
@@ -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.30.0"
19
+ GEM_VERSION = "0.31.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.1"
22
+ GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241117"
25
+ REVISION = "20250302"
26
26
  end
27
27
  end
28
28
  end
@@ -418,6 +418,12 @@ module Google
418
418
  include Google::Apis::Core::JsonObjectSupport
419
419
  end
420
420
 
421
+ class GoogleTypeTimeZone
422
+ class Representation < Google::Apis::Core::JsonRepresentation; end
423
+
424
+ include Google::Apis::Core::JsonObjectSupport
425
+ end
426
+
421
427
  class GoogleGeoTypeViewport
422
428
  # @private
423
429
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -811,6 +817,8 @@ module Google
811
817
  collection :sub_destinations, as: 'subDestinations', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceSubDestination, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceSubDestination::Representation
812
818
 
813
819
  property :takeout, as: 'takeout'
820
+ property :time_zone, as: 'timeZone', class: Google::Apis::PlacesV1::GoogleTypeTimeZone, decorator: Google::Apis::PlacesV1::GoogleTypeTimeZone::Representation
821
+
814
822
  collection :types, as: 'types'
815
823
  property :user_rating_count, as: 'userRatingCount'
816
824
  property :utc_offset_minutes, as: 'utcOffsetMinutes'
@@ -1203,6 +1211,14 @@ module Google
1203
1211
  property :units, :numeric_string => true, as: 'units'
1204
1212
  end
1205
1213
  end
1214
+
1215
+ class GoogleTypeTimeZone
1216
+ # @private
1217
+ class Representation < Google::Apis::Core::JsonRepresentation
1218
+ property :id, as: 'id'
1219
+ property :version, as: 'version'
1220
+ end
1221
+ end
1206
1222
  end
1207
1223
  end
1208
1224
  end
metadata CHANGED
@@ -1,14 +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.30.0
4
+ version: 0.31.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-04 00:00:00.000000000 Z
10
+ date: 2025-03-09 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: google-apis-core
@@ -58,9 +57,8 @@ licenses:
58
57
  metadata:
59
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-places_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-places_v1/v0.30.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-places_v1/v0.31.0
62
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-places_v1
63
- post_install_message:
64
62
  rdoc_options: []
65
63
  require_paths:
66
64
  - lib
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
73
  - !ruby/object:Gem::Version
76
74
  version: '0'
77
75
  requirements: []
78
- rubygems_version: 3.5.22
79
- signing_key:
76
+ rubygems_version: 3.6.5
80
77
  specification_version: 4
81
78
  summary: Simple REST client for Places API (New) V1
82
79
  test_files: []