@@ -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
0 commit comments