class Google::Apis::AdminDirectoryV1::UserLocation

JSON template for a location entry.

Attributes

area[RW]

Textual location. This is most useful for display purposes to concisely describe the location. For example 'Mountain View, CA', 'Near Seattle', 'US- NYC-9TH 9A209A.'' Corresponds to the JSON property `area` @return [String]

building_id[RW]

Building Identifier. Corresponds to the JSON property `buildingId` @return [String]

custom_type[RW]

Custom Type. Corresponds to the JSON property `customType` @return [String]

desk_code[RW]

Most specific textual code of individual desk location. Corresponds to the JSON property `deskCode` @return [String]

floor_name[RW]

Floor name/number. Corresponds to the JSON property `floorName` @return [String]

floor_section[RW]

Floor section. More specific location within the floor. For example if a floor is divided into sections 'A', 'B' and 'C' this field would identify one of those values. Corresponds to the JSON property `floorSection` @return [String]

type[RW]

Each entry can have a type which indicates standard types of that entry. For example location could be of types default and desk. In addition to standard type an entry can have a custom type and can give it any name. Such types should have 'custom' as type and also have a customType value. Corresponds to the JSON property `type` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/admin_directory_v1/classes.rb, line 4357
def update!(**args)
  @area = args[:area] if args.key?(:area)
  @building_id = args[:building_id] if args.key?(:building_id)
  @custom_type = args[:custom_type] if args.key?(:custom_type)
  @desk_code = args[:desk_code] if args.key?(:desk_code)
  @floor_name = args[:floor_name] if args.key?(:floor_name)
  @floor_section = args[:floor_section] if args.key?(:floor_section)
  @type = args[:type] if args.key?(:type)
end