Class: Google::Apis::PlusV1::Place::Address

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

Overview

The physical address of the place.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Address

Returns a new instance of Address.



2018
2019
2020
# File 'generated/google/apis/plus_v1/classes.rb', line 2018

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

Instance Attribute Details

#formattedString

The formatted address for display. Corresponds to the JSON property formatted

Returns:

  • (String)


2016
2017
2018
# File 'generated/google/apis/plus_v1/classes.rb', line 2016

def formatted
  @formatted
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2023
2024
2025
# File 'generated/google/apis/plus_v1/classes.rb', line 2023

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