class Google::Apis::StreetviewpublishV1::Level

Level information containing level number and its corresponding name.

Attributes

name[RW]

Required. A name assigned to this Level, restricted to 3 characters. Consider how the elevator buttons would be labeled for this level if there was an elevator. Corresponds to the JSON property `name` @return [String]

number[RW]

Floor number, used for ordering. 0 indicates the ground level, 1 indicates the first level above ground level, -1 indicates the first level under ground level. Non-integer values are OK. Corresponds to the JSON property `number` @return [Float]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/streetviewpublish_v1/classes.rb, line 206
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 211
def update!(**args)
  @name = args[:name] if args.key?(:name)
  @number = args[:number] if args.key?(:number)
end