Skip to content

Commit fe40d07

Browse files
feat: Automated regeneration of merchantapi accounts_v1beta client (googleapis#22206)
Auto-created at 2025-03-23 10:34:30 +0000 using the toys pull request generator.
1 parent ece7a61 commit fe40d07

File tree

3 files changed

+48
-44
lines changed

3 files changed

+48
-44
lines changed

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

3+
### v0.8.0 (2025-03-23)
4+
5+
* Regenerated from discovery document revision 20250319
6+
37
### v0.7.0 (2025-03-16)
48

59
* Regenerated from discovery document revision 20250311

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

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -600,16 +600,16 @@ def update!(**args)
600600
class BusinessInfo
601601
include Google::Apis::Core::Hashable
602602

603-
# Represents a postal address. For example for postal delivery or payments
604-
# addresses. Given a postal address, a postal service can deliver items to a
605-
# premise, P.O. Box or similar. It is not intended to model geographical
606-
# locations (roads, towns, mountains). In typical usage an address would be
603+
# Represents a postal address (for example, for postal delivery or payments
604+
# addresses). Given a postal address, a postal service can deliver items to a
605+
# premise, P.O. box or similar. It is not intended to model geographical
606+
# locations (roads, towns, mountains). In typical usage, an address would be
607607
# created by user input or from importing existing data, depending on the type
608-
# of process. Advice on address input / editing: - Use an internationalization-
609-
# ready address widget such as https://github.com/google/libaddressinput) -
608+
# of process. Advice on address input or editing: - Use an internationalization-
609+
# ready address widget such as https://github.com/google/libaddressinput. -
610610
# Users should not be presented with UI elements for input or editing of fields
611611
# outside countries where that field is used. For more guidance on how to use
612-
# this schema, see: https://support.google.com/business/answer/6397478
612+
# this schema, see: https://support.google.com/business/answer/6397478.
613613
# Corresponds to the JSON property `address`
614614
# @return [Google::Apis::MerchantapiAccountsV1beta::PostalAddress]
615615
attr_accessor :address
@@ -1939,46 +1939,46 @@ def update!(**args)
19391939
end
19401940
end
19411941

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

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

19761976
# Optional. Highest administrative subdivision which is used for postal
19771977
# addresses of a country or region. For example, this can be a state, a province,
1978-
# an oblast, or a prefecture. Specifically, for Spain this is the province and
1979-
# not the autonomous community (For example "Barcelona" and not "Catalonia").
1980-
# Many countries don't use an administrative area in postal addresses. For
1981-
# example in Switzerland this should be left unpopulated.
1978+
# an oblast, or a prefecture. For Spain, this is the province and not the
1979+
# autonomous community (for example, "Barcelona" and not "Catalonia"). Many
1980+
# countries don't use an administrative area in postal addresses. For example,
1981+
# in Switzerland, this should be left unpopulated.
19821982
# Corresponds to the JSON property `administrativeArea`
19831983
# @return [String]
19841984
attr_accessor :administrative_area
@@ -1995,10 +1995,10 @@ class PostalAddress
19951995
# @return [String]
19961996
attr_accessor :language_code
19971997

1998-
# Optional. Generally refers to the city/town portion of the address. Examples:
1999-
# US city, IT comune, UK post town. In regions of the world where localities are
2000-
# not well defined or do not fit into this structure well, leave locality empty
2001-
# and use address_lines.
1998+
# Optional. Generally refers to the city or town portion of the address.
1999+
# Examples: US city, IT comune, UK post town. In regions of the world where
2000+
# localities are not well defined or do not fit into this structure well, leave `
2001+
# locality` empty and use `address_lines`.
20022002
# Corresponds to the JSON property `locality`
20032003
# @return [String]
20042004
attr_accessor :locality
@@ -2010,8 +2010,8 @@ class PostalAddress
20102010

20112011
# Optional. Postal code of the address. Not all countries use or require postal
20122012
# codes to be present, but where they are used, they may trigger additional
2013-
# validation with other parts of the address (For example state/zip validation
2014-
# in the U.S.A.).
2013+
# validation with other parts of the address (for example, state or zip code
2014+
# validation in the United States).
20152015
# Corresponds to the JSON property `postalCode`
20162016
# @return [String]
20172017
attr_accessor :postal_code
@@ -2040,15 +2040,15 @@ class PostalAddress
20402040

20412041
# Optional. Additional, country-specific, sorting code. This is not used in most
20422042
# regions. Where it is used, the value is either a string like "CEDEX",
2043-
# optionally followed by a number (For example "CEDEX 7"), or just a number
2043+
# optionally followed by a number (for example, "CEDEX 7"), or just a number
20442044
# alone, representing the "sector code" (Jamaica), "delivery area indicator" (
2045-
# Malawi) or "post office indicator" (For example Côte d'Ivoire).
2045+
# Malawi) or "post office indicator" (Côte d'Ivoire).
20462046
# Corresponds to the JSON property `sortingCode`
20472047
# @return [String]
20482048
attr_accessor :sorting_code
20492049

2050-
# Optional. Sublocality of the address. For example, this can be neighborhoods,
2051-
# boroughs, districts.
2050+
# Optional. Sublocality of the address. For example, this can be a neighborhood,
2051+
# borough, or district.
20522052
# Corresponds to the JSON property `sublocality`
20532053
# @return [String]
20542054
attr_accessor :sublocality

generated/google-apis-merchantapi_accounts_v1beta/lib/google/apis/merchantapi_accounts_v1beta/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 MerchantapiAccountsV1beta
1818
# Version of the google-apis-merchantapi_accounts_v1beta gem
19-
GEM_VERSION = "0.7.0"
19+
GEM_VERSION = "0.8.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 = "20250311"
25+
REVISION = "20250319"
2626
end
2727
end
2828
end

0 commit comments

Comments
 (0)