Skip to content

Commit

Permalink
feat: Automated regeneration of domains v1 client (#21120)
Browse files Browse the repository at this point in the history
Auto-created at 2024-12-22 10:10:57 +0000 using the toys pull request generator.
  • Loading branch information
yoshi-code-bot authored Dec 22, 2024
1 parent d8c5e04 commit 0ca42c1
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 44 deletions.
4 changes: 4 additions & 0 deletions generated/google-apis-domains_v1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release history for google-apis-domains_v1

### v0.30.0 (2024-12-22)

* Regenerated from discovery document revision 20241209

### v0.29.0 (2024-08-11)

* Regenerated from discovery document revision 20240724
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -345,16 +345,16 @@ class Contact
# @return [String]
attr_accessor :phone_number

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

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

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

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

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

# Optional. Additional, country-specific, sorting code. This is not used in most
# regions. Where it is used, the value is either a string like "CEDEX",
# optionally followed by a number (e.g. "CEDEX 7"), or just a number alone,
# representing the "sector code" (Jamaica), "delivery area indicator" (Malawi)
# or "post office indicator" (e.g. Côte d'Ivoire).
# optionally followed by a number (For example "CEDEX 7"), or just a number
# alone, representing the "sector code" (Jamaica), "delivery area indicator" (
# Malawi) or "post office indicator" (For example Côte d'Ivoire).
# Corresponds to the JSON property `sortingCode`
# @return [String]
attr_accessor :sorting_code
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module DomainsV1
# Version of the google-apis-domains_v1 gem
GEM_VERSION = "0.29.0"
GEM_VERSION = "0.30.0"

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

# Revision of the discovery document this client was generated from
REVISION = "20240724"
REVISION = "20241209"
end
end
end

0 comments on commit 0ca42c1

Please sign in to comment.