Class: Google::Apis::PlusV1::Place
- Inherits:
-
Object
- Object
- Google::Apis::PlusV1::Place
- 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
Defined Under Namespace
Instance Attribute Summary collapse
-
#address ⇒ Google::Apis::PlusV1::Place::Address
The physical address of the place.
-
#display_name ⇒ String
The display name of the place.
-
#id ⇒ String
The id of the place.
-
#kind ⇒ String
Identifies this resource as a place.
-
#position ⇒ Google::Apis::PlusV1::Place::Position
The position of the place.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Place
constructor
A new instance of Place.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Place
Returns a new instance of Place
1996 1997 1998 |
# File 'generated/google/apis/plus_v1/classes.rb', line 1996 def initialize(**args) update!(**args) end |
Instance Attribute Details
#address ⇒ Google::Apis::PlusV1::Place::Address
The physical address of the place.
Corresponds to the JSON property address
1974 1975 1976 |
# File 'generated/google/apis/plus_v1/classes.rb', line 1974 def address @address end |
#display_name ⇒ String
The display name of the place.
Corresponds to the JSON property displayName
1979 1980 1981 |
# File 'generated/google/apis/plus_v1/classes.rb', line 1979 def display_name @display_name end |
#id ⇒ String
The id of the place.
Corresponds to the JSON property id
1984 1985 1986 |
# File 'generated/google/apis/plus_v1/classes.rb', line 1984 def id @id end |
#kind ⇒ String
Identifies this resource as a place. Value: "plus#place".
Corresponds to the JSON property kind
1989 1990 1991 |
# File 'generated/google/apis/plus_v1/classes.rb', line 1989 def kind @kind end |
#position ⇒ Google::Apis::PlusV1::Place::Position
The position of the place.
Corresponds to the JSON property position
1994 1995 1996 |
# File 'generated/google/apis/plus_v1/classes.rb', line 1994 def position @position end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2001 2002 2003 2004 2005 2006 2007 |
# File 'generated/google/apis/plus_v1/classes.rb', line 2001 def update!(**args) @address = args[:address] if args.key?(:address) @display_name = args[:display_name] if args.key?(:display_name) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @position = args[:position] if args.key?(:position) end |