google-apis-places_v1 0.32.0 → 0.33.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 +4 -0
- data/lib/google/apis/places_v1/classes.rb +47 -47
- data/lib/google/apis/places_v1/gem_version.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 451bad0d55e9478b89aeb6cfc15ede4515b4ac73fc6833a795fcc444b659ae57
|
4
|
+
data.tar.gz: 992c2e06bf13930fdfe22e83b43d465ff3ef9523c18162b3318bfae5516f8943
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e71048f4bdba05926fcf54ffd79b8216aeedd2f177fce95fc78298e06cf027bec8929f299d9ddbfa7a7ad7aea1281d6b5dc6b631933ad9d21b2aaf07ef5be85e
|
7
|
+
data.tar.gz: 3cb991c5ae08d51a0ef2b0e578eebfddee15ad317dbea9230a4f0c9207dbc6e6547239c77451b2b1cdb42b99e3f91aaf01031bafc00a4e9b557f2c082b51afe4
|
data/CHANGELOG.md
CHANGED
@@ -1372,16 +1372,16 @@ module Google
|
|
1372
1372
|
# @return [Google::Apis::PlacesV1::GoogleMapsPlacesV1PlacePlusCode]
|
1373
1373
|
attr_accessor :plus_code
|
1374
1374
|
|
1375
|
-
# Represents a postal address
|
1376
|
-
# addresses. Given a postal address, a postal service can deliver items to a
|
1377
|
-
# premise, P.O.
|
1378
|
-
# locations (roads, towns, mountains). In typical usage an address would be
|
1375
|
+
# Represents a postal address (for example, for postal delivery or payments
|
1376
|
+
# addresses). Given a postal address, a postal service can deliver items to a
|
1377
|
+
# premise, P.O. box or similar. It is not intended to model geographical
|
1378
|
+
# locations (roads, towns, mountains). In typical usage, an address would be
|
1379
1379
|
# created by user input or from importing existing data, depending on the type
|
1380
|
-
# of process. Advice on address input
|
1381
|
-
# ready address widget such as https://github.com/google/libaddressinput
|
1380
|
+
# of process. Advice on address input or editing: - Use an internationalization-
|
1381
|
+
# ready address widget such as https://github.com/google/libaddressinput. -
|
1382
1382
|
# Users should not be presented with UI elements for input or editing of fields
|
1383
1383
|
# outside countries where that field is used. For more guidance on how to use
|
1384
|
-
# this schema, see: https://support.google.com/business/answer/6397478
|
1384
|
+
# this schema, see: https://support.google.com/business/answer/6397478.
|
1385
1385
|
# Corresponds to the JSON property `postalAddress`
|
1386
1386
|
# @return [Google::Apis::PlacesV1::GoogleTypePostalAddress]
|
1387
1387
|
attr_accessor :postal_address
|
@@ -1524,7 +1524,7 @@ module Google
|
|
1524
1524
|
# @return [String]
|
1525
1525
|
attr_accessor :short_formatted_address
|
1526
1526
|
|
1527
|
-
# A list of sub
|
1527
|
+
# A list of sub-destinations related to the place.
|
1528
1528
|
# Corresponds to the JSON property `subDestinations`
|
1529
1529
|
# @return [Array<Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceSubDestination>]
|
1530
1530
|
attr_accessor :sub_destinations
|
@@ -2236,21 +2236,21 @@ module Google
|
|
2236
2236
|
end
|
2237
2237
|
|
2238
2238
|
# Sub-destinations are specific places associated with a main place. These
|
2239
|
-
# provide more specific destinations for users who are searching
|
2239
|
+
# provide more specific destinations for users who are searching within a large
|
2240
2240
|
# or complex place, like an airport, national park, university, or stadium. For
|
2241
2241
|
# example, sub-destinations at an airport might include associated terminals and
|
2242
2242
|
# parking lots. Sub-destinations return the place ID and place resource name,
|
2243
|
-
# which can be used in subsequent Place Details (
|
2243
|
+
# which can be used in subsequent Place Details (New) requests to fetch richer
|
2244
2244
|
# details, including the sub-destination's display name and location.
|
2245
2245
|
class GoogleMapsPlacesV1PlaceSubDestination
|
2246
2246
|
include Google::Apis::Core::Hashable
|
2247
2247
|
|
2248
|
-
# The place id of the sub
|
2248
|
+
# The place id of the sub-destination.
|
2249
2249
|
# Corresponds to the JSON property `id`
|
2250
2250
|
# @return [String]
|
2251
2251
|
attr_accessor :id
|
2252
2252
|
|
2253
|
-
# The resource name of the sub
|
2253
|
+
# The resource name of the sub-destination.
|
2254
2254
|
# Corresponds to the JSON property `name`
|
2255
2255
|
# @return [String]
|
2256
2256
|
attr_accessor :name
|
@@ -3257,46 +3257,46 @@ module Google
|
|
3257
3257
|
end
|
3258
3258
|
end
|
3259
3259
|
|
3260
|
-
# Represents a postal address
|
3261
|
-
# addresses. Given a postal address, a postal service can deliver items to a
|
3262
|
-
# premise, P.O.
|
3263
|
-
# locations (roads, towns, mountains). In typical usage an address would be
|
3260
|
+
# Represents a postal address (for example, for postal delivery or payments
|
3261
|
+
# addresses). Given a postal address, a postal service can deliver items to a
|
3262
|
+
# premise, P.O. box or similar. It is not intended to model geographical
|
3263
|
+
# locations (roads, towns, mountains). In typical usage, an address would be
|
3264
3264
|
# created by user input or from importing existing data, depending on the type
|
3265
|
-
# of process. Advice on address input
|
3266
|
-
# ready address widget such as https://github.com/google/libaddressinput
|
3265
|
+
# of process. Advice on address input or editing: - Use an internationalization-
|
3266
|
+
# ready address widget such as https://github.com/google/libaddressinput. -
|
3267
3267
|
# Users should not be presented with UI elements for input or editing of fields
|
3268
3268
|
# outside countries where that field is used. For more guidance on how to use
|
3269
|
-
# this schema, see: https://support.google.com/business/answer/6397478
|
3269
|
+
# this schema, see: https://support.google.com/business/answer/6397478.
|
3270
3270
|
class GoogleTypePostalAddress
|
3271
3271
|
include Google::Apis::Core::Hashable
|
3272
3272
|
|
3273
3273
|
# Unstructured address lines describing the lower levels of an address. Because
|
3274
|
-
# values in address_lines do not have type information and may sometimes
|
3275
|
-
# multiple values in a single field (
|
3276
|
-
# that the line order is clear. The order of address lines should be "
|
3277
|
-
# order" for the country
|
3278
|
-
#
|
3279
|
-
# ja" for large-to-small ordering and "ja-Latn" or "en" for small-
|
3280
|
-
#
|
3281
|
-
# language. The minimum permitted structural representation of an
|
3282
|
-
# consists of a region_code with all remaining information placed in
|
3283
|
-
# address_lines
|
3274
|
+
# values in `address_lines` do not have type information and may sometimes
|
3275
|
+
# contain multiple values in a single field (for example, "Austin, TX"), it is
|
3276
|
+
# important that the line order is clear. The order of address lines should be "
|
3277
|
+
# envelope order" for the country or region of the address. In places where this
|
3278
|
+
# can vary (for example, Japan), `address_language` is used to make it explicit (
|
3279
|
+
# for example, "ja" for large-to-small ordering and "ja-Latn" or "en" for small-
|
3280
|
+
# to-large). In this way, the most specific line of an address can be selected
|
3281
|
+
# based on the language. The minimum permitted structural representation of an
|
3282
|
+
# address consists of a `region_code` with all remaining information placed in
|
3283
|
+
# the `address_lines`. It would be possible to format such an address very
|
3284
3284
|
# approximately without geocoding, but no semantic reasoning could be made about
|
3285
3285
|
# any of the address components until it was at least partially resolved.
|
3286
|
-
# Creating an address only containing a region_code and address_lines
|
3287
|
-
# geocoding is the recommended way to handle completely unstructured
|
3288
|
-
# as opposed to guessing which parts of the address should be
|
3289
|
-
# administrative areas).
|
3286
|
+
# Creating an address only containing a `region_code` and `address_lines` and
|
3287
|
+
# then geocoding is the recommended way to handle completely unstructured
|
3288
|
+
# addresses (as opposed to guessing which parts of the address should be
|
3289
|
+
# localities or administrative areas).
|
3290
3290
|
# Corresponds to the JSON property `addressLines`
|
3291
3291
|
# @return [Array<String>]
|
3292
3292
|
attr_accessor :address_lines
|
3293
3293
|
|
3294
3294
|
# Optional. Highest administrative subdivision which is used for postal
|
3295
3295
|
# addresses of a country or region. For example, this can be a state, a province,
|
3296
|
-
# an oblast, or a prefecture.
|
3297
|
-
#
|
3298
|
-
#
|
3299
|
-
#
|
3296
|
+
# an oblast, or a prefecture. For Spain, this is the province and not the
|
3297
|
+
# autonomous community (for example, "Barcelona" and not "Catalonia"). Many
|
3298
|
+
# countries don't use an administrative area in postal addresses. For example,
|
3299
|
+
# in Switzerland, this should be left unpopulated.
|
3300
3300
|
# Corresponds to the JSON property `administrativeArea`
|
3301
3301
|
# @return [String]
|
3302
3302
|
attr_accessor :administrative_area
|
@@ -3313,10 +3313,10 @@ module Google
|
|
3313
3313
|
# @return [String]
|
3314
3314
|
attr_accessor :language_code
|
3315
3315
|
|
3316
|
-
# Optional. Generally refers to the city
|
3317
|
-
# US city, IT comune, UK post town. In regions of the world where
|
3318
|
-
# not well defined or do not fit into this structure well, leave
|
3319
|
-
# and use address_lines
|
3316
|
+
# Optional. Generally refers to the city or town portion of the address.
|
3317
|
+
# Examples: US city, IT comune, UK post town. In regions of the world where
|
3318
|
+
# localities are not well defined or do not fit into this structure well, leave `
|
3319
|
+
# locality` empty and use `address_lines`.
|
3320
3320
|
# Corresponds to the JSON property `locality`
|
3321
3321
|
# @return [String]
|
3322
3322
|
attr_accessor :locality
|
@@ -3328,8 +3328,8 @@ module Google
|
|
3328
3328
|
|
3329
3329
|
# Optional. Postal code of the address. Not all countries use or require postal
|
3330
3330
|
# codes to be present, but where they are used, they may trigger additional
|
3331
|
-
# validation with other parts of the address (
|
3332
|
-
# in the
|
3331
|
+
# validation with other parts of the address (for example, state or zip code
|
3332
|
+
# validation in the United States).
|
3333
3333
|
# Corresponds to the JSON property `postalCode`
|
3334
3334
|
# @return [String]
|
3335
3335
|
attr_accessor :postal_code
|
@@ -3358,15 +3358,15 @@ module Google
|
|
3358
3358
|
|
3359
3359
|
# Optional. Additional, country-specific, sorting code. This is not used in most
|
3360
3360
|
# regions. Where it is used, the value is either a string like "CEDEX",
|
3361
|
-
# optionally followed by a number (
|
3361
|
+
# optionally followed by a number (for example, "CEDEX 7"), or just a number
|
3362
3362
|
# alone, representing the "sector code" (Jamaica), "delivery area indicator" (
|
3363
|
-
# Malawi) or "post office indicator" (
|
3363
|
+
# Malawi) or "post office indicator" (Côte d'Ivoire).
|
3364
3364
|
# Corresponds to the JSON property `sortingCode`
|
3365
3365
|
# @return [String]
|
3366
3366
|
attr_accessor :sorting_code
|
3367
3367
|
|
3368
|
-
# Optional. Sublocality of the address. For example, this can be
|
3369
|
-
#
|
3368
|
+
# Optional. Sublocality of the address. For example, this can be a neighborhood,
|
3369
|
+
# borough, or district.
|
3370
3370
|
# Corresponds to the JSON property `sublocality`
|
3371
3371
|
# @return [String]
|
3372
3372
|
attr_accessor :sublocality
|
@@ -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.33.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250318"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
metadata
CHANGED
@@ -1,13 +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.
|
4
|
+
version: 0.33.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-03-
|
10
|
+
date: 2025-03-23 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: google-apis-core
|
@@ -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.33.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:
|