google-apis-places_v1 0.4.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 43e67fe6159436e799aefe6ca0c23937c480280afb49d1f6db78546f8326563c
4
- data.tar.gz: e47344665f6b7bbe1d8fcc371b3136b8bbc410c74f3582a541bdf2c2fdebb51e
3
+ metadata.gz: 04aabd735f2c8ac1530c367d83b1691cbb50e18ed0bf9078291561999c03f1ee
4
+ data.tar.gz: 552b0f1f55ed7aa7e0b56df05ce32eaa4c1405589aa9da8c62fe09f80051bf31
5
5
  SHA512:
6
- metadata.gz: a98d9ef6af0f63d4b00c1b6bcaceeec3044c14b2c8ccc09f55cfeb549bad53e1983d16dd8e0eb04fb17b9cca80e8a26cf83afca46c2664eb7d85e7c105853706
7
- data.tar.gz: befd4f0cc1360631bd9d8e2f2f17faedadbf16cb2d493f316205724ac0a8d600513628c522679031bca56454d58864a52ba990fc9415149aeba55ae608b45380
6
+ metadata.gz: 04c96d5dcc180562e9a01ebfeb665b82a789b202601dcdff36a2e389d4a7d0521b5d494bbdd366e8edd09d8abf83d07df2045f87415c5714be45aa7ed53f3aa3
7
+ data.tar.gz: 2f17c043f841135491331414d40c18b0bb60889102e469f83a9dc0a8d5e1e1fc8ffe04b5d6ff1eacd7ec01d3639dfa075d3ba1f999aec686fad925beba4c65d0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-places_v1
2
2
 
3
+ ### v0.6.0 (2023-09-10)
4
+
5
+ * Regenerated from discovery document revision 20230905
6
+
7
+ ### v0.5.0 (2023-09-03)
8
+
9
+ * Regenerated from discovery document revision 20230829
10
+
3
11
  ### v0.4.0 (2023-08-27)
4
12
 
5
13
  * Regenerated from discovery document revision 20230822
@@ -127,33 +127,6 @@ module Google
127
127
  end
128
128
  end
129
129
 
130
- # int 32 range. Both min and max are optional. If only min is set, then the
131
- # range only has a lower bound. If only max is set, then range only has an upper
132
- # bound. At least one of min and max must be set. Values are inclusive.
133
- class GoogleMapsPlacesV1Int32Range
134
- include Google::Apis::Core::Hashable
135
-
136
- # Upper bound. If unset, behavior is documented on the range field.
137
- # Corresponds to the JSON property `max`
138
- # @return [Fixnum]
139
- attr_accessor :max
140
-
141
- # Lower bound. If unset, behavior is documented on the range field.
142
- # Corresponds to the JSON property `min`
143
- # @return [Fixnum]
144
- attr_accessor :min
145
-
146
- def initialize(**args)
147
- update!(**args)
148
- end
149
-
150
- # Update properties of this object
151
- def update!(**args)
152
- @max = args[:max] if args.key?(:max)
153
- @min = args[:min] if args.key?(:min)
154
- end
155
- end
156
-
157
130
  # All the information representing a Place.
158
131
  class GoogleMapsPlacesV1Place
159
132
  include Google::Apis::Core::Hashable
@@ -413,8 +386,8 @@ module Google
413
386
  # @return [String]
414
387
  attr_accessor :website_uri
415
388
 
416
- # Output only. Specifies if the place has an entrance that is wheelchair-
417
- # accessible.
389
+ # Output only. [Deprecated!] Specifies if the place has an entrance that is
390
+ # wheelchair-accessible.
418
391
  # Corresponds to the JSON property `wheelchairAccessibleEntrance`
419
392
  # @return [Boolean]
420
393
  attr_accessor :wheelchair_accessible_entrance
@@ -632,12 +605,6 @@ module Google
632
605
  # @return [Google::Apis::PlacesV1::GoogleTypeDate]
633
606
  attr_accessor :date
634
607
 
635
- # Output only. Date of the endpoint expressed in RFC3339 format in the local
636
- # timezone for the place. For example 2010-12-31.
637
- # Corresponds to the JSON property `dateDeprecated`
638
- # @return [String]
639
- attr_accessor :date_deprecated
640
-
641
608
  # Output only. A day of the week, as an integer in the range 0-6. 0 is Sunday, 1
642
609
  # is Monday, etc.
643
610
  # Corresponds to the JSON property `day`
@@ -670,7 +637,6 @@ module Google
670
637
  # Update properties of this object
671
638
  def update!(**args)
672
639
  @date = args[:date] if args.key?(:date)
673
- @date_deprecated = args[:date_deprecated] if args.key?(:date_deprecated)
674
640
  @day = args[:day] if args.key?(:day)
675
641
  @hour = args[:hour] if args.key?(:hour)
676
642
  @minute = args[:minute] if args.key?(:minute)
@@ -806,11 +772,6 @@ module Google
806
772
  # @return [String]
807
773
  attr_accessor :language_code
808
774
 
809
- # [Deprecated!]The region to search.
810
- # Corresponds to the JSON property `location`
811
- # @return [Google::Apis::PlacesV1::GoogleMapsPlacesV1SearchTextRequestLocation]
812
- attr_accessor :location
813
-
814
775
  # The region to search. This location serves as a bias which means results
815
776
  # around given location might be returned.
816
777
  # Corresponds to the JSON property `locationBias`
@@ -854,13 +815,6 @@ module Google
854
815
  # @return [Array<String>]
855
816
  attr_accessor :price_levels
856
817
 
857
- # int 32 range. Both min and max are optional. If only min is set, then the
858
- # range only has a lower bound. If only max is set, then range only has an upper
859
- # bound. At least one of min and max must be set. Values are inclusive.
860
- # Corresponds to the JSON property `priceRange`
861
- # @return [Google::Apis::PlacesV1::GoogleMapsPlacesV1Int32Range]
862
- attr_accessor :price_range
863
-
864
818
  # How results will be ranked in the response.
865
819
  # Corresponds to the JSON property `rankPreference`
866
820
  # @return [String]
@@ -896,14 +850,12 @@ module Google
896
850
  def update!(**args)
897
851
  @included_type = args[:included_type] if args.key?(:included_type)
898
852
  @language_code = args[:language_code] if args.key?(:language_code)
899
- @location = args[:location] if args.key?(:location)
900
853
  @location_bias = args[:location_bias] if args.key?(:location_bias)
901
854
  @location_restriction = args[:location_restriction] if args.key?(:location_restriction)
902
855
  @max_result_count = args[:max_result_count] if args.key?(:max_result_count)
903
856
  @min_rating = args[:min_rating] if args.key?(:min_rating)
904
857
  @open_now = args[:open_now] if args.key?(:open_now)
905
858
  @price_levels = args[:price_levels] if args.key?(:price_levels)
906
- @price_range = args[:price_range] if args.key?(:price_range)
907
859
  @rank_preference = args[:rank_preference] if args.key?(:rank_preference)
908
860
  @region_code = args[:region_code] if args.key?(:region_code)
909
861
  @strict_type_filtering = args[:strict_type_filtering] if args.key?(:strict_type_filtering)
@@ -911,48 +863,6 @@ module Google
911
863
  end
912
864
  end
913
865
 
914
- # [Deprecated!]The region to search.
915
- class GoogleMapsPlacesV1SearchTextRequestLocation
916
- include Google::Apis::Core::Hashable
917
-
918
- # A latitude-longitude viewport, represented as two diagonally opposite `low`
919
- # and `high` points. A viewport is considered a closed region, i.e. it includes
920
- # its boundary. The latitude bounds must range between -90 to 90 degrees
921
- # inclusive, and the longitude bounds must range between -180 to 180 degrees
922
- # inclusive. Various cases include: - If `low` = `high`, the viewport consists
923
- # of that single point. - If `low.longitude` > `high.longitude`, the longitude
924
- # range is inverted (the viewport crosses the 180 degree longitude line). - If `
925
- # low.longitude` = -180 degrees and `high.longitude` = 180 degrees, the viewport
926
- # includes all longitudes. - If `low.longitude` = 180 degrees and `high.
927
- # longitude` = -180 degrees, the longitude range is empty. - If `low.latitude` >
928
- # `high.latitude`, the latitude range is empty. Both `low` and `high` must be
929
- # populated, and the represented box cannot be empty (as specified by the
930
- # definitions above). An empty viewport will result in an error. For example,
931
- # this viewport fully encloses New York City: ` "low": ` "latitude": 40.477398, "
932
- # longitude": -74.259087 `, "high": ` "latitude": 40.91618, "longitude": -73.
933
- # 70018 ` `
934
- # Corresponds to the JSON property `rectangle`
935
- # @return [Google::Apis::PlacesV1::GoogleGeoTypeViewport]
936
- attr_accessor :rectangle
937
-
938
- # Make location field a strict restriction and filter out POIs outside of the
939
- # given location. If location type field is unset this field will have no effect.
940
- # Corresponds to the JSON property `strictRestriction`
941
- # @return [Boolean]
942
- attr_accessor :strict_restriction
943
- alias_method :strict_restriction?, :strict_restriction
944
-
945
- def initialize(**args)
946
- update!(**args)
947
- end
948
-
949
- # Update properties of this object
950
- def update!(**args)
951
- @rectangle = args[:rectangle] if args.key?(:rectangle)
952
- @strict_restriction = args[:strict_restriction] if args.key?(:strict_restriction)
953
- end
954
- end
955
-
956
866
  # The region to search. This location serves as a bias which means results
957
867
  # around given location might be returned.
958
868
  class GoogleMapsPlacesV1SearchTextRequestLocationBias
@@ -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.4.0"
19
+ GEM_VERSION = "0.6.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230822"
25
+ REVISION = "20230905"
26
26
  end
27
27
  end
28
28
  end
@@ -40,12 +40,6 @@ module Google
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
- class GoogleMapsPlacesV1Int32Range
44
- class Representation < Google::Apis::Core::JsonRepresentation; end
45
-
46
- include Google::Apis::Core::JsonObjectSupport
47
- end
48
-
49
43
  class GoogleMapsPlacesV1Place
50
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
45
 
@@ -106,12 +100,6 @@ module Google
106
100
  include Google::Apis::Core::JsonObjectSupport
107
101
  end
108
102
 
109
- class GoogleMapsPlacesV1SearchTextRequestLocation
110
- class Representation < Google::Apis::Core::JsonRepresentation; end
111
-
112
- include Google::Apis::Core::JsonObjectSupport
113
- end
114
-
115
103
  class GoogleMapsPlacesV1SearchTextRequestLocationBias
116
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
105
 
@@ -176,14 +164,6 @@ module Google
176
164
  end
177
165
  end
178
166
 
179
- class GoogleMapsPlacesV1Int32Range
180
- # @private
181
- class Representation < Google::Apis::Core::JsonRepresentation
182
- property :max, as: 'max'
183
- property :min, as: 'min'
184
- end
185
- end
186
-
187
167
  class GoogleMapsPlacesV1Place
188
168
  # @private
189
169
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -289,7 +269,6 @@ module Google
289
269
  class Representation < Google::Apis::Core::JsonRepresentation
290
270
  property :date, as: 'date', class: Google::Apis::PlacesV1::GoogleTypeDate, decorator: Google::Apis::PlacesV1::GoogleTypeDate::Representation
291
271
 
292
- property :date_deprecated, as: 'dateDeprecated'
293
272
  property :day, as: 'day'
294
273
  property :hour, as: 'hour'
295
274
  property :minute, as: 'minute'
@@ -333,8 +312,6 @@ module Google
333
312
  class Representation < Google::Apis::Core::JsonRepresentation
334
313
  property :included_type, as: 'includedType'
335
314
  property :language_code, as: 'languageCode'
336
- property :location, as: 'location', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1SearchTextRequestLocation, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1SearchTextRequestLocation::Representation
337
-
338
315
  property :location_bias, as: 'locationBias', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1SearchTextRequestLocationBias, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1SearchTextRequestLocationBias::Representation
339
316
 
340
317
  property :location_restriction, as: 'locationRestriction', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1SearchTextRequestLocationRestriction, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1SearchTextRequestLocationRestriction::Representation
@@ -343,8 +320,6 @@ module Google
343
320
  property :min_rating, as: 'minRating'
344
321
  property :open_now, as: 'openNow'
345
322
  collection :price_levels, as: 'priceLevels'
346
- property :price_range, as: 'priceRange', class: Google::Apis::PlacesV1::GoogleMapsPlacesV1Int32Range, decorator: Google::Apis::PlacesV1::GoogleMapsPlacesV1Int32Range::Representation
347
-
348
323
  property :rank_preference, as: 'rankPreference'
349
324
  property :region_code, as: 'regionCode'
350
325
  property :strict_type_filtering, as: 'strictTypeFiltering'
@@ -352,15 +327,6 @@ module Google
352
327
  end
353
328
  end
354
329
 
355
- class GoogleMapsPlacesV1SearchTextRequestLocation
356
- # @private
357
- class Representation < Google::Apis::Core::JsonRepresentation
358
- property :rectangle, as: 'rectangle', class: Google::Apis::PlacesV1::GoogleGeoTypeViewport, decorator: Google::Apis::PlacesV1::GoogleGeoTypeViewport::Representation
359
-
360
- property :strict_restriction, as: 'strictRestriction'
361
- end
362
- end
363
-
364
330
  class GoogleMapsPlacesV1SearchTextRequestLocationBias
365
331
  # @private
366
332
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-places_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-27 00:00:00.000000000 Z
11
+ date: 2023-09-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  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.4.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-places_v1/v0.6.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-places_v1
63
63
  post_install_message:
64
64
  rdoc_options: []