class Google::Apis::PlusV1::Place

Attributes

address[RW]

The physical address of the place. Corresponds to the JSON property `address` @return [Google::Apis::PlusV1::Place::Address]

display_name[RW]

The display name of the place. Corresponds to the JSON property `displayName` @return [String]

id[RW]

The id of the place. Corresponds to the JSON property `id` @return [String]

kind[RW]

Identifies this resource as a place. Value: “plus#place”. Corresponds to the JSON property `kind` @return [String]

position[RW]

The position of the place. Corresponds to the JSON property `position` @return [Google::Apis::PlusV1::Place::Position]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/plus_v1/classes.rb, line 1996
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# 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