google-apis-places_v1 0.14.0 → 0.16.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: 11085d6103164e6d77eb498bfffca2cf6f5e8718cb0e5347c866ee912cf233a1
4
- data.tar.gz: 9416df6b1b8c1b653caecbf0a861230aa95200a36587a126d17b92b0ace344a3
3
+ metadata.gz: dae9cce623309bf3076dc609e860e72030c225a1d96bec1b747069fdc32ea62a
4
+ data.tar.gz: e3a4ed99ad9b519684833d4dd223d2f60dc65da71fae18fbddd465b316884d81
5
5
  SHA512:
6
- metadata.gz: 00aa9bb9ec3523bac3fd7d676aca5e6fdb995797d080dbf21f4b250f87470a5e025322dde8428dd633b68d0c4e6e15e380088c2995f14ac9a9533050eac25548
7
- data.tar.gz: 9cba140b04eed4e38a1f127a2dc54f4e675986c85ff5845834d817c403a727b995f6b997e06ebabd224e6081f82a105fbc25566d974a874fc0ee0560bbff1efe
6
+ metadata.gz: 3dc0b9239c8abda369c973b95d234286a239a46bbf2c11b178842a0e8af44f5378339817aac5b8b0fb24c2f498afdb0e7229bb239ec17ff2cbcd53e751e4b2d0
7
+ data.tar.gz: e24b72ca7a1529dafa910adc9a83120ec913ffa2cb406f67085fcb1a39ad1e84793e382201c29e7cf86fe19baf7e904587eb9d27562cc10f62318e8c9fc7fa42
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-places_v1
2
2
 
3
+ ### v0.16.0 (2023-12-10)
4
+
5
+ * Regenerated from discovery document revision 20231205
6
+
7
+ ### v0.15.0 (2023-11-26)
8
+
9
+ * Regenerated from discovery document revision 20231119
10
+
3
11
  ### v0.14.0 (2023-11-19)
4
12
 
5
13
  * Regenerated from discovery document revision 20231112
@@ -277,8 +277,8 @@ module Google
277
277
  attr_accessor :height_px
278
278
 
279
279
  # Identifier. A reference representing this place photo which may be used to
280
- # look up this place photo again (a.k.a. the API "resource" name: places/`
281
- # place_id`/photos/`photo`).
280
+ # look up this place photo again (also called the API "resource" name: `places/`
281
+ # place_id`/photos/`photo``).
282
282
  # Corresponds to the JSON property `name`
283
283
  # @return [String]
284
284
  attr_accessor :name
@@ -305,8 +305,8 @@ module Google
305
305
  class GoogleMapsPlacesV1PhotoMedia
306
306
  include Google::Apis::Core::Hashable
307
307
 
308
- # The resource name of a photo media in the format: `places/place_id/photos/
309
- # photo_reference/media`.
308
+ # The resource name of a photo media in the format: `places/`place_id`/photos/`
309
+ # photo_reference`/media`.
310
310
  # Corresponds to the JSON property `name`
311
311
  # @return [String]
312
312
  attr_accessor :name
@@ -1229,8 +1229,8 @@ module Google
1229
1229
  attr_accessor :author_attribution
1230
1230
 
1231
1231
  # A reference representing this place review which may be used to look up this
1232
- # place review again (also called the API "resource" name: places/place_id/
1233
- # reviews/review).
1232
+ # place review again (also called the API "resource" name: `places/`place_id`/
1233
+ # reviews/`review``).
1234
1234
  # Corresponds to the JSON property `name`
1235
1235
  # @return [String]
1236
1236
  attr_accessor :name
@@ -1282,30 +1282,34 @@ module Google
1282
1282
  include Google::Apis::Core::Hashable
1283
1283
 
1284
1284
  # Excluded primary Place type (e.g. "restaurant" or "gas_station") from https://
1285
- # developers.google.com/maps/documentation/places/web-service/place-types. If
1286
- # there are any conflicting primary types, i.e. a type appears in both
1287
- # included_primary_types and excluded_primary_types, an INVALID_ARGUMENT error
1288
- # is returned. If a Place type is specified with multiple type restrictions,
1289
- # only places that satisfy all of the restrictions are returned. For example, if
1290
- # we have `included_types = ["restaurant"], excluded_primary_types = ["
1291
- # restaurant"]`, the returned places provide "restaurant" related services but
1292
- # do not operate primarily as "restaurants".
1285
+ # developers.google.com/maps/documentation/places/web-service/place-types. Up to
1286
+ # 50 types from [Table A](https://developers.google.com/maps/documentation/
1287
+ # places/web-service/place-types#table-a) may be specified. If there are any
1288
+ # conflicting primary types, i.e. a type appears in both included_primary_types
1289
+ # and excluded_primary_types, an INVALID_ARGUMENT error is returned. If a Place
1290
+ # type is specified with multiple type restrictions, only places that satisfy
1291
+ # all of the restrictions are returned. For example, if we have `included_types =
1292
+ # ["restaurant"], excluded_primary_types = ["restaurant"]`, the returned places
1293
+ # provide "restaurant" related services but do not operate primarily as "
1294
+ # restaurants".
1293
1295
  # Corresponds to the JSON property `excludedPrimaryTypes`
1294
1296
  # @return [Array<String>]
1295
1297
  attr_accessor :excluded_primary_types
1296
1298
 
1297
1299
  # Excluded Place type (eg, "restaurant" or "gas_station") from https://
1298
- # developers.google.com/maps/documentation/places/web-service/place-types. If
1299
- # the client provides both included_types (e.g. restaurant) and excluded_types (
1300
- # e.g. cafe), then the response should include places that are restaurant but
1301
- # not cafe. The response includes places that match at least one of the
1302
- # included_types and none of the excluded_types. If there are any conflicting
1303
- # types, i.e. a type appears in both included_types and excluded_types, an
1304
- # INVALID_ARGUMENT error is returned. If a Place type is specified with multiple
1305
- # type restrictions, only places that satisfy all of the restrictions are
1306
- # returned. For example, if we have `included_types = ["restaurant"],
1307
- # excluded_primary_types = ["restaurant"]`, the returned places provide "
1308
- # restaurant" related services but do not operate primarily as "restaurants".
1300
+ # developers.google.com/maps/documentation/places/web-service/place-types. Up to
1301
+ # 50 types from [Table A](https://developers.google.com/maps/documentation/
1302
+ # places/web-service/place-types#table-a) may be specified. If the client
1303
+ # provides both included_types (e.g. restaurant) and excluded_types (e.g. cafe),
1304
+ # then the response should include places that are restaurant but not cafe. The
1305
+ # response includes places that match at least one of the included_types and
1306
+ # none of the excluded_types. If there are any conflicting types, i.e. a type
1307
+ # appears in both included_types and excluded_types, an INVALID_ARGUMENT error
1308
+ # is returned. If a Place type is specified with multiple type restrictions,
1309
+ # only places that satisfy all of the restrictions are returned. For example, if
1310
+ # we have `included_types = ["restaurant"], excluded_primary_types = ["
1311
+ # restaurant"]`, the returned places provide "restaurant" related services but
1312
+ # do not operate primarily as "restaurants".
1309
1313
  # Corresponds to the JSON property `excludedTypes`
1310
1314
  # @return [Array<String>]
1311
1315
  attr_accessor :excluded_types
@@ -1313,11 +1317,13 @@ module Google
1313
1317
  # Included primary Place type (e.g. "restaurant" or "gas_station") from https://
1314
1318
  # developers.google.com/maps/documentation/places/web-service/place-types. A
1315
1319
  # place can only have a single primary type from the supported types table
1316
- # associated with it. If there are any conflicting primary types, i.e. a type
1317
- # appears in both included_primary_types and excluded_primary_types, an
1318
- # INVALID_ARGUMENT error is returned. If a Place type is specified with multiple
1319
- # type restrictions, only places that satisfy all of the restrictions are
1320
- # returned. For example, if we have `included_types = ["restaurant"],
1320
+ # associated with it. Up to 50 types from [Table A](https://developers.google.
1321
+ # com/maps/documentation/places/web-service/place-types#table-a) may be
1322
+ # specified. If there are any conflicting primary types, i.e. a type appears in
1323
+ # both included_primary_types and excluded_primary_types, an INVALID_ARGUMENT
1324
+ # error is returned. If a Place type is specified with multiple type
1325
+ # restrictions, only places that satisfy all of the restrictions are returned.
1326
+ # For example, if we have `included_types = ["restaurant"],
1321
1327
  # excluded_primary_types = ["restaurant"]`, the returned places provide "
1322
1328
  # restaurant" related services but do not operate primarily as "restaurants".
1323
1329
  # Corresponds to the JSON property `includedPrimaryTypes`
@@ -1325,9 +1331,11 @@ module Google
1325
1331
  attr_accessor :included_primary_types
1326
1332
 
1327
1333
  # Included Place type (eg, "restaurant" or "gas_station") from https://
1328
- # developers.google.com/maps/documentation/places/web-service/place-types. If
1329
- # there are any conflicting types, i.e. a type appears in both included_types
1330
- # and excluded_types, an INVALID_ARGUMENT error is returned. If a Place type is
1334
+ # developers.google.com/maps/documentation/places/web-service/place-types. Up to
1335
+ # 50 types from [Table A](https://developers.google.com/maps/documentation/
1336
+ # places/web-service/place-types#table-a) may be specified. If there are any
1337
+ # conflicting types, i.e. a type appears in both included_types and
1338
+ # excluded_types, an INVALID_ARGUMENT error is returned. If a Place type is
1331
1339
  # specified with multiple type restrictions, only places that satisfy all of the
1332
1340
  # restrictions are returned. For example, if we have `included_types = ["
1333
1341
  # restaurant"], excluded_primary_types = ["restaurant"]`, the returned places
@@ -1472,11 +1480,10 @@ module Google
1472
1480
  attr_accessor :max_result_count
1473
1481
 
1474
1482
  # Filter out results whose average user rating is strictly less than this limit.
1475
- # A valid value must be an float between 0 and 5 (inclusively) at a 0.5 cadence
1476
- # i.e. [0, 0.5, 1.0, ... , 5.0] inclusively. This is to keep parity with
1477
- # LocalRefinement_UserRating. The input rating will round up to the nearest 0.5(
1478
- # ceiling). For instance, a rating of 0.6 will eliminate all results with a less
1479
- # than 1.0 rating.
1483
+ # A valid value must be a float between 0 and 5 (inclusively) at a 0.5 cadence i.
1484
+ # e. [0, 0.5, 1.0, ... , 5.0] inclusively. The input rating will round up to the
1485
+ # nearest 0.5(ceiling). For instance, a rating of 0.6 will eliminate all results
1486
+ # with a less than 1.0 rating.
1480
1487
  # Corresponds to the JSON property `minRating`
1481
1488
  # @return [Float]
1482
1489
  attr_accessor :min_rating
@@ -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.14.0"
19
+ GEM_VERSION = "0.16.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 = "20231112"
25
+ REVISION = "20231205"
26
26
  end
27
27
  end
28
28
  end
@@ -52,7 +52,7 @@ module Google
52
52
  # Get place details with a place id (in a name) string.
53
53
  # @param [String] name
54
54
  # Required. A place ID returned in a Place (with "places/" prefix), or
55
- # equivalently the name in the same Place. Format: places/*place_id*.
55
+ # equivalently the name in the same Place. Format: `places/`place_id``.
56
56
  # @param [String] language_code
57
57
  # Optional. Place details will be displayed with the preferred language if
58
58
  # available. Current list of supported languages: https://developers.google.com/
@@ -155,11 +155,11 @@ module Google
155
155
 
156
156
  # Get a photo media with a photo reference string.
157
157
  # @param [String] name
158
- # Required. The resource name of a photo media in the format: `"places/place_id/
159
- # photos/photo_reference/media"`. The resource name of a photo as returned in a
160
- # Place object's `photos.name` field comes with the format `"places/place_id/
161
- # photos/photo_reference"`. You need to append `"/media"` at the end of the
162
- # photo resource to get the photo media resource name.
158
+ # Required. The resource name of a photo media in the format: `places/`place_id`/
159
+ # photos/`photo_reference`/media`. The resource name of a photo as returned in a
160
+ # Place object's `photos.name` field comes with the format `places/`place_id`/
161
+ # photos/`photo_reference``. You need to append `/media` at the end of the photo
162
+ # resource to get the photo media resource name.
163
163
  # @param [Fixnum] max_height_px
164
164
  # Optional. Specifies the maximum desired height, in pixels, of the image. If
165
165
  # the image is smaller than the values specified, the original image will be
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.14.0
4
+ version: 0.16.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-11-19 00:00:00.000000000 Z
11
+ date: 2023-12-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.14.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-places_v1/v0.16.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: []