class Google::Apis::ContentV2_1::RegionPostalCodeArea
A list of postal codes that defines the region area. Note: All regions defined using postal codes are accessible via the account's `ShippingSettings. postalCodeGroups` resource.
Attributes
postal_codes[RW]
Required. A range of postal codes. Corresponds to the JSON property `postalCodes` @return [Array<Google::Apis::ContentV2_1::RegionPostalCodeAreaPostalCodeRange>]
region_code[RW]
Required. CLDR territory code or the country the postal code group applies to. Corresponds to the JSON property `regionCode` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/content_v2_1/classes.rb, line 11955 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/content_v2_1/classes.rb, line 11960 def update!(**args) @postal_codes = args[:postal_codes] if args.key?(:postal_codes) @region_code = args[:region_code] if args.key?(:region_code) end