class Google::Apis::ContentV2_1::RegionPostalCodeAreaPostalCodeRange
A range of postal codes that defines the region area.
Attributes
Required. A postal code or a pattern of the form prefix* denoting the inclusive lower bound of the range defining the area. Examples values: “94108”, “9410*”, “9*”. Corresponds to the JSON property `begin` @return [String]
Optional. A postal code or a pattern of the form prefix* denoting the inclusive upper bound of the range defining the area. It must have the same length as postalCodeRangeBegin: if postalCodeRangeBegin is a postal code then postalCodeRangeEnd must be a postal code too; if postalCodeRangeBegin is a pattern then postalCodeRangeEnd must be a pattern with the same prefix length. Optional: if not set, then the area is defined as being all the postal codes matching postalCodeRangeBegin. Corresponds to the JSON property `end` @return [String]
Public Class Methods
# File lib/google/apis/content_v2_1/classes.rb, line 11988 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/content_v2_1/classes.rb, line 11993 def update!(**args) @begin = args[:begin] if args.key?(:begin) @end = args[:end] if args.key?(:end) end