Skip to content

Commit 5396159

Browse files
feat: Automated regeneration of places v1 client (googleapis#22198)
Auto-created at 2025-03-23 10:23:20 +0000 using the toys pull request generator.
1 parent 68d2faa commit 5396159

File tree

3 files changed

+53
-49
lines changed

3 files changed

+53
-49
lines changed

generated/google-apis-places_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-places_v1
22

3+
### v0.33.0 (2025-03-23)
4+
5+
* Regenerated from discovery document revision 20250318
6+
37
### v0.32.0 (2025-03-16)
48

59
* Regenerated from discovery document revision 20250312

generated/google-apis-places_v1/lib/google/apis/places_v1/classes.rb

Lines changed: 47 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1372,16 +1372,16 @@ class GoogleMapsPlacesV1Place
13721372
# @return [Google::Apis::PlacesV1::GoogleMapsPlacesV1PlacePlusCode]
13731373
attr_accessor :plus_code
13741374

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
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
13791379
# created by user input or from importing existing data, depending on the type
1380-
# of process. Advice on address input / editing: - Use an internationalization-
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. -
13821382
# Users should not be presented with UI elements for input or editing of fields
13831383
# 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.
13851385
# Corresponds to the JSON property `postalAddress`
13861386
# @return [Google::Apis::PlacesV1::GoogleTypePostalAddress]
13871387
attr_accessor :postal_address
@@ -1524,7 +1524,7 @@ class GoogleMapsPlacesV1Place
15241524
# @return [String]
15251525
attr_accessor :short_formatted_address
15261526

1527-
# A list of sub destinations related to the place.
1527+
# A list of sub-destinations related to the place.
15281528
# Corresponds to the JSON property `subDestinations`
15291529
# @return [Array<Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceSubDestination>]
15301530
attr_accessor :sub_destinations
@@ -2236,21 +2236,21 @@ def update!(**args)
22362236
end
22372237

22382238
# Sub-destinations are specific places associated with a main place. These
2239-
# provide more specific destinations for users who are searching inside a large
2239+
# provide more specific destinations for users who are searching within a large
22402240
# or complex place, like an airport, national park, university, or stadium. For
22412241
# example, sub-destinations at an airport might include associated terminals and
22422242
# parking lots. Sub-destinations return the place ID and place resource name,
2243-
# which can be used in subsequent Place Details (new) requests to fetch richer
2243+
# which can be used in subsequent Place Details (New) requests to fetch richer
22442244
# details, including the sub-destination's display name and location.
22452245
class GoogleMapsPlacesV1PlaceSubDestination
22462246
include Google::Apis::Core::Hashable
22472247

2248-
# The place id of the sub destination.
2248+
# The place id of the sub-destination.
22492249
# Corresponds to the JSON property `id`
22502250
# @return [String]
22512251
attr_accessor :id
22522252

2253-
# The resource name of the sub destination.
2253+
# The resource name of the sub-destination.
22542254
# Corresponds to the JSON property `name`
22552255
# @return [String]
22562256
attr_accessor :name
@@ -3257,46 +3257,46 @@ def update!(**args)
32573257
end
32583258
end
32593259

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
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
32643264
# created by user input or from importing existing data, depending on the type
3265-
# of process. Advice on address input / editing: - Use an internationalization-
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. -
32673267
# Users should not be presented with UI elements for input or editing of fields
32683268
# 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.
32703270
class GoogleTypePostalAddress
32713271
include Google::Apis::Core::Hashable
32723272

32733273
# Unstructured address lines describing the lower levels of an address. Because
3274-
# values in address_lines do not have type information and may sometimes contain
3275-
# multiple values in a single field (For example "Austin, TX"), it is important
3276-
# that the line order is clear. The order of address lines should be "envelope
3277-
# order" for the country/region of the address. In places where this can vary (
3278-
# For example Japan), address_language is used to make it explicit (For example "
3279-
# ja" for large-to-small ordering and "ja-Latn" or "en" for small-to-large).
3280-
# This way, the most specific line of an address can be selected based on the
3281-
# language. The minimum permitted structural representation of an address
3282-
# consists of a region_code with all remaining information placed in the
3283-
# address_lines. It would be possible to format such an address very
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
32843284
# approximately without geocoding, but no semantic reasoning could be made about
32853285
# any of the address components until it was at least partially resolved.
3286-
# Creating an address only containing a region_code and address_lines, and then
3287-
# geocoding is the recommended way to handle completely unstructured addresses (
3288-
# as opposed to guessing which parts of the address should be localities or
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).
32903290
# Corresponds to the JSON property `addressLines`
32913291
# @return [Array<String>]
32923292
attr_accessor :address_lines
32933293

32943294
# Optional. Highest administrative subdivision which is used for postal
32953295
# addresses of a country or region. For example, this can be a state, a province,
3296-
# an oblast, or a prefecture. Specifically, for Spain this is the province and
3297-
# not the autonomous community (For example "Barcelona" and not "Catalonia").
3298-
# Many countries don't use an administrative area in postal addresses. For
3299-
# example in Switzerland this should be left unpopulated.
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.
33003300
# Corresponds to the JSON property `administrativeArea`
33013301
# @return [String]
33023302
attr_accessor :administrative_area
@@ -3313,10 +3313,10 @@ class GoogleTypePostalAddress
33133313
# @return [String]
33143314
attr_accessor :language_code
33153315

3316-
# Optional. Generally refers to the city/town portion of the address. Examples:
3317-
# US city, IT comune, UK post town. In regions of the world where localities are
3318-
# not well defined or do not fit into this structure well, leave locality empty
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`.
33203320
# Corresponds to the JSON property `locality`
33213321
# @return [String]
33223322
attr_accessor :locality
@@ -3328,8 +3328,8 @@ class GoogleTypePostalAddress
33283328

33293329
# Optional. Postal code of the address. Not all countries use or require postal
33303330
# codes to be present, but where they are used, they may trigger additional
3331-
# validation with other parts of the address (For example state/zip validation
3332-
# in the U.S.A.).
3331+
# validation with other parts of the address (for example, state or zip code
3332+
# validation in the United States).
33333333
# Corresponds to the JSON property `postalCode`
33343334
# @return [String]
33353335
attr_accessor :postal_code
@@ -3358,15 +3358,15 @@ class GoogleTypePostalAddress
33583358

33593359
# Optional. Additional, country-specific, sorting code. This is not used in most
33603360
# regions. Where it is used, the value is either a string like "CEDEX",
3361-
# optionally followed by a number (For example "CEDEX 7"), or just a number
3361+
# optionally followed by a number (for example, "CEDEX 7"), or just a number
33623362
# alone, representing the "sector code" (Jamaica), "delivery area indicator" (
3363-
# Malawi) or "post office indicator" (For example Côte d'Ivoire).
3363+
# Malawi) or "post office indicator" (Côte d'Ivoire).
33643364
# Corresponds to the JSON property `sortingCode`
33653365
# @return [String]
33663366
attr_accessor :sorting_code
33673367

3368-
# Optional. Sublocality of the address. For example, this can be neighborhoods,
3369-
# boroughs, districts.
3368+
# Optional. Sublocality of the address. For example, this can be a neighborhood,
3369+
# borough, or district.
33703370
# Corresponds to the JSON property `sublocality`
33713371
# @return [String]
33723372
attr_accessor :sublocality

generated/google-apis-places_v1/lib/google/apis/places_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module PlacesV1
1818
# Version of the google-apis-places_v1 gem
19-
GEM_VERSION = "0.32.0"
19+
GEM_VERSION = "0.33.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.16.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250312"
25+
REVISION = "20250318"
2626
end
2727
end
2828
end

0 commit comments

Comments
 (0)