Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -241024,6 +241024,7 @@
"/domains:v1alpha2/domains.projects.locations.get": get_project_location
"/domains:v1alpha2/domains.projects.locations.get/name": name
"/domains:v1alpha2/domains.projects.locations.list": list_project_locations
"/domains:v1alpha2/domains.projects.locations.list/extraLocationTypes": extra_location_types
"/domains:v1alpha2/domains.projects.locations.list/filter": filter
"/domains:v1alpha2/domains.projects.locations.list/name": name
"/domains:v1alpha2/domains.projects.locations.list/pageSize": page_size
Expand Down
5 changes: 5 additions & 0 deletions generated/google-apis-domains_v1alpha2/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Release history for google-apis-domains_v1alpha2

### v0.44.0 (2025-09-28)

* Regenerated from discovery document revision 20250918
* Regenerated using generator version 0.18.0

### v0.43.0 (2025-05-04)

* Regenerated using generator version 0.17.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -345,16 +345,17 @@ class Contact
# @return [String]
attr_accessor :phone_number

# 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
# Represents a postal address, such as for postal delivery or payments addresses.
# With a postal address, a postal service can deliver items to a premise, P.O.
# box, or similar. A postal address is not intended to model geographical
# locations like roads, towns, or 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 or 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::DomainsV1alpha2::PostalAddress]
attr_accessor :postal_address
Expand Down Expand Up @@ -1437,46 +1438,47 @@ def update!(**args)
end
end

# 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
# Represents a postal address, such as for postal delivery or payments addresses.
# With a postal address, a postal service can deliver items to a premise, P.O.
# box, or similar. A postal address is not intended to model geographical
# locations like roads, towns, or 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 or 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 (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
# values in `address_lines` do not have type information and may sometimes
# contain 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 or 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). In 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).
# 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 (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.
# an oblast, or a prefecture. For Spain, this is the province and 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 All @@ -1493,10 +1495,10 @@ class PostalAddress
# @return [String]
attr_accessor :language_code

# Optional. Generally refers to the city/town portion of the address. Examples:
# US city, IT comune, UK post town. In regions of the world where localities are
# not well defined or do not fit into this structure well, leave locality empty
# and use address_lines.
# Optional. Generally refers to the city or town portion of the address.
# Examples: US city, IT comune, UK post town. In regions of the world where
# localities are not well defined or do not fit into this structure well, leave `
# locality` empty and use `address_lines`.
# Corresponds to the JSON property `locality`
# @return [String]
attr_accessor :locality
Expand All @@ -1508,8 +1510,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 (For example state/zip validation
# in the U.S.A.).
# validation with other parts of the address (for example, state or zip code
# validation in the United States).
# Corresponds to the JSON property `postalCode`
# @return [String]
attr_accessor :postal_code
Expand Down Expand Up @@ -1538,15 +1540,15 @@ 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 (For example "CEDEX 7"), or just a number
# 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).
# Malawi) or "post office indicator" (Côte d'Ivoire).
# Corresponds to the JSON property `sortingCode`
# @return [String]
attr_accessor :sorting_code

# Optional. Sublocality of the address. For example, this can be neighborhoods,
# boroughs, districts.
# Optional. Sublocality of the address. For example, this can be a neighborhood,
# borough, or district.
# Corresponds to the JSON property `sublocality`
# @return [String]
attr_accessor :sublocality
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module DomainsV1alpha2
# Version of the google-apis-domains_v1alpha2 gem
GEM_VERSION = "0.43.0"
GEM_VERSION = "0.44.0"

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

# Revision of the discovery document this client was generated from
REVISION = "20250225"
REVISION = "20250918"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ def get_project_location(name, fields: nil, quota_user: nil, options: nil, &bloc
# Lists information about the supported locations for this service.
# @param [String] name
# The resource that owns the locations collection, if applicable.
# @param [Array<String>, String] extra_location_types
# Optional. Unless explicitly documented otherwise, don't use this unsupported
# field which is primarily intended for internal usage.
# @param [String] filter
# A filter to narrow down results to a preferred subset. The filtering language
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
Expand Down Expand Up @@ -111,11 +114,12 @@ def get_project_location(name, fields: nil, quota_user: nil, options: nil, &bloc
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
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)
command = make_simple_command(:get, 'v1alpha2/{+name}/locations', options)
command.response_representation = Google::Apis::DomainsV1alpha2::ListLocationsResponse::Representation
command.response_class = Google::Apis::DomainsV1alpha2::ListLocationsResponse
command.params['name'] = name unless name.nil?
command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil?
command.query['filter'] = filter unless filter.nil?
command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil?
Expand Down
Loading