class Google::Apis::ContentV2_1::AccountAddress
Attributes
CLDR country code (e.g. “US”). All MCA sub-accounts inherit the country of their parent MCA by default, however the country can be updated for individual sub-accounts. Corresponds to the JSON property `country` @return [String]
City, town or commune. May also include dependent localities or sublocalities ( e.g. neighborhoods or suburbs). Corresponds to the JSON property `locality` @return [String]
Postal code or ZIP (e.g. “94043”). Corresponds to the JSON property `postalCode` @return [String]
Top-level administrative subdivision of the country. For example, a state like California (“CA”) or a province like Quebec (“QC”). Corresponds to the JSON property `region` @return [String]
Street-level part of the address. Corresponds to the JSON property `streetAddress` @return [String]
Public Class Methods
# File lib/google/apis/content_v2_1/classes.rb, line 176 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/content_v2_1/classes.rb, line 181 def update!(**args) @country = args[:country] if args.key?(:country) @locality = args[:locality] if args.key?(:locality) @postal_code = args[:postal_code] if args.key?(:postal_code) @region = args[:region] if args.key?(:region) @street_address = args[:street_address] if args.key?(:street_address) end