WorkingLocation

Represents a working location setting in Google Calendar.

JSON representation
{

  // Union field location can be only one of the following:
  "noLocation": {
    object (NoLocation)
  },
  "home": {
    object (HomeLocation)
  },
  "custom": {
    object (CustomLocation)
  },
  "officeLocation": {
    object (OfficeLocation)
  }
  // End of list of possible types for union field location.
}
Fields

Union field location.

location can be only one of the following:

noLocation

object (NoLocation)

Working location is not specified.

home

object (HomeLocation)

Working location is set to "Home".

custom

object (CustomLocation)

Working location is set to a free-form, custom location.

officeLocation

object (OfficeLocation)

Working location is set to a structured office or office-like location.

NoLocation

Specifies that no working location is set. Updating a working location with this field removes any previous working location setting for the date.

HomeLocation

Specifies working at "Home" with no other details provided.

CustomLocation

Specifies a free-form, custom location.

JSON representation
{
  "location": string
}
Fields
location

string

A string that defines the custom working location. Limit: 1024 bytes.

OfficeLocation

Specifies a structured office or office-like location.

JSON representation
{
  "building": string,
  "floor": string,
  "floorSection": string,
  "desk": string,
  "label": string
}
Fields
building

string

References a building. For example, "CH-ZRH-EURA1".

We recommend using resources.buildings, if the organization uses that booking scheme.

floor

string

The floor. For example, "5".

floorSection

string

The floor section. For example, "B".

desk

string

The desk. For example, "5B14B".

label

string

The display label of this office location. For example, a building name.