class Google::Apis::PeopleV1::Location
A person's location.
Attributes
The building identifier. Corresponds to the JSON property `buildingId` @return [String]
Whether the location is the current location. Corresponds to the JSON property `current` @return [Boolean]
Whether the location is the current location. Corresponds to the JSON property `current` @return [Boolean]
The individual desk location. Corresponds to the JSON property `deskCode` @return [String]
The floor name or number. Corresponds to the JSON property `floor` @return [String]
The floor section in `floor_name`. Corresponds to the JSON property `floorSection` @return [String]
Metadata about a field. Corresponds to the JSON property `metadata` @return [Google::Apis::PeopleV1::FieldMetadata]
The type of the location. The type can be custom or one of these predefined values: * `desk` * `grewUp` Corresponds to the JSON property `type` @return [String]
The free-form value of the location. Corresponds to the JSON property `value` @return [String]
Public Class Methods
# File lib/google/apis/people_v1/classes.rb, line 1472 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/people_v1/classes.rb, line 1477 def update!(**args) @building_id = args[:building_id] if args.key?(:building_id) @current = args[:current] if args.key?(:current) @desk_code = args[:desk_code] if args.key?(:desk_code) @floor = args[:floor] if args.key?(:floor) @floor_section = args[:floor_section] if args.key?(:floor_section) @metadata = args[:metadata] if args.key?(:metadata) @type = args[:type] if args.key?(:type) @value = args[:value] if args.key?(:value) end