class Google::Apis::AdminDirectoryV1::Building

Public API: Resources.buildings

Attributes

address[RW]

Public API: Resources.buildings Corresponds to the JSON property `address` @return [Google::Apis::AdminDirectoryV1::BuildingAddress]

building_id[RW]

Unique identifier for the building. The maximum length is 100 characters. Corresponds to the JSON property `buildingId` @return [String]

building_name[RW]

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]

coordinates[RW]

Public API: Resources.buildings Corresponds to the JSON property `coordinates` @return [Google::Apis::AdminDirectoryV1::BuildingCoordinates]

description[RW]

A brief description of the building. For example, “Chelsea Market”. Corresponds to the JSON property `description` @return [String]

etags[RW]

ETag of the resource. Corresponds to the JSON property `etags` @return [String]

floor_names[RW]

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[RW]

Kind of resource this is. Corresponds to the JSON property `kind` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/admin_directory_v1/classes.rb, line 363
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 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