Class: Google::Apis::AddressvalidationV1::GoogleMapsAddressvalidationV1LanguageOptions

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/addressvalidation_v1/classes.rb,
lib/google/apis/addressvalidation_v1/representations.rb,
lib/google/apis/addressvalidation_v1/representations.rb

Overview

Preview: This feature is in Preview (pre-GA). Pre-GA products and features might have limited support, and changes to pre-GA products and features might not be compatible with other pre-GA versions. Pre-GA Offerings are covered by the Google Maps Platform Service Specific Terms. For more information, see the launch stage descriptions. Enables the Address Validation API to include additional information in the response.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleMapsAddressvalidationV1LanguageOptions

Returns a new instance of GoogleMapsAddressvalidationV1LanguageOptions.



380
381
382
# File 'lib/google/apis/addressvalidation_v1/classes.rb', line 380

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#return_english_latin_addressBoolean Also known as: return_english_latin_address?

Preview: Return a [google.maps.addressvalidation.v1.Address] in English. See [ google.maps.addressvalidation.v1.ValidationResult.english_latin_address] for details. Corresponds to the JSON property returnEnglishLatinAddress

Returns:

  • (Boolean)


377
378
379
# File 'lib/google/apis/addressvalidation_v1/classes.rb', line 377

def return_english_latin_address
  @return_english_latin_address
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



385
386
387
# File 'lib/google/apis/addressvalidation_v1/classes.rb', line 385

def update!(**args)
  @return_english_latin_address = args[:return_english_latin_address] if args.key?(:return_english_latin_address)
end