Skip to content

Commit 6c77ffb

Browse files
feat: Automated regeneration of domains v1alpha2 client (googleapis#24450)
Auto-created at 2025-09-28 10:47:07 +0000 using the toys pull request generator.
1 parent 0c3573f commit 6c77ffb

File tree

5 files changed

+64
-52
lines changed

5 files changed

+64
-52
lines changed

api_names_out.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242071,6 +242071,7 @@
242071242071
"/domains:v1alpha2/domains.projects.locations.get": get_project_location
242072242072
"/domains:v1alpha2/domains.projects.locations.get/name": name
242073242073
"/domains:v1alpha2/domains.projects.locations.list": list_project_locations
242074+
"/domains:v1alpha2/domains.projects.locations.list/extraLocationTypes": extra_location_types
242074242075
"/domains:v1alpha2/domains.projects.locations.list/filter": filter
242075242076
"/domains:v1alpha2/domains.projects.locations.list/name": name
242076242077
"/domains:v1alpha2/domains.projects.locations.list/pageSize": page_size

generated/google-apis-domains_v1alpha2/CHANGELOG.md

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

3+
### v0.44.0 (2025-09-28)
4+
5+
* Regenerated from discovery document revision 20250918
6+
* Regenerated using generator version 0.18.0
7+
38
### v0.43.0 (2025-05-04)
49

510
* Regenerated using generator version 0.17.0

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

Lines changed: 50 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -345,16 +345,17 @@ class Contact
345345
# @return [String]
346346
attr_accessor :phone_number
347347

348-
# Represents a postal address. For example for postal delivery or payments
349-
# addresses. Given a postal address, a postal service can deliver items to a
350-
# premise, P.O. Box or similar. It is not intended to model geographical
351-
# locations (roads, towns, mountains). In typical usage an address would be
352-
# created by user input or from importing existing data, depending on the type
353-
# of process. Advice on address input / editing: - Use an internationalization-
354-
# ready address widget such as https://github.com/google/libaddressinput) -
355-
# Users should not be presented with UI elements for input or editing of fields
356-
# outside countries where that field is used. For more guidance on how to use
357-
# this schema, see: https://support.google.com/business/answer/6397478
348+
# Represents a postal address, such as for postal delivery or payments addresses.
349+
# With a postal address, a postal service can deliver items to a premise, P.O.
350+
# box, or similar. A postal address is not intended to model geographical
351+
# locations like roads, towns, or mountains. In typical usage, an address would
352+
# be created by user input or from importing existing data, depending on the
353+
# type of process. Advice on address input or editing: - Use an
354+
# internationalization-ready address widget such as https://github.com/google/
355+
# libaddressinput. - Users should not be presented with UI elements for input or
356+
# editing of fields outside countries where that field is used. For more
357+
# guidance on how to use this schema, see: https://support.google.com/business/
358+
# answer/6397478.
358359
# Corresponds to the JSON property `postalAddress`
359360
# @return [Google::Apis::DomainsV1alpha2::PostalAddress]
360361
attr_accessor :postal_address
@@ -1437,46 +1438,47 @@ def update!(**args)
14371438
end
14381439
end
14391440

1440-
# Represents a postal address. For example for postal delivery or payments
1441-
# addresses. Given a postal address, a postal service can deliver items to a
1442-
# premise, P.O. Box or similar. It is not intended to model geographical
1443-
# locations (roads, towns, mountains). In typical usage an address would be
1444-
# created by user input or from importing existing data, depending on the type
1445-
# of process. Advice on address input / editing: - Use an internationalization-
1446-
# ready address widget such as https://github.com/google/libaddressinput) -
1447-
# Users should not be presented with UI elements for input or editing of fields
1448-
# outside countries where that field is used. For more guidance on how to use
1449-
# this schema, see: https://support.google.com/business/answer/6397478
1441+
# Represents a postal address, such as for postal delivery or payments addresses.
1442+
# With a postal address, a postal service can deliver items to a premise, P.O.
1443+
# box, or similar. A postal address is not intended to model geographical
1444+
# locations like roads, towns, or mountains. In typical usage, an address would
1445+
# be created by user input or from importing existing data, depending on the
1446+
# type of process. Advice on address input or editing: - Use an
1447+
# internationalization-ready address widget such as https://github.com/google/
1448+
# libaddressinput. - Users should not be presented with UI elements for input or
1449+
# editing of fields outside countries where that field is used. For more
1450+
# guidance on how to use this schema, see: https://support.google.com/business/
1451+
# answer/6397478.
14501452
class PostalAddress
14511453
include Google::Apis::Core::Hashable
14521454

14531455
# Unstructured address lines describing the lower levels of an address. Because
1454-
# values in address_lines do not have type information and may sometimes contain
1455-
# multiple values in a single field (For example "Austin, TX"), it is important
1456-
# that the line order is clear. The order of address lines should be "envelope
1457-
# order" for the country/region of the address. In places where this can vary (
1458-
# For example Japan), address_language is used to make it explicit (For example "
1459-
# ja" for large-to-small ordering and "ja-Latn" or "en" for small-to-large).
1460-
# This way, the most specific line of an address can be selected based on the
1461-
# language. The minimum permitted structural representation of an address
1462-
# consists of a region_code with all remaining information placed in the
1463-
# address_lines. It would be possible to format such an address very
1456+
# values in `address_lines` do not have type information and may sometimes
1457+
# contain multiple values in a single field (for example, "Austin, TX"), it is
1458+
# important that the line order is clear. The order of address lines should be "
1459+
# envelope order" for the country or region of the address. In places where this
1460+
# can vary (for example, Japan), `address_language` is used to make it explicit (
1461+
# for example, "ja" for large-to-small ordering and "ja-Latn" or "en" for small-
1462+
# to-large). In this way, the most specific line of an address can be selected
1463+
# based on the language. The minimum permitted structural representation of an
1464+
# address consists of a `region_code` with all remaining information placed in
1465+
# the `address_lines`. It would be possible to format such an address very
14641466
# approximately without geocoding, but no semantic reasoning could be made about
14651467
# any of the address components until it was at least partially resolved.
1466-
# Creating an address only containing a region_code and address_lines, and then
1467-
# geocoding is the recommended way to handle completely unstructured addresses (
1468-
# as opposed to guessing which parts of the address should be localities or
1469-
# administrative areas).
1468+
# Creating an address only containing a `region_code` and `address_lines` and
1469+
# then geocoding is the recommended way to handle completely unstructured
1470+
# addresses (as opposed to guessing which parts of the address should be
1471+
# localities or administrative areas).
14701472
# Corresponds to the JSON property `addressLines`
14711473
# @return [Array<String>]
14721474
attr_accessor :address_lines
14731475

14741476
# Optional. Highest administrative subdivision which is used for postal
14751477
# addresses of a country or region. For example, this can be a state, a province,
1476-
# an oblast, or a prefecture. Specifically, for Spain this is the province and
1477-
# not the autonomous community (For example "Barcelona" and not "Catalonia").
1478-
# Many countries don't use an administrative area in postal addresses. For
1479-
# example in Switzerland this should be left unpopulated.
1478+
# an oblast, or a prefecture. For Spain, this is the province and not the
1479+
# autonomous community (for example, "Barcelona" and not "Catalonia"). Many
1480+
# countries don't use an administrative area in postal addresses. For example,
1481+
# in Switzerland, this should be left unpopulated.
14801482
# Corresponds to the JSON property `administrativeArea`
14811483
# @return [String]
14821484
attr_accessor :administrative_area
@@ -1493,10 +1495,10 @@ class PostalAddress
14931495
# @return [String]
14941496
attr_accessor :language_code
14951497

1496-
# Optional. Generally refers to the city/town portion of the address. Examples:
1497-
# US city, IT comune, UK post town. In regions of the world where localities are
1498-
# not well defined or do not fit into this structure well, leave locality empty
1499-
# and use address_lines.
1498+
# Optional. Generally refers to the city or town portion of the address.
1499+
# Examples: US city, IT comune, UK post town. In regions of the world where
1500+
# localities are not well defined or do not fit into this structure well, leave `
1501+
# locality` empty and use `address_lines`.
15001502
# Corresponds to the JSON property `locality`
15011503
# @return [String]
15021504
attr_accessor :locality
@@ -1508,8 +1510,8 @@ class PostalAddress
15081510

15091511
# Optional. Postal code of the address. Not all countries use or require postal
15101512
# codes to be present, but where they are used, they may trigger additional
1511-
# validation with other parts of the address (For example state/zip validation
1512-
# in the U.S.A.).
1513+
# validation with other parts of the address (for example, state or zip code
1514+
# validation in the United States).
15131515
# Corresponds to the JSON property `postalCode`
15141516
# @return [String]
15151517
attr_accessor :postal_code
@@ -1538,15 +1540,15 @@ class PostalAddress
15381540

15391541
# Optional. Additional, country-specific, sorting code. This is not used in most
15401542
# regions. Where it is used, the value is either a string like "CEDEX",
1541-
# optionally followed by a number (For example "CEDEX 7"), or just a number
1543+
# optionally followed by a number (for example, "CEDEX 7"), or just a number
15421544
# alone, representing the "sector code" (Jamaica), "delivery area indicator" (
1543-
# Malawi) or "post office indicator" (For example Côte d'Ivoire).
1545+
# Malawi) or "post office indicator" (Côte d'Ivoire).
15441546
# Corresponds to the JSON property `sortingCode`
15451547
# @return [String]
15461548
attr_accessor :sorting_code
15471549

1548-
# Optional. Sublocality of the address. For example, this can be neighborhoods,
1549-
# boroughs, districts.
1550+
# Optional. Sublocality of the address. For example, this can be a neighborhood,
1551+
# borough, or district.
15501552
# Corresponds to the JSON property `sublocality`
15511553
# @return [String]
15521554
attr_accessor :sublocality

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module DomainsV1alpha2
1818
# Version of the google-apis-domains_v1alpha2 gem
19-
GEM_VERSION = "0.43.0"
19+
GEM_VERSION = "0.44.0"
2020

2121
# Version of the code generator used to generate this client
22-
GENERATOR_VERSION = "0.17.0"
22+
GENERATOR_VERSION = "0.18.0"
2323

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

generated/google-apis-domains_v1alpha2/lib/google/apis/domains_v1alpha2/service.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,9 @@ def get_project_location(name, fields: nil, quota_user: nil, options: nil, &bloc
8484
# Lists information about the supported locations for this service.
8585
# @param [String] name
8686
# The resource that owns the locations collection, if applicable.
87+
# @param [Array<String>, String] extra_location_types
88+
# Optional. Unless explicitly documented otherwise, don't use this unsupported
89+
# field which is primarily intended for internal usage.
8790
# @param [String] filter
8891
# A filter to narrow down results to a preferred subset. The filtering language
8992
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -111,11 +114,12 @@ def get_project_location(name, fields: nil, quota_user: nil, options: nil, &bloc
111114
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
112115
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
113116
# @raise [Google::Apis::AuthorizationError] Authorization is required
114-
def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
117+
def list_project_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
115118
command = make_simple_command(:get, 'v1alpha2/{+name}/locations', options)
116119
command.response_representation = Google::Apis::DomainsV1alpha2::ListLocationsResponse::Representation
117120
command.response_class = Google::Apis::DomainsV1alpha2::ListLocationsResponse
118121
command.params['name'] = name unless name.nil?
122+
command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil?
119123
command.query['filter'] = filter unless filter.nil?
120124
command.query['pageSize'] = page_size unless page_size.nil?
121125
command.query['pageToken'] = page_token unless page_token.nil?

0 commit comments

Comments
 (0)