class Google::Apis::StreetviewpublishV1::Place

Place metadata for an entity.

Attributes

language_code[RW]

Output-only. The language_code that the name is localized with. This should be the language_code specified in the request, but may be a fallback. Corresponds to the JSON property `languageCode` @return [String]

name[RW]

Output-only. The name of the place, localized to the language_code. Corresponds to the JSON property `name` @return [String]

place_id[RW]

Place identifier, as described in developers.google.com/places/place- id. Corresponds to the JSON property `placeId` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/streetviewpublish_v1/classes.rb, line 471
def update!(**args)
  @language_code = args[:language_code] if args.key?(:language_code)
  @name = args[:name] if args.key?(:name)
  @place_id = args[:place_id] if args.key?(:place_id)
end