Skip to content

Commit fdca340

Browse files
feat: Automated regeneration of domains v1beta1 client (googleapis#21078)
Auto-created at 2024-12-15 10:45:01 +0000 using the toys pull request generator.
1 parent 2990c66 commit fdca340

File tree

3 files changed

+49
-44
lines changed

3 files changed

+49
-44
lines changed

generated/google-apis-domains_v1beta1/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-domains_v1beta1
22

3+
### v0.41.0 (2024-12-15)
4+
5+
* Regenerated from discovery document revision 20241209
6+
37
### v0.40.0 (2024-12-02)
48

59
* Regenerated from discovery document revision 20240724

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

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

348-
# Represents a postal address, e.g. for postal delivery or payments addresses.
349-
# Given a postal address, a postal service can deliver items to a premise, P.O.
350-
# Box or similar. It is not intended to model geographical locations (roads,
351-
# towns, mountains). In typical usage an address would be created via user input
352-
# or from importing existing data, depending on the type of process. Advice on
353-
# address input / editing: - Use an internationalization-ready address widget
354-
# such as https://github.com/google/libaddressinput) - Users should not be
355-
# presented with UI elements for input or editing of fields outside countries
356-
# where that field is used. For more guidance on how to use this schema, please
357-
# see: https://support.google.com/business/answer/6397478
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
358358
# Corresponds to the JSON property `postalAddress`
359359
# @return [Google::Apis::DomainsV1beta1::PostalAddress]
360360
attr_accessor :postal_address
@@ -1435,45 +1435,46 @@ def update!(**args)
14351435
end
14361436
end
14371437

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

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

14711472
# Optional. Highest administrative subdivision which is used for postal
14721473
# addresses of a country or region. For example, this can be a state, a province,
14731474
# an oblast, or a prefecture. Specifically, for Spain this is the province and
1474-
# not the autonomous community (e.g. "Barcelona" and not "Catalonia"). Many
1475-
# countries don't use an administrative area in postal addresses. E.g. in
1476-
# Switzerland this should be left unpopulated.
1475+
# not the autonomous community (For example "Barcelona" and not "Catalonia").
1476+
# Many countries don't use an administrative area in postal addresses. For
1477+
# example in Switzerland this should be left unpopulated.
14771478
# Corresponds to the JSON property `administrativeArea`
14781479
# @return [String]
14791480
attr_accessor :administrative_area
@@ -1505,8 +1506,8 @@ class PostalAddress
15051506

15061507
# Optional. Postal code of the address. Not all countries use or require postal
15071508
# codes to be present, but where they are used, they may trigger additional
1508-
# validation with other parts of the address (e.g. state/zip validation in the U.
1509-
# S.A.).
1509+
# validation with other parts of the address (For example state/zip validation
1510+
# in the U.S.A.).
15101511
# Corresponds to the JSON property `postalCode`
15111512
# @return [String]
15121513
attr_accessor :postal_code
@@ -1535,9 +1536,9 @@ class PostalAddress
15351536

15361537
# Optional. Additional, country-specific, sorting code. This is not used in most
15371538
# regions. Where it is used, the value is either a string like "CEDEX",
1538-
# optionally followed by a number (e.g. "CEDEX 7"), or just a number alone,
1539-
# representing the "sector code" (Jamaica), "delivery area indicator" (Malawi)
1540-
# or "post office indicator" (e.g. Côte d'Ivoire).
1539+
# optionally followed by a number (For example "CEDEX 7"), or just a number
1540+
# alone, representing the "sector code" (Jamaica), "delivery area indicator" (
1541+
# Malawi) or "post office indicator" (For example Côte d'Ivoire).
15411542
# Corresponds to the JSON property `sortingCode`
15421543
# @return [String]
15431544
attr_accessor :sorting_code

generated/google-apis-domains_v1beta1/lib/google/apis/domains_v1beta1/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 DomainsV1beta1
1818
# Version of the google-apis-domains_v1beta1 gem
19-
GEM_VERSION = "0.40.0"
19+
GEM_VERSION = "0.41.0"
2020

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

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

0 commit comments

Comments
 (0)