Resources.buildings: list

Requires authorization

Retrieves a list of buildings for an account. Try it now.

Request

HTTP request

GET https://www.googleapis.com/admin/directory/v1/customer/customer/resources/buildings

Parameters

Parameter name Value Description
Path parameters
customer string The unique ID for the customer's G Suite account. As an account administrator, you can also use the my_customer alias to represent your account's customer ID.
Optional query parameters
maxResults integer Maximum number of results to return. Acceptable values are 1 to 500, inclusive.
pageToken string Token to specify the next page in the list.

Authorization

This request requires authorization with at least one of the following scopes (read more about authentication and authorization).

Scope
https://www.googleapis.com/auth/admin.directory.resource.calendar.readonly
https://www.googleapis.com/auth/admin.directory.resource.calendar

Request body

Do not supply a request body with this method.

Response

If successful, this method returns a response body with the following structure:

{
  "kind": "admin#directory#resources#buildings#buildingsList",
  "etag": etag,
  "nextPageToken": string,
  "buildings": [
    resources.buildings Resource
  ]
}
Property name Value Description Notes
kind string Kind of resource this is.
etag etag ETag of the resource.
nextPageToken string The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.
buildings[] list The Buildings in this page of results.

Try it!

Use the APIs Explorer below to call this method on live data and see the response.