class Google::Apis::AdminDirectoryV1::Building
Public API: Resources.buildings
Attributes
Public API: Resources.buildings Corresponds to the JSON property `address` @return [Google::Apis::AdminDirectoryV1::BuildingAddress]
Unique identifier for the building. The maximum length is 100 characters. Corresponds to the JSON property `buildingId` @return [String]
The building name as seen by users in Calendar. Must be unique for the customer. For example, “NYC-CHEL”. The maximum length is 100 characters. Corresponds to the JSON property `buildingName` @return [String]
Public API: Resources.buildings Corresponds to the JSON property `coordinates` @return [Google::Apis::AdminDirectoryV1::BuildingCoordinates]
A brief description of the building. For example, “Chelsea Market”. Corresponds to the JSON property `description` @return [String]
The display names for all floors in this building. The floors are expected to be sorted in ascending order, from lowest floor to highest floor. For example,
- “B2”, “B1”, “L”, “1”, “2”, “2M”, “3”, “PH”
-
Must contain at least one entry.
Corresponds to the JSON property `floorNames` @return [Array<String>]
Kind of resource this is. Corresponds to the JSON property `kind` @return [String]
Public Class Methods
# File lib/google/apis/admin_directory_v1/classes.rb, line 363 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/admin_directory_v1/classes.rb, line 368 def update!(**args) @address = args[:address] if args.key?(:address) @building_id = args[:building_id] if args.key?(:building_id) @building_name = args[:building_name] if args.key?(:building_name) @coordinates = args[:coordinates] if args.key?(:coordinates) @description = args[:description] if args.key?(:description) @etags = args[:etags] if args.key?(:etags) @floor_names = args[:floor_names] if args.key?(:floor_names) @kind = args[:kind] if args.key?(:kind) end