GoogleApi.Admin.Directory_v1.Model.Building (google_api_admin v0.35.0) View Source

Public API: Resources.buildings


  • address (type: GoogleApi.Admin.Directory_v1.Model.BuildingAddress.t, default: nil) - The postal address of the building. See PostalAddress for details. Note that only a single address line and region code are required.
  • buildingId (type: String.t, default: nil) - Unique identifier for the building. The maximum length is 100 characters.
  • buildingName (type: String.t, default: nil) - 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.
  • coordinates (type: GoogleApi.Admin.Directory_v1.Model.BuildingCoordinates.t, default: nil) - The geographic coordinates of the center of the building, expressed as latitude and longitude in decimal degrees.
  • description (type: String.t, default: nil) - A brief description of the building. For example, "Chelsea Market".
  • etags (type: String.t, default: nil) - ETag of the resource.
  • floorNames (type: list(String.t), default: nil) - 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.
  • kind (type: String.t, default: admin#directory#resources#buildings#Building) - Kind of resource this is.

Link to this section Summary


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


t() :: %GoogleApi.Admin.Directory_v1.Model.Building{
  address: GoogleApi.Admin.Directory_v1.Model.BuildingAddress.t() | nil,
  buildingId: String.t() | nil,
  buildingName: String.t() | nil,
  coordinates: GoogleApi.Admin.Directory_v1.Model.BuildingCoordinates.t() | nil,
  description: String.t() | nil,
  etags: String.t() | nil,
  floorNames: [String.t()] | nil,
  kind: String.t() | nil

Link to this section Functions


decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.